How can I set the URL temporarily for a new account ?

MyGo

Member
Jul 28, 2022
12
1
3
Palma
cPanel Access Level
Root Administrator
Hi,

I want to migrate my existing domains with WP installations to my new WHM/cPanel server now. For this, I would like to use the backup/restore plugin WP Vivid.

Which domain name can I set temporarily for creating a new account in cPanel/WHM?
  • I tried for example to create the account with the desired domain 'mydomain.com'. That worked, I was also able to install WP, but I could not log into WP Admin then, however, since the IP of this domain is still currently routed to my old host.
  • I tried to create the account with my cPanel/WHM server URL and an additional subaccount 'myserver.com/mydomain.com'. But this domain could not be created, got the error message: Value must be a fully qualified domain.
  • I assume there is a way to do that, but I don't know the internal cPanel/WHM domain with which I can create a new account temporarily and then change the domain name to my final domain later, after migration and testing. What is this domain name/URL, please?
Thanks guys
 
Last edited by a moderator:

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
Hey there! There is no such domain on the system. Your best option would be option 1 where you used "mydomain.com" but you'd need to edit your local computer's hosts file to point the address to your server to test the site. Additional details on that can be found here:

 

MyGo

Member
Jul 28, 2022
12
1
3
Palma
cPanel Access Level
Root Administrator
Thank a lot,cPRex,

so if I dont want to go local it would be the best to have a not used (dummy) domain for installing WP. Will it possible to exchange that domain for the new account with the desired one without any prolems after migrating and checking the WP installation ?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
In general, it's best to just start with the real domain. It's not nearly as easy to switch out the domain on a WordPress installation since the domain gets written to many configuration files, as well as various places in the WordPress database.
 
  • Like
Reactions: MyGo