Setting up Software Virtual Servers
322
Netscape Enterprise Server Administrator’s Guide
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.
Summary of Contents for Netscape Enterprise Server
Page 30: ...Contacting Technical Support 30 Netscape Enterprise Server Administrator s Guide ...
Page 32: ...32 Netscape Enterprise Server Administrator s Guide ...
Page 56: ...Sending Error Information to Netscape 56 Netscape Enterprise Server Administrator s Guide ...
Page 66: ...66 Netscape Enterprise Server Administrator s Guide ...
Page 112: ...Managing a Preferred Language List 112 Netscape Enterprise Server Administrator s Guide ...
Page 158: ...158 Netscape Enterprise Server Administrator s Guide ...
Page 182: ...Using the Watchdog uxwdog Process Unix 182 Netscape Enterprise Server Administrator s Guide ...
Page 196: ...Viewing Events Windows NT 196 Netscape Enterprise Server Administrator s Guide ...
Page 218: ...Enabling the Subagent 218 Netscape Enterprise Server Administrator s Guide ...
Page 266: ...266 Netscape Enterprise Server Administrator s Guide ...
Page 302: ...Enabling WAI Services 302 Netscape Enterprise Server Administrator s Guide ...
Page 310: ...310 Netscape Enterprise Server Administrator s Guide ...
Page 446: ...Customizing the Search Interface 446 Netscape Enterprise Server Administrator s Guide ...
Page 448: ...448 Netscape Enterprise Server Administrator s Guide ...
Page 454: ...Responses 454 Netscape Enterprise Server Administrator s Guide ...
Page 464: ...Referencing ACL Files in obj conf 464 Netscape Enterprise Server Administrator s Guide ...
Page 504: ...504 Netscape Enterprise Server Administrator s Guide ...