Knowledge Base
MilesWeb / cPanel

How Do I Switch My Primary Domain Name With The Addon Domain?

Approx. read time : 2 min

Let’s assume say that you have registered for one hosting account and two domain names. You are utilizing these two domain names for different websites example – and

The domain – is the primary domain for your hosting account and is the Addon domain.

The necessary steps that you should perform for switching the two domains are mentioned below. That is steps to make as the primary domain and host as the Addon domain.

Step 1 : Remove from the Addon list by logging into cPanel and going to Addon domains.

Step 2 : Modify the primary domain name for your hosting account from to You can execute this from going to – Help Desk > Domain name change.

This completes the process of switching the domain names. This is one way. Another way of modifying the domain names is given below:

Step 1 : Create a backup of the website files for that is situated in public_html folder and then remove these files or save them in some other folder.

Step 2 : Transfer the files from the Addon domains folder to the public_html directory.

Step 3 : Add to your Addon domains list through cPanel > Addon domains.

Step 4 : Copy or restore the website files for to the addon folder that is newly created.

Pleased note that on the basis of the applications you are utilizing, additional modifications might be needed for configuring these applications so that they function perfectly from the new locations.

With over 10+ years of experience in the web hosting industry, I have achieved extensive exposure to result-oriented methodologies. And expertise in different domains like Datacentre Services, Cloud computing technology, Web hosting industry and many more.