Cobra Forum

Plesk Panel => Webserver => Topic started by: mahesh on Dec 12, 2024, 06:08 AM

Title: Websites on server do not display SSL and redirect to webmail page:
Post by: mahesh on Dec 12, 2024, 06:08 AM
Question
Websites on server do not display SSL and redirect to webmail page: vhost configuration files for the websites are missing
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]
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.

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.