{"id":18525,"date":"2024-05-24T19:10:58","date_gmt":"2024-05-24T19:10:58","guid":{"rendered":"https:\/\/hostvento.com\/kb\/web-hosting\/getting-started-guide\/how-to-use-the-knowledge-base\/how-do-i-switch-my-primary-domain-name-with-the-addon-domain\/"},"modified":"2024-06-17T09:12:29","modified_gmt":"2024-06-17T09:12:29","slug":"how-do-i-switch-my-primary-domain-name-with-the-addon-domain","status":"publish","type":"docs","link":"https:\/\/www.hostvento.com\/kb\/docs\/hosting-faqs\/how-do-i-switch-my-primary-domain-name-with-the-addon-domain\/","title":{"rendered":"How Do I Switch My Primary Domain Name With The Addon Domain?"},"content":{"rendered":"\n<p>Let\u2019s assume say that you have registered for one <strong><a href=\"http:\/\/hostvento.com\" data-type=\"link\" data-id=\"hostvento.com\" target=\"_blank\" rel=\"noopener\">Web hosting<\/a><\/strong> account and two domain names. You are utilizing these two domain names for different websites example \u2013\u00a0<strong>domain1.com<\/strong>\u00a0and\u00a0<strong>domain2.com<\/strong>.<\/p>\n\n\n\n<p>The domain \u2013&nbsp;<strong>domain1.com<\/strong>&nbsp;is the primary domain for your hosting account and&nbsp;<strong>domain2.com<\/strong>&nbsp;is the Addon domain.<\/p>\n\n\n\n<p>The necessary steps that you should perform for switching the two domains are mentioned below. That is steps to make&nbsp;<strong>domain2.com<\/strong>&nbsp;as the primary domain and host&nbsp;<strong>domain2.com<\/strong>&nbsp;as the Addon domain.<\/p>\n\n\n\n<p><strong>Step 1<\/strong>&nbsp;<strong>:<\/strong>&nbsp;Remove&nbsp;<strong>domain2.com<\/strong>&nbsp;from the&nbsp;<strong>Addon<\/strong>&nbsp;list by logging into&nbsp;<strong>cPanel<\/strong>&nbsp;and going to&nbsp;<strong>Addon domains<\/strong>.<\/p>\n\n\n\n<p><strong>Step 2 :&nbsp;<\/strong>Modify the primary domain name for your hosting account from&nbsp;<strong>domain1.com<\/strong>&nbsp;to&nbsp;<strong>domain2.com<\/strong>. You can execute this from going to \u2013&nbsp;<strong>Help Desk<\/strong>&nbsp;&gt;&nbsp;<strong>Domain name change<\/strong>.<\/p>\n\n\n\n<p>This completes the process of switching the domain names. This is one way. Another way of modifying the domain names is given below:<\/p>\n\n\n\n<p><strong>Step 1 :<\/strong>&nbsp;Create a backup of the website files for domain1.com that is situated in&nbsp;<strong>public_html<\/strong>&nbsp;folder and then remove these files or save them in some other folder.<\/p>\n\n\n\n<p><strong>Step 2 :<\/strong>&nbsp;Transfer the files from the Addon domains folder to the&nbsp;<strong>public_html<\/strong>&nbsp;directory.<\/p>\n\n\n\n<p><strong>Step 3 :&nbsp;<\/strong>Add&nbsp;<strong>domain1.com<\/strong>&nbsp;to your Addon domains list through&nbsp;<strong>cPanel<\/strong>&nbsp;&gt;&nbsp;<strong>Addon domains<\/strong>.<\/p>\n\n\n\n<p><strong>Step 4 :&nbsp;<\/strong>Copy or restore the website files for domain1.com to the addon folder that is newly created.<\/p>\n\n\n\n<p>Please be advised that extra changes may be required to configure the programs you are using so they operate flawlessly from the new locations, depending on what kind of applications you are using.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let\u2019s assume say that you have registered for one Web hosting account and two domain names. You are utilizing these two domain names for different websites example \u2013\u00a0domain1.com\u00a0and\u00a0domain2.com. The domain \u2013&nbsp;domain1.com&nbsp;is the primary domain for your hosting account and&nbsp;domain2.com&nbsp;is the Addon domain. The necessary steps that you should perform for switching the two domains are [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":23377,"menu_order":68,"comment_status":"closed","ping_status":"closed","template":"","doc_tag":[],"class_list":["post-18525","docs","type-docs","status-publish","hentry","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/18525","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/comments?post=18525"}],"version-history":[{"count":3,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/18525\/revisions"}],"predecessor-version":[{"id":20275,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/18525\/revisions\/20275"}],"up":[{"embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/docs\/23377"}],"wp:attachment":[{"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/media?parent=18525"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/www.hostvento.com\/kb\/wp-json\/wp\/v2\/doc_tag?post=18525"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}