Home Accessibility Courses Twitter The Mouth Facebook Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))

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
4404Which (virtual) host was visited? Tuning Apache log files, and Python analysis
We host a number of domains on our main server, and in order to avoid fragmentation of log files, we keep a sinle composite log. Rather than use a standard logfile format henceforth, I've changed the second field to carry the virtual host name accessed for the request, as that was missing up until this ...
2015-01-23
 
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 [here].
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,Ruby, Lua, 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.


You can Add a comment or ranking to this page

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

PAGE: http://www.wellho.info/resources/A604.html • PAGE BUILT: Sun Oct 11 14:50:09 2020 • BUILD SYSTEM: JelliaJamb