How to change primary domain for a site...

Ishware

Well-Known Member
Nov 7, 2003
211
6
168
Williamsburg, VA
cPanel Access Level
Root Administrator
Howdy. :)

I have a website that is a centre of some politically-charged satire/parody. Some might have heard the meme, but I'd prefer not to discuss the particulars at this time...

The problem is that the first domain I registered may be shut down - there's a WIPO dispute that my lawyer is confident we can win, but for various reasons, I may decide to shut that domain off.

I have subsequently parked two domains on top of it for the site...

My question is: What's the easiest way to change the primary domain to one of the parked ones? I have a forum running - that's the main problem. I don't want to lose the forum and its valuable posts...

EDIT: Just to clarify, this is on my dedicated server, i.e. I have root. :)
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Howdy. :)

I have a website that is a centre of some politically-charged satire/parody. Some might have heard the meme, but I'd prefer not to discuss the particulars at this time...

The problem is that the first domain I registered may be shut down - there's a WIPO dispute that my lawyer is confident we can win, but for various reasons, I may decide to shut that domain off.

I have subsequently parked two domains on top of it for the site...

My question is: What's the easiest way to change the primary domain to one of the parked ones? I have a forum running - that's the main problem. I don't want to lose the forum and its valuable posts...

EDIT: Just to clarify, this is on my dedicated server, i.e. I have root. :)
If this was my server, I would unpark one of the domains. Then I would go to WHM and edit this account, changing the domain for the account to the domain I just unparked from the account. Once I finished doing that, I would park the former primary domain on the account.

Basically, swap one of the parked domains to become the primary domain for that account, then park the old primary domain on that account until I no longer wanted to use that parked domain.

If your website gets much traffic, I recommend announcing that you will be doing maintenance as your site may become temporarily unavailable while you are doing this swap.
 

dstlink

Member
Apr 23, 2003
11
0
151
The Woodlands, TX
What does that do to any e-mail accounts that you had on the first domain? I'm looking to do something like that, my customer wants to move over to a new domain.

I'm debating between creating new space for him or just unparking the new domain, changing it in WHM, and then parking the old domain back on the site. The issue is he has several e-mail accounts and I don't know what happens to them when I change the domain name? Do they become accounts with the new domain or do they stay with the old domain? Technically the old domain would not exist for a few minutes on the account during the change. I just don't want the accounts to be removed.

If they swap over to the new account the user would still have to update their login to reflect the new username, but at least the passwords would probably stay the same. I don't know if he even wants the same number of accounts with the new domain, but would assume some of the key folks will end up with the same e-mail address on the new domain.