25 Apr

How can I edit Virtual Host in http.conf

In order to edit virtual host, you will need to edit http.conf which is as follows :-

NameVirtualHost *

<VirtualHost *>
ServerName www.domain.tld
DocumentRoot /www/domain
</VirtualHost>

<VirtualHost *>
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
</VirtualHost>

this server alias can also be set in for alternative for a host for name-basd virtual host.

Leave a Reply

SITEMAP - Windows VPS Hosting Blog

© 2008 Windows VPS Blog

WINDOWS VPS HOSTING | WINDOWS DEDICATED HOSTING |