Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I create a new site on one one of my servers which runs Apache 2.4, after visiting the URL, I'm being redirected ot the default website on that server.

When I look in the config file, I see the following in the header: <VirtualHost *:80>

As soon as I change the * to the external IP of the server and restart apache2, it works!

This question remains: How can I fix this permanently? I already changed my /etc/apache2/sites-available/default config file to have the external IP of this machine instead of *:80 in the VirtualHost header.

Also, here's an image of the Apache configuration in Webmin where you can clearly see that it figured that the test domain '' would listen to *:80 instead of the common IP of that server:

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.