View Single Post
Old 28th September 2009, 14:11
Mccy_McFlinn Mccy_McFlinn is offline
Junior Member
Join Date: Mar 2008
Posts: 23
Thanks: 0
Thanked 1 Time in 1 Post

Hello Stown,

It all depends how you've configured apache. The default index.html for apache is the "it works!" page.

It sounds like you've assigned the external IP address of your server to one of the sites you're hosting ( This has made that site the default site to be displayed if anyone navigates to the IP address of your server or uses a domain name that has a DNS record pointing to the server with no site configured as is your setup below.

I'd check the default config file in /etc/apache2/sites-available. Make sure that it shows <Virtualhost *:80>. Then check the vhost file in the same directory. Make sure it shows <Virtualhost *:80> as it sounds like it's probably showing <Virtualhost> (where is your external ip address).

Assuming that all host files show *:80 then the default index page will be displayed when navigating to the IP address of the server. You might want to change the default page to something more descriptive or personalised than the "it works!" page but that's just my personal choice.

Any problems or questions then let me know.
Reply With Quote