All the plesk websites are loading default webpage
Introduction
In Plesk servers, you may encounter an issue where all hosted websites load the default Plesk page instead of their actual content. This typically occurs due to misconfiguration in the web server settings.
Prerequisites
Before proceeding, ensure:
- Root or SSH access to the server
- Basic knowledge of Apache configuration
- Backup of configuration files
Cause
The most common cause of this issue is a missing or commented configuration include directive in the Apache configuration file. This prevents domain-specific configurations from loading.
Implementation
Step 1: Check Apache Configuration
Login to your server via SSH and run:
grep conf.d /etc/httpd/conf/httpd.conf
Expected output:
Include conf.d/*.conf
Step 2: Verify Configuration Line
Open the configuration file:
vi /etc/httpd/conf/httpd.conf
Check if the following line exists and is not commented:
Include conf.d/*.conf
- If you see:
#Include conf.d/*.conf
Remove the # to uncomment it.
Step 3: Restart Apache Service
After making changes, restart Apache:
/etc/init.d/httpd restart
Additional Checks (If Issue Persists)
- Verify virtual host configurations are present in
/etc/httpd/conf.d/ - Ensure domain configurations are correctly generated by Plesk
- Check DNS settings for domains
- Review Apache error logs:
/var/log/httpd/error_log
Notes
- Incorrect Apache configuration can bring down all websites
- Always take a backup before editing config files
- Ensure proper syntax to avoid service restart failures
Conclusion
When all websites load the default page in Plesk, it is often due to missing configuration includes in Apache. Correcting the conf.d include directive and restarting the service usually resolves the issue quickly.
