From this page you can set up your server to answer requests for two URL
hosts. For example, you can serve different pages for both
http://www.a.com/
and http://www.b.com/
from your
single running server.
There are two ways to make one machine serve documents from more than
one URL hostname. One method requires you to configure your machine to
listen to more than one physical IP address (so we call it a hardware
solution).
The software solution requires web browsers such as Netscape Navigator to send an extra header along with their requests. This header tells the server which URL hostname is being accessed. The server then uses the header to determine which URL the browser software was accessing. Because this solution uses features of the client software to create more than one URL host, we call it software virtual servers.
When you use software virtual servers, you must create a default home page for browsers which don't send the extra header with their requests. This page should list every virtual server on your site for the user to pick. As time goes on and people upgrade their browsers, this page will be accessed less and less.
Note also that this page only sets the top-level page, or home page,
for each virtual server. When people are accessing
"http://www.a.com/"
, they will get a different page than
when they get "http://www.b.com/"
. However this does not
apply for any URLs below that. That is,
"http://www.a.com/foobar"
and
"http://www.b.com/foobar"
will be the same. Because of
this we suggest you structure your URLs so that each server's unique
pages have an identifying prefix. In this example, you could have all
of site A's documents reside as
"http://www.a.com/company-a/something"
and all of site B's
documents reside as
"http://www.b.com/company-b/something"
.
www.a.com
Enter here the filesystem path to the home page you want to assign to
this virtual server. If the filesystem path is a full path, it refers
to the specified document. If it is a partial path, such as
company-a/index.html
, it will be interpreted relative to
your primary document directory.