Question: Website example.com shows webmail content instead of website content on Plesk server
Applicable to:Symptoms- Website example.com shows webmail content instead of website content.
- example.com is set as Default site for Plesk IP under Plesk > Tools & Settings > IP Addresses:
(https://pix.cobrasoft.org/images/2025/10/21/1.png)
- Only webmail configuration files are existing for the domain:
Debian/Ubuntu:# apache2ctl -S | grep example.com
port 7081 namevhost webmail.example.com (/etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf:39)
port 7080 namevhost webmail.example.com (/etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf:5)
RHEL/CentOS:# find /etc/httpd/ -name "example.com*"
/etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf
/etc/httpd/conf/plesk.conf.d/webmails/example.com_webmail.conf.bak
- Apache access logs are being filled with "plesklog" entries:
# tail /var/www/vhosts/example.com/logs/access_log
plesklog
plesklog
plesklog
CauseThe 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 GUI1.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