View Single Post
Old 4th October 2010, 20:02
edge edge is offline
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,044
Thanks: 269
Thanked 154 Times in 133 Posts

As for point 1

If you 1st had domain's, and the site will showup when you enter the IP of the server.
If you later add domain, than this wil become the one that will showup when the IP is used.
Apache is reading the vhost files in alphabetical order.

An easy fix if you want tobe the site to showup when an IP is entered is to create a symlink in /etc/apache2/sites-enabled named and point it to /etc/apache2/sites-enabled/

Make sure that you restart apache again when done.
Never execute code written on a Friday or a Monday.
Reply With Quote