Apache Problem - cant access http://ip

3 posts / 0 new
Last post
#1 Mon, 07/30/2012 - 05:00
SkaFan

Apache Problem - cant access http://ip

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

Forbidden
 
You don't have permission to access / on this server.

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?

Mon, 07/30/2012 - 09:58
andreychek

Howdy,

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.

-Eric

Mon, 07/30/2012 - 12:47
SkaFan

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.

Topic locked