From: RYAN M. v. G. <ry...@co...> - 2012-10-09 01:42:41
|
Hello all i am running the latest version of virtualmin on debian squeeze, this is a custom virtual machine install so is nated behind a firewall i have forwarded the important ports 21 22 53 80 443 10000 20000, and have managed to get a webpage to display. However i am only getting the default webpage from /var/www/index.html not the ones i want from /home/somehost/public_html/index.php I think this is apache being confused about something right? apache2: Could not reliably determine the server's fully qualified domain name, using 10.0.0.104 for ServerName I have added ServerName = localhost as the one and only line to the httpd.conf and it makes the error go away but does not fix the problem #hostname -f host1 # Not exactly a fqdn does it need to be as i am nated? is this breaking things i have added servername localhost to a Lastly my hostname.conf files start out like this <VirtualHost 127.0.0.2:80> #<VirtualHost 10.0.0.104:80> SuexecUserGroup "#1005" "#1005" ServerName testhost1.blah.ca ServerAlias www.testhost1.blah.ca ServerAlias webmail.testhost1.blah.ca ServerAlias admin.testhost1.blah.ca DocumentRoot /home/blah/public_html ErrorLog /var/log/virtualmin/testhost1.blah.ca_error_log CustomLog /var/log/virtualmin/testhost1.blah.ca_access_log combined ScriptAlias /cgi-bin/ /home/blah/cgi-bin/ ScriptAlias /awstats/ /home/blah/cgi-bin/ DirectoryIndex index.html index.htm index.php index.php4 index.php5 <Directory /home/blah/public_html> Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI allow from all AllowOverride All AddHandler fcgid-script .php AddHandler fcgid-script .php5 FCGIWrapper /ho As always thanks in advance Computer King CaN-Mail Surveillance King http://computerking.ca http://canmail.org http://surveillanceking.net Surveillance - Sales Service - Hosting Backup Internet Based Surveillance Systems Custom Service Pac kages Secure IMAP Email - Automated Remote Backups - Photo Blogs - Online ERP and Accounting Packages |