I setup a new virtual server this morning, all default settings.
I can view the site fine through webmin as the proxy, but when I try to get the site direct through the domain name, I get:
Forbidden
You don’t have permission to access / on this server.
What is wrong with this setup? FTP is fine, email seems fine, just can’t get the site. Again, I used the default setup when creating this virtual.
What’s in the error_log (both /var/log/httpd/error_log or /var/log/apache2/error_log and /home/domain/logs/error_log) when you hit the page? That might give us a clue.
For PHP stuff, I’d suspect maybe the wrong Apache version got installed. Ours has suexec rebuilt for the docroot in /home, while the default on most operating systems is somewhere in /var.
Ok, to follow up on this one now that it’s been resolved.
Apache was being configured with a private IP address found on eth0. The public IPs on the server were on eth1. Switching that in the Module Configuration:Other Server Settings page, and then using the Change IP Address form to fix it in all of the various configuration files knocked the problem right out.
Hello I am having a simualar issue though only when viewing the web page through Virtualmin (it works outside of virtualmin) I did discover that if I run suexec2 -V it returns -D AP_DOC_ROOT="/var/www" I am running on Ubuntu 6.06 and tried to reinstall appache via aptitude with the same results. What am I missing?