• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Urgent! Plesk default page shown for ALL domains!

RihadG

Basic Pleskian
Hi, see the subj pls. Last thing I did was install Ruby on Rails through web installer (by ticking its checkbox), although I'm not sure it's what caused the problem. I've restarted Apache, it didn't help.

Latest 11.x on Debian 6.
 
Try to rebuild the http config files for all domains:

#/usr/local/psa/admin/bin/httpdmng --reconfigure-all
 
Thanks fot the reply, already did that while waiting for help:

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all
Unable to register configuration file: template=domainForwarding, domain.id=209
Execution failed.
Command: httpdmng
Arguments: Array
(
[0] => --reconfigure-domains
[1] => comma separated list of all our domains
)

Details: Empty error message from utility.


It didn't help any domain. Just manual re-saving of configuration on a per-domain basis (and restarting Apache) seems to help. But we have like a zillion domains :(((
 
Try to fix it with

mysql> update domains set htype='none' where id=209;

And run

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

after that again.
 
Found another solution:

/usr/local/psa/admin/sbin/httpdmng --reconfigure-domains example.com

i.e. just give one domain, or a comma-separated list thereof.

I'll see which domain has domain_id=209, and just exclude it from the list.
 
Try to fix it with

mysql> update domains set htype='none' where id=209;

And run

# /usr/local/psa/admin/sbin/httpdmng --reconfigure-all

after that again.

Thanks, but I already did it this way:

select * from domains where id=209;

and excluded the said domain from the list in /usr/local/psa/admin/sbin/httpdmng --reconfigure-domains

restarted apache, and everything seems normal. Hope it didn't screw up any custom domains settings...
 
DNS got screwed up in the process, as the Plesk box is normally the master DNS for all domains. The Plesk server IP got added as an A record for each domain, even though it's not always the case... So some domains now have 2 conflicting A records...
 
This happens again!!! All domains show up the default page!!! Why the hell does it happen? I did the /usr/local/psa/admin/sbin/httpdmng --reconfigure-all, restarted Apache, still same ole! Should I wait a bit?
 
Ok seems like the page got cached, Ctrl+F5 showed the normal page after reconfigure-all.
That's not funny, guys! Hope you'll fix it.
 
Last edited:
Come on guys, this isn't serious. When will you fix it? This is paid software, BTW... :(
 
Last edited by a moderator:
For someone who keeps consistently getting these errors once in a while, this simple script may help:
#!/bin/sh

if wget -q -O- http://www.example.com | fgrep -q '<div class="welcomeText">Domain Default page</div>'; then
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
fi
www.example.com is any website hosted on your plesk machine that has a custom index page.
Put it in a cronjob to run every 10 minutes, chmod +x the file, and that's it.
 
Back
Top