Plesk

Website example.com shows webmail content instead of website content on Plesk server

Symptoms

Cause

The server.conf file is not specified in the Apache2zz010_psa_httpd.conf file:

Debian/Ubuntu:

# grep server.conf /etc/apache2/conf-enabled/zz010_psa_httpd.conf
#

RHEL/CentOS:

# grep server.conf /etc/httpd/conf.d/zz010_psa_httpd.conf
#

Resolution

Solution via GUI

  1. Log into Plesk

  2. Open Extensions > My extensions > Webserver configuration troubleshooter select and recreate vhost and webmail configuration files for affected domain example.com

Solution via CLI

  1. Connect to the server via SSH.

  2. Run the following command:

    # plesk sbin httpdmng --reconfigure-server