I have multiple VirtualHosts in Apache, all listening on port 80 with their ServerNames set to different web addresses. When I go directly to the ip address, Apache sends me to one of those websites as default. I want to change which virtualhost handles requests to the ip address. How would I do this?
<!-- This is currently the default (probably because it's first alphabetically) --> <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName mywebsite.com DocumentRoot /var/www/testingother ... </VirtualHost> <!-- I want this to be default --> <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName myotherwebsite.com DocumentRoot /var/www/testing ... </VirtualHost>