Virtual Hosts


Use this page to set up the Jeeves server to serve different web pages for multiple hosts running on the same server. For example, suppose you administer a Jeeves server called www.webserver.com that acts as a web server for multiple subscribers, such as Acme and Galaxy. Ordinarily you might access Acme's home page using the URL: http://www.webserver.com/Acme/ and Galaxy's home page using the URL: http//www.webserver.com/Galaxy/. However, Acme and Galaxy each have their own internet name registrations (acme.com and galaxy.org, respectively), and they would like to provide access to their home pages under their own domain names, rather than under the name of the web server. Acme and Galaxy have arranged with a lookup service (such as Internic) to route requests for www.acme.com and www.galaxy.org to the same IP address as www.webserver.com. You can assign each subscriber a virtual host name and location on the web server. The URL for Acme's home page becomes: http//www.acme.com/, and the URL for Galaxy's home page becomes: http://www.galaxy.org/. Each URL points to a different location on the same web server.

For Jeeves Alpha2, the following temporary restrictions apply:

These restrictions will be eliminated in a later release.

Host
The fully qualified system name of the host that you want to set up on the server, for example, acme.com or galaxy.org.

Document Root
The primary document directory (for example, /home/acme/) that contains the documents you want to serve for this host.

To add a new entry to the list:

  1. In the Host field, enter the system name of the host.
  2. In the Document Root field, enter the full pathname of the primary document directory for this host.
  3. Click Add.

To edit an entry in the list:

  1. Select the entry you want to edit.
  2. Edit the fields as necessary.
  3. Click Modify.

To delete an entry from the list:

  1. Select the entry you want to delete.
  2. Click Delete.

jeeves@java.sun.com
Last modified: 11/11/96