getting a "forbidden" error 403 when accessing any other page than ISPconfig panel.
I have searched high and low here and with google, and I'm about to give up.
I've installed the perfect server for ubuntu 12.04 LTS with ISPconfig3 which I also have on another server, and think it's awesome.
I'm getting the response "forbidden" no matter what page I'm trying to get served. I expect to get the "It works" or the welcome page you guys have custumized. Usually ISPconfig works right out of the box. I have changed the port for the control panel to 8000 instead of 8080, (and it took me a while to realize that it is necessary to open that port from within ISPconfig as well. Otherwise it is impossible to reach the control panel after a reboot).
And I've been looking in /var/log/apache2/error.log where I get this line for every attempt:
[Mon Aug 27 12:54:52 2012] [error] [client x.x.x.x] client denied by server configuration: /etc/apache2/htdocs
But there are no htdocs anywhere on the machine!?? So the info is of no help.
What am I missing?
The Following User Says Thank You to neumann For This Useful Post:
Posts: 32,068
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
You get this error when you use which port? And do you use the IP address, the hostname of the server or the domain of a website as URL in the browser?
For now I'm using the ip number, but I originally found the problem when I had an external DNS service pointing to the server, so both things have been attemted.
I can fine connect to the ISPconfig admin pages with port 8000. It is when I try to connect to 1 vhost on port 80.
I'm just setting up the system, so I have only 1 vhost right now. But I have made more than 1, and even if i havent uploaded anything, you guys have made a general index file with some information so one knows that it is working. But it doesn't for me right now. :-(
Last edited by neumann; 27th August 2012 at 13:30.
The Following User Says Thank You to neumann For This Useful Post:
Posts: 32,068
Thanks: 697
Thanked 4,248 Times in 3,260 Posts
1) Ensure that you selecetd the correct IP address in the website settings. If the IP dont show up, then add it under system > servr IP first.
2) the default vhost seems to be disabled on your server. Enable it with:
a2enmod default
/etc/init.d/apache2 restart
3) ensure that you access the sites by domain name and that the dns records of the domains point to the IP address of the site.
Recent comments
1 day 12 hours ago
1 day 15 hours ago
2 days 3 hours ago
2 days 5 hours ago
2 days 10 hours ago
2 days 16 hours ago
3 days 1 hour ago
3 days 3 hours ago
3 days 11 hours ago
3 days 13 hours ago