Nonapeptide
New Pleskian
[solved] Domain shows test page - Error log shows all requests going to default vhost
PRODUCT= Parallels Plesk
VERSION= psa-10.3.1-cos5.build1012110718.17
OPERATING SYSTEM= CentOS release 5.7 2.6.18-028stab095.1
ARCHITECTURE= x86_64
PROBLEM DESCRIPTION
One domain for one client will only respond with the Apache 2 Test Page when trying to see the home page. Trying to access specific files in the document root (e.g. www.domain.com/contactus.html) receives a "Not Found" error. Apache's error_log shows that all requests for that client's domain are being directed to the default vhost folder /var/www/vhosts/default/htdocs/ and of course errors are being logged since the client's files are not in that directory.
STEPS TO REPRODUCE
Simply browsing to domain.com. Due to client confidentiality, I cannot share the domain here. I will share the domain privately if necessary.
ACTUAL RESULT
Apache 2 Test Page is displayed.
EXPECTED RESULT
The client's home page and website at large to be rendered.
ANY ADDITIONAL INFORMATION
index.html and index.htm are in the DirectoryIndex declaration in httpd.conf. All other sites and clients on the server are functioning properly.
/var/log/messages shows no Apache/httpd errors. However, /var/log/httpd/error_log shows that for some reason, all requests to that domain are being sent to the default folder. For example:
[Wed May 09 17:43:20 2012] [error] [client 1.1.1.1] File does not exist: /var/www/vhosts/default/htdocs/newsletters
For some reason it appears that this client's domain is not looking to its own vhost volder at /var/www/vhosts/client/ but rather going to /var/www/vhosts/default/
I can't seem to find why this would have suddenly happened. Any ideas?
PRODUCT= Parallels Plesk
VERSION= psa-10.3.1-cos5.build1012110718.17
OPERATING SYSTEM= CentOS release 5.7 2.6.18-028stab095.1
ARCHITECTURE= x86_64
PROBLEM DESCRIPTION
One domain for one client will only respond with the Apache 2 Test Page when trying to see the home page. Trying to access specific files in the document root (e.g. www.domain.com/contactus.html) receives a "Not Found" error. Apache's error_log shows that all requests for that client's domain are being directed to the default vhost folder /var/www/vhosts/default/htdocs/ and of course errors are being logged since the client's files are not in that directory.
STEPS TO REPRODUCE
Simply browsing to domain.com. Due to client confidentiality, I cannot share the domain here. I will share the domain privately if necessary.
ACTUAL RESULT
Apache 2 Test Page is displayed.
EXPECTED RESULT
The client's home page and website at large to be rendered.
ANY ADDITIONAL INFORMATION
index.html and index.htm are in the DirectoryIndex declaration in httpd.conf. All other sites and clients on the server are functioning properly.
/var/log/messages shows no Apache/httpd errors. However, /var/log/httpd/error_log shows that for some reason, all requests to that domain are being sent to the default folder. For example:
[Wed May 09 17:43:20 2012] [error] [client 1.1.1.1] File does not exist: /var/www/vhosts/default/htdocs/newsletters
For some reason it appears that this client's domain is not looking to its own vhost volder at /var/www/vhosts/client/ but rather going to /var/www/vhosts/default/
I can't seem to find why this would have suddenly happened. Any ideas?
Last edited: