I am running Solaris 5.9 with Apache 1.3.27
I have the default website which is the standard Apache test page and I have added a virtual host to the httpd.conf file. If I use in my browser I get the home page that I am supposed to get but if I use the ip address of the server instead, I get the same home page instead of the default website. If I comment out the virtual host directive in the config file, I get the default page. Is this the way it is suppose to work? I thought that if there was a host header than it would load the virtual host home page and if there wasn't a host header, it would load the default page. Is this question as clear as mud?
I have the default website which is the standard Apache test page and I have added a virtual host to the httpd.conf file. If I use in my browser I get the home page that I am supposed to get but if I use the ip address of the server instead, I get the same home page instead of the default website. If I comment out the virtual host directive in the config file, I get the default page. Is this the way it is suppose to work? I thought that if there was a host header than it would load the virtual host home page and if there wasn't a host header, it would load the default page. Is this question as clear as mud?