5
Contributors
4
Replies
10
Views
8 Years
Discussion Span
Last Post by manojsamtani
0

you have to tell apache what the default web site is for the server put something like this in the httpd.conf file:

NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /www/docs/dummy-host.example.com
    ServerName dummy-host.example.com
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
0

Correct, the virtual host either has to be the first (default) entry for the named based Vhost, are it needs to be setup as an IP based vhost.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.