Setting Up Software Virtual Servers - Sun Microsystems Netscape Enterprise Server Administrator's Manual

Table of Contents

Advertisement

Setting up Software Virtual Servers

When you do this, the executable removes all the NameTrans directives, for
individual hardware virtual servers, from the obj.conf file that corresponds to
the config directory server_root /http- server-id , and replaces them
with corresponding directives in a virtual.conf file, located in the same
directory. It also references the virtual.conf file from the magnus.conf. file in
the server_root /https- server-id/ config/ directory, and removes
addresses that are found in the magnus.conf file.
To use the Server Manager for the hardware virtual servers that are uses with
ISPs, see the section "Setting Up Hardware Virtual Servers for ISPs" on
page 319.
Setting up Software Virtual Servers
Setting up a software virtual server enables you to host several web sites on
one computer without needing to have more than one IP address on it. For
example, you can set up your system so that both www.mozilla.com and
www.netscape.com resolve to 192.3.4.5, then set up software virtual servers
to handle both server names (for example, http://www.mozilla.com/ and
http://www.netscape.com).
The server can respond to requests differently depending upon the URL, even
though the server only has one IP address. For example, one server can serve
different pages for http://www.mozilla.com/ and
http://www.netscape.com.
The following example shows how software virtual servers might be used. An
Internet service provider (ISP) installs a web server and then wants to set up a
software virtual server for each of its customers (for example, customers aaa,
bbb, and ccc) so that each customer can have an individual domain name.
The ISP first configures DNS to recognize that a customer's URL,
www.aaa.com, resolves to the ISP's IP address. The ISP then creates a
subdirectory for each company (aaa, bbb, and ccc) in the document root.
These subdirectories contain the files for that company, including the home
page, aaa/home.html. Next the ISP sets up software virtual servers. The URL
host would be www.aaa.com and the home page would be
aaa/home.html. The ISP would do this for all the companies.
322 Netscape Enterprise Server Administrator's Guide

Advertisement

Table of Contents
loading

Table of Contents