Articles in this section

Domain in Plesk shows Web Server's Default page

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Website is showing web server default page.
  • There are no errors within the global web server logs and the domain web server logs
  • There are both index.html file generated by Plesk, and index.php in the document root of example.com and they are shown in the following order:

    # ls /var/www/vhosts/example.com/httpdocs/ | grep index
    index.html 
    index.php

Cause

In the Apache configuration file of this domain, index.html is specified first and therefore has priority. So web server shows index.html to clients.

Resolution

  1. Connect to a Plesk server via SSH.
  2. Rename or remove index.html:

    # mv /var/www/vhosts/example.com/httpdocs/index.html /var/www/vhosts/example.com/httpdocs/index.html.bak

Was this article helpful?

Comments

1 comment
Date Votes

Please sign in to leave a comment.