• 0

Apache default page


Question

I'm having this weird problem: when I type "http://localhost", I get the index.htm of my site. But if I type "http://my.ip.address", it brings me to the "Seeing this instead of the website you expected?" page (See screenshot below). Is there anyway to get around this problem?

post-57901-1108896387_thumb.jpg

Link to comment
https://www.neowin.net/forum/topic/287750-apache-default-page/
Share on other sites

2 answers to this question

Recommended Posts

  • 0

You wouldn't have configured it with name-based virtualhosts by any chance?

If you configured a virtualhost to look after localhost, then anything other than localhost will show the default DocumentRoot (which probably still points to Apache's htdocs directory or where ever it is).

If you see <VirtualHost *> anywhere in the configuration, then this could be the problem.

  • 0
  scaife said:
You wouldn't have configured it with name-based virtualhosts by any chance?

If you configured a virtualhost to look after localhost, then anything other than localhost will show the default DocumentRoot (which probably still points to Apache's htdocs directory or where ever it is).

If you see <VirtualHost *> anywhere in the configuration, then this could be the problem.

585503301[/snapback]

Nope all the <VirtualHost *> lines are commented out...

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.