• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

All websites are back to default page!

stefanoostwegel

Basic Pleskian
I have update my panel to 11.5.3 and verything worked fine.
Im trying to solve the issue:
New configuration files for the Apache web server were not created due to the errors in configuration templates: Syntax error on line 11 of /etc/httpd/conf/plesk.conf.d/server.conf: The address or port is invalid . The error message containing the detailed error descriptions was sent to you by e-mail. Please resolve the issues and click here to generate broken configuration files once again or here to generate all configuration files.
Yet, this doesnt seme to be my biggest issue!
All websites i have are displayed as default page by plesk, not the websites i actually have!
All the files and databases seem to be available.
I cannot find what the problem is.
Could anyone help me out?

Thank you
 
What is line 11 in /etc/httpd/conf/plesk.conf.d/server.conf?
Have you checked at least that port is accessible for this IP address?
 
I have managed to fix the configuration issue.
After adding a new IP address, the appeared an empty IP address, wich was the issue.
Still, after fixing this, most of my websites are redirected to the paraells Default Page.
I cant seem to figure how.
For some domains the problem is that a www request is the only way the site works.
Then there seems to be domains that only work when /index.php or /index.html is used in the url.
Then there seem to be domains that only work if you specifically not use an index (every page except index.php or index.html works
Then there seem to be domains that don't work, no matter what i do. (even suspension does not set the service unavailable message)
What on earth is going on?
 
I ahve run some various checks, yet i cannot find any vhost.conf files.
How do i regenerate them?

I tried running the bootstrapper, i tried re-saving a domain, i tried running:
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
But none of it works.
Please help me! None of my websites work!
 
I found that the vhost.conf was deleted... i regenerated it with:
/usr/local/psa/admin/sbin/websrvmng --reconfigure-chost --vhost-name=domain.tld

Now my forwarders need to be configured properly...
after removing them and adding them again i cant seem to get them to work...
There are no vhosts.conf available
 
This does not seem to solve anything.
Most websites keep returning to default pages.
Some don't.
There seems to be nog vhost.conf in the folder
/var/www/vhosts/***/conf
Please, i need support!
Tons of clients cant get to their websites!!!!!!
 
stefanoostwegel,

vhost.conf is custom config which should be created manually. In most cases you do not need to create it. Did you try to reconfigure all configs using `plesk sbin httpdmng --reconfigure-all` command?
 
As far as i can see i dont. None of the hosts have a vhost.conf file.
I tried copying the files last_httpd.conf to vhost.conf so that plesk had something to reconfigure.
But that failed, plesk didnt'reconfigure those files.
 
Is there a way to clear the conf folder? I seem to have alot of config files.
like: 123456789.987654321_nginx.conf
or 123456789.987654321_httpd.include
there are a ton of where those came from.
Then there are 4 files:
last_httpd.conf
Last_httpd.include
Last_ngingx.conf
stat_ttl.conf
 
Just wanted to add an additional cause of this issue for anyone stumbling across the thread. Some versions of Plesk have a bug where adding an IPv6 address results in the CentOS/RHEL /etc/sysconfig/ifcfg-eth0 file having the address added with a mask of /0 instead of /64. From that point on, nginx will refuse to restart due to failure to bind, and httpdmng --reconfigure-all will fail to regenerate the config due to the invalid address error.

The fix is to edit the ifcfg-eth0 file and correct the bad mask from /0 to /64, service network restart, then you should be able to reconfigure-all successfully.
 
Back
Top