I am running several websites.
Which ever website appears first in my virtual host file shows up when the
servers ip address is typed into a browser.
Is this normal?.
Because i'm running several sites, I don't really want any of the sites to
come up when the ip of the server is used so ive temporarily made up a fake
site for the first virtual host
(see below)
Is this what you do or is there a more appropriate way to stop the servers
ip address bringing up one of your sites ?
<VirtualHost *>
ServerAdmin webmaster.TakeThisOut@xxxfakesitexxxxxxxxxxx.co.uk
DocumentRoot /usr/home/none
ServerName
www.xxxfakesitexxxxxxxxxxx.co.uk
ErrorLog logs/xxxfakesitexxxxxxxxxxx.co.ukerror_log
CustomLog logs/xxxfakesitexxxxxxxxxxx.co.uk-access.log "combined"
scriptalias /cgi-bin/ /usr/home/xxxfakesitexxxxxxxxxxx.co.uk/cgi-bin/
DirectoryIndex index.htm index.html index.php
</VirtualHost>