I am trying to figure out what determines the "default" website on a webserver.
I am running a Ubuntu 10.04 webserver that hosts 5 different websites.
In my apache2/sites-available folder there is an entry like this for each of the 5 sites:
<VirtualHost *:80>
ServerName mysite.ca
ServerAlias www.mysite.ca
ServerAdmin [email protected]
DocumentRoot /home/sites/Dropbox/mysite.ca/
<Directory /home/sites/Dropbox/mysite.ca/>
Options -Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
</VirtualHost>
When I try to access this webserver via IP address from a computer that is behind the firewall and within Active Directory, the webpage for one of the sites loads, but I would prefer to load a different site. How can I control which site loads by default on my webserver?