Apache Problem - cant access http://ip

when ever i want to access http://ip i get a


You don’t have permission to access / on this server.[/code]

witch is not the default server page as in /etc/apache2/sites-enabled/000-default

i shout get a “it works” page

but i think webmin redirets it… how can i stop that?


Whenever you setup Virtualmin, it configures your system to serve websites out of /home.

What you would want to do is log into Virtualmin, and choose a domain you want to act as the default domain.

Then, go into Server Configuration -> Website Options, and set it to be the default domain for your IP address.

After doing that, it’ll be the domain that’s served when someone browsed to your domain using the IP.

All you need to do from there is make sure that you’ve uploaded a website into that domain – getting a “Forbidden” message usually means no website has been uploaded yet.


work around

i have ceatet another domain in virtualmin and have set this on as default for the server ip.

but i still dont understand why apache was ignoring the default configuration.