Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Oct 11, 2025, 01:00 AM

Title: Websites on server do not display SSL and redirect to webmail page: vhost
Post by: Suhitha on Oct 11, 2025, 01:00 AM
Question: Websites on server do not display SSL and redirect to webmail page: vhost configuration files for the websites are missing

Applicable to:



Resolution

To resolve the issue, you should follow these steps:

1. Log into your server via SSH as the root user

2. Recreate all necessary virtual host and web server configuration files by running this command:

# plesk repair web

3. Review the output and confirm by inputting y (for yes) when necessary

The command above recreates all of the necessary web server configuration files for all domains and web services.

Symptoms



# root @ server in ~: plesk repair web -n
...
Checking web server configuration. Please wait
File not found: example.com.conf
File not found: example.net.conf
File not found: example.org.conf ........................... [ERROR]

The vhost.conf, vhost_nginx.conf and vhost_ssl.conf files are missing from the /var/www/vhosts/system/example.com/conf directory of the affected websites


Cause

Missing Virtual Host configuration files in the /var/www/vhosts/system/example.com/conf directory for each affected website combined with additional server-wide web server misconfiguration.