• 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

Resolved Changed new domain, only bring me to server default page

shen

New Pleskian
I have added a domain with a wordpress site on plesk, recently I tried to change the domain, but after the domain has been changed, every time I enter the site only bring me to the server default page, and not found on wp-admin page.

Also, I have tried to create a new wordpress site with the new domain, it works!

How should I solve this? Thank you!
 
Try regenerate the configuration files for the web server and all domains via CLI;

# plesk repair web
 
This is probably due to the server restart interval. When you change the domain, the server needs to reload the configuration. Until it has done so, requests to the new domain name cannot be processed by the virtual host, because the virtual host does not yet exist in the server configuration. You can either wait for the server restart interval to expire or you can run
# apachectl -t
# nginx -t
and if everything is OK followed by
# service httpd reload
# service nginx reload
on the command line to apply the the new configuration immediately.
 
Back
Top