Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact

Well House Consultants
You are on the site of Well House Consultants who provide Open Source Training Courses and business hotel accommodation. You are welcome to browse and use our resources subject to our copyright statement and to add in links from your pages to ours.
Other subject areas - resources
Java Resources
Well House Manor Resources
Perl Resources
Python Resources
PHP Resources
Object Orientation and General topics
MySQL Resources
Linux / LAMP / Tomcat Resources
Well House Consultants Resources
Extras Resources
C and C++ Resources
Ruby Resources
Tcl/Tk Resources
Web and Intranet Resources
Web Application Deployment module A604
Apache httpd - virtual hosts
Exercises, examples and other material relating to training module A604. This topic is presented on public courses Deploying Apache and Tomcat, Deploying Java Applications on Linux / Unix

Background
How to use Apache httpd to host more than one web site on a single server. With just one copy of httpd, you can serve hundreds of sites!
Related technical and longer articles
Multiple domains on a single web server

Articles and tips on this subjectupdated
3568Telling which ServerAlias your visitor used - useful during merging domains
Someone tells you a website to visit - "go to wellhousemanor.co.uk" they say. And you'll naturally add "www." in front of it, calling up www.wellhousemanor.co.uk rather than wellhousemanor.co.uk ... or perhaps you won't. Web servers are normally set up by default to respond to a single specific host ...
2012-01-07
 
3132Virtual Hosting with Apache http server - an overall scheme, and avoiding common pitfalls
During many of our courses, I write code snippet examples and add them to our website so that the delegates can refer back to them later - and they also form an ongoing resource for others who happen to be looking for examples. But on our Linux Web Server (LAMP) courses, there's far less original code ...
2011-01-14
 
1896Virtual Hosts and Virtual Servers
Do you want to use a single computer to host many different web sites? There are no less than four quite common ways of doing this - each of which has its advantages and disadvantages. At the top left of my diagram, you have virtual hosting. In this arrangement, all the domains hosted on a single ...
2008-11-24
 
1687Virtual Hosting on Apache httpd - a primer example
A single web server computer, running a single Apache httpd daemon, can serve many domains through virtual hosting - usually "named virtual hosting" which allows a single IP address to be used for all the different domains. Here is how it works ... • you set up all your defaults in the main httpd.conf ...
2008-06-25
 
690Adding Virtual Hosts
If you're running your own server and want to look after multiple domains, you can easily do so using Apache httpd's Virtual Hosting. It's as easy as 1-2-3-4 ... 1. Create new host names in your DNS 2. Create home directories and a test index.html 3. Set up virtual hosts in httpd.conf (redhat) or vhosts.xxxx.conf ...
2006-06-05
 
Examples from our training material
vh   Virtual hosts - a simple structure
vhost.snowdrop.conf   Virtual host sample - snowflake, snowdrop and raindrop
vhost_withnote   Virtual Hosting - sample template for many-domain system
vhosts_proxy.conf   Virtual Hosting Example with forwarding to Tomcat
Background information
Some modules are available for download as a sample of our material or under an Open Training Notes License for free download from http://www.training-notes.co.uk.
Topics covered in this module
Virtual Hosts
Setting up so the browser can see multiple hosts
Configuring virtual hosts
Complete learning
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule page.

Well House Consultants specialise in training courses in Linux and LAMP,Python, Perl, PHP, and MySQL. We run Private Courses throughout the UK (and beyond for longer courses), and Public Courses at our training centre in Melksham, Wiltshire, England. It's surprisingly cost effective to come on our public courses - even if you live in a different country or continent to us.

We have a technical library of over 700 books on the subjects on which we teach. These books are available for reference at our training centre. Also available is the Opentalk Forum for discussion of technical questions.


You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho

PAGE: http://www.wellho.net/resources/A604.html • PAGE BUILT: Thu Sep 18 11:03:17 2014 • BUILD SYSTEM: WomanWithCat