chrisvdgeld

Registered
Aug 31, 2023
3
1
1
Netherlands
cPanel Access Level
Reseller Owner
Hi,

The website owners of the Wordpress I am working on decided to change their domain. I modified my account to change the main domain and now I get 404 on any page.

(redacted private domain and IP information)
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,525
2,607
363
cPanel Access Level
Root Administrator
Hey there! I removed a section of your post as we can't share public IP addresses or domain names.

You won't be able to use the WHM >> Modify an Account tool alone to change the name of a WordPress installation. While that will be required as part of the work, WordPress stores *everything* inside a database, so you'd need to modify all the database entries as well.

A better option that is available in cPanel would be to clone the site using WordPress Toolkit, as outlined here:


That would allow you to move a staging site to production with just a few clicks.
 

chrisvdgeld

Registered
Aug 31, 2023
3
1
1
Netherlands
cPanel Access Level
Reseller Owner
Hey there! I removed a section of your post as we can't share public IP addresses or domain names.

You won't be able to use the WHM >> Modify an Account tool alone to change the name of a WordPress installation. While that will be required as part of the work, WordPress stores *everything* inside a database, so you'd need to modify all the database entries as well.

A better option that is available in cPanel would be to clone the site using WordPress Toolkit, as outlined here:


That would allow you to move a staging site to production with just a few clicks.
I kind of figured that. The problem that I am finding however, is that there is also no display if I simply put a "Hello world" index.html in the public_html folder. It still says 404.
I do like to note that the OLD url is still in the cpanel domains, still in my DNS and also returns a 404.

edit: Cloning also didn't work. Still a 404.
 
Last edited:

chrisvdgeld

Registered
Aug 31, 2023
3
1
1
Netherlands
cPanel Access Level
Reseller Owner
Update:

Seems that the problem was in the .htaccess - the "modify account" made the syntax of that file all funky. Copied an old copy of it and it suddenly worked great. Thank you anyway!
 
  • Like
Reactions: cPRex

ResellerWiz

Well-Known Member
Mar 24, 2023
150
66
103
USA
cPanel Access Level
Root Administrator
Twitter
Did you update the "Site URL" in the WordPress configuration to the new domain name?