Changing the default site when you enter IP address
"123.45.67.89" goes directly to "domain.com". How can I change that?
Vastio
10:22 pm on Apr 26, 2006 (gmt 0)
I have multiple sites located on my server. The first one I added was firstsite.com. Now, whenever I type in the IP address of my server, it takes me to that site.
How can I change it so that it defaults to secondsite.com or thirdsite.com when I type the IP in the address bar? Or possibly to no site at all, just a blank page?
[Using Red Hat and Plesk if it matters]
whoisgregg
10:24 pm on Apr 26, 2006 (gmt 0)
I am pretty sure it picks the first site that matches that IP address it finds in httpd.conf. You can also setup a site for that IP address. (Use the IP in place of a domain.tld)
jdMorgan
11:06 pm on Apr 26, 2006 (gmt 0)
The first VirtualHost in the list will define the default site. So re-arrange that list, or invent a 'fake' vhost and host a blank page on it.