Website shows default Apache test page

Issue : The website shows default Apache test page(not the Plesk default page) instead of the website contents.

Resolution :

1. Make sure that the domain name resolves to the same IP address on which the domain's hosting is set up in Parallels Plesk Panel. If a mismatch is found, either change the DNS records or re-assign the domain to correct the IP address.

2.  Check if index file is missing from the document root in the server. Probably you don't have an index page, or this page is not listed in the DirectoryIndex directive in the main Apache configuration file (httpd.conf). You can modify DirectoryIndex in httpd.conf to match your needs, e.g.:

DirectoryIndex index.html index.htm index.shtml index.php

Then restart Apache for the changes to take effect.

3. Try rebuilding Apache configuration files for the domain:

/usr/local/psa/admin/bin/httpdmng --reconfigure-domain <domain_name>

If the issue occurs for all domains, you may run this command:

/usr/local/psa/admin/bin/httpdmng --reconfigure-all

Then restart Apache and check your website. The issue should have fixed now. :)

Comments

Popular posts from this blog

SVN: File remains in conflict

HowTo: Enable extended logging for exim

12 tweakings for WHM/cPanel to speed up WordPress