Knowledgebase
Webinova Online Customer Support > Webinova Help Desk > Knowledgebase

Search help:


How to switch my primary domain name with my addon domain?

Solution

Let’s say that you have one hosting account and two domain names used for two different websites – yourdomain1.com and yourdomain2.com.

The domain yourdomain1.com is the primary domain for your account and yourdomain2.com is hosted as an addon domain,

Here are the steps you should take in order to switch the two domains, i.e. make yourdomain2.com primary for your account and host yourdomain1.com as an addon domain:

  • Remove yourdomain2.com from the addon slot from your cPanel > Addon domains.
  • Change the primary domain name for your account from yourdomain1.com to yourdomain2.com. This can be done from your Help Desk > Domain name change.

More information on how to do this change can be found in this article.

  • Back up the website files for yourdomain1.com located in the public_html folder and then remove them or place them in another folder.
  • Move the files from the addon domain’s folder to your public_html directory.
  • Add yourdomain1.com to your addon slot from your cPanel > Addon domains.
  • Copy/restore the website files for yourdomain1.com to the newly created addon folder.

Please note that depending on the applications you are using, additional modifications to the applications’ configurations may be needed in order for them to work correctly from the new locations.

 
Was this article helpful? yes / no
Article details
Article ID: 178
Category: General cPanel FAQ
Date added: 2012-12-07 12:34:38
Views: 14
Rating (Votes): Article rated 3.0/5.0 (2)

 
« Go back

 
Powered by Help Desk Software HESK - brought to you by Help Desk Software SysAid