Webmaster in a Nutshell, Third Edition

Team-Fly    

 
Webmaster in a Nutshell, 3rd Edition

By Robert Eckstein, Stephen Spainhour

Table of Contents
Chapter 18.  Apache Configuration

NameVirtualHost

NameVirtualHost [ IP_address: ] port

[ server config ]

Specifies the name or address a virtual host on the server should resolve to. In addition to the address, you can also specify the port that should be used. For example, if you are accepting connections on the server under the IP 123.23.23.123, port 8001 (in addition to others), you would specify:

NameVirtualHost 123.23.23.123:8001


Team-Fly    
Top

Категории