|
CentOS Linux Server Guide |
CentOS Web Server |
||
|
Configuring Apache Web Server - Virtual Host
Virtual host in Apache web server means hosting mulitple web server or domain name in a single physical server.
By modifying NameVirtualHost directive, you can specify the IP address that will receive request using the name based virtual hosts
For example, we going to have 2 domain hosted under 1 ip 192.168.1.100. Where ServerName directive specify the hostname/domain and DocumentRoot is where we specify the location of domain's file.
|
||
|
Copyright 2011 http://www.1a-centosserver.com All Rights Reserved All trademarks are the property of their respective owners. Contact Us | Terms of Use | Privacy Policy |