{"id":2496,"date":"2021-07-20T16:23:42","date_gmt":"2021-07-20T13:23:42","guid":{"rendered":"https:\/\/www.scalahosting.com\/kb\/?p=2496"},"modified":"2023-06-13T11:28:07","modified_gmt":"2023-06-13T08:28:07","slug":"how-to-change-your-primary-domain","status":"publish","type":"post","link":"https:\/\/www.scalahosting.com\/kb\/how-to-change-your-primary-domain\/","title":{"rendered":"How To Change Your Primary Domain"},"content":{"rendered":"\n<p><span style=\"font-weight: 400;\">A primary domain is<b> the <\/b><strong>first domain you&#8217;ve added to your SPanel account<\/strong><\/span><b>.<\/b><\/p>\n\n\n\n<p>With an <a href=\"https:\/\/www.scalahosting.com\/managed-cloud-hosting.html\" target=\"_blank\" rel=\"noopener\">SPanel managed VPS<\/a>, you can create as many different accounts with as many domain names as you want. If you want to start a new project, you can always set up a new account and get started in no time.<\/p>\n\n\n\n<p>However, if you want to use the same files with a different domain, it makes sense to repurpose an existing account instead of creating a new one. This means changing the account&#8217;s main domain.<\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Here&#8217;s how to do it.<\/span><b><\/b><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Changing the Main Domain of an SPanel Account<\/strong><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">Swapping one main domain for another takes no more than a couple of minutes and is really easy. You need to bear in mind, however, that if the new domain is to work, it needs to be registered and pointed to your VPS. After that&#8217;s done, follow the steps below to change your SPanel account&#8217;s main domain.<b><br><\/b><\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><span style=\"font-weight: 400;\"><b>STEP 1: Log into SPanel&#8217;s Admin Interface.<br><\/b><\/span><\/h3>\n\n\n\n<p>You will be managing one of your SPanel accounts, so the Admin Interface is where you need to go. The default login URL is <em><strong>[your server&#8217;s IP address]\/spanel<\/strong><\/em>.<\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"453\" height=\"456\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png\" alt=\"How To Change Your Primary Domain, STEP 1: Log into SPanel&#8217;s Admin Interface.\" class=\"wp-image-2898\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40.png 453w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-298x300.png 298w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/01\/40-150x150.png 150w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\"><strong>STEP 2: Locate the account you want to modify.<\/strong><\/h3>\n\n\n\n<p>On the homepage, you&#8217;ll see a list of all the SPanel accounts created on your VPS. The same list is also available on the <strong>Manage Accounts<\/strong> page available in the navigation panel on the left.<\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"233\" height=\"502\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image11-2.png\" alt=\"How To Change Your Primary Domain, STEP 2: Locate the account you want to modify.\" class=\"wp-image-2507\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image11-2.png 233w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image11-2-139x300.png 139w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">Make sure you find the account you want to modify. To save time, you can also use the search functionality and look them up by a domain or a username.<\/span><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>STEP 3: Open the Actions Drop-Down and Select Change Domain.<\/strong><\/h3>\n\n\n\n<p>Next to each account, there&#8217;s an <strong>Actions <\/strong>drop-down menu. Open it and select <strong>Change Domain<\/strong>.<\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"200\" height=\"370\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image16-1.png\" alt=\"How To Change Your Primary Domain, STEP 3: Open the Actions Drop-Down and Select Change Domain.\" class=\"wp-image-2512\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image16-1.png 200w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image16-1-162x300.png 162w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p><span style=\"font-weight: 400;\">A popup appears asking you for the new domain. All you need to do is to enter it and click<\/span> the<b> Change <\/b>button to apply the changes.<\/p>\n\n\n<div class=\"wp-block-image mpg-gallery\">\n<figure class=\"aligncenter\"><img decoding=\"async\" width=\"358\" height=\"204\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image9-6.png\" alt=\"How To Change Your Primary Domain, STEP 3: Open the Actions Drop-Down and Select Change Domain. 2\" class=\"wp-image-2505\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image9-6.png 358w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2021\/07\/image9-6-300x171.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/figure>\n<\/div>\n\n\n<p>By default, SPanel will assign the public_html directory as the document root for your new main domain.<\/p>\n\n\n\n<p><span style=\"font-weight: 400;\">Bear in mind that <b>the change<\/b><\/span><b> will wreak havoc with your existing <\/b><a href=\"https:\/\/www.scalahosting.com\/kb\/what-is-a-subdomain\/\"><b>subdomains<\/b><\/a><b>, custom DNS settings, and email forwarders<\/b><span style=\"font-weight: 400;\">; so always proceed with caution.<\/span><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><b>Need Support?<\/b><\/h2>\n\n\n\n<p><span style=\"font-weight: 400;\">If you need assistance changing your primary domain or have questions, <\/span><b>reach out to <\/b><a href=\"https:\/\/www.scalahosting.com\/contact-us.html\"><b>our support<\/b><\/a><b>,<\/b><span style=\"font-weight: 400;\"> and we\u2019ll be willing and available to help.<\/span><\/p>\n\n\n\n<p class=\"youtube-player\" id=\"qwGE9xz5eb8\">How To Point a Domain Name To a Web Hosting Provider<\/p>\n\n\n\n<script type=\"application\/ld+json\">\r\n    {\r\n        \"@context\": \"https:\/\/schema.org\",\r\n        \"@type\": \"VideoObject\",\r\n        \"name\": \"How To Point a Domain Name To a Web Hosting Provider\",\r\n        \"description\": \"You can actually buy web hosting and domain name from different providers and just link these two things together. In this video we'll show you exactly how.\",\r\n        \"thumbnailUrl\": [\r\n            \"https:\/\/i3.ytimg.com\/vi\/qwGE9xz5eb8\/maxresdefault.jpg\"\r\n        ],\r\n        \"uploadDate\": \"2022-04-12\",\r\n        \"duration\": \"PT3M45S\",\r\n        \"embedUrl\": \"https:\/\/www.youtube.com\/watch?v=qwGE9xz5eb8\"\r\n    }\r\n<\/script>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.scalahosting.com\/whois.html?utm_source=scalahosting-internal-link&amp;utm_medium=banner&amp;utm_campaign=whois-referral&amp;utm_id=whois-referral\"><img decoding=\"async\" width=\"600\" height=\"100\" src=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal.png\" alt=\"How To Change Your Primary Domain, Need Support?\" class=\"wp-image-4915\" srcset=\"https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal.png 600w, https:\/\/www.scalahosting.com\/kb\/wp-content\/uploads\/2022\/07\/whois_banner_horizontal-300x50.png 300w\" sizes=\"(max-width: 361px) 660px, (max-width: 767px) 89vw, (max-width: 1000px) 54vw, (max-width: 1071px) 910px, 1140px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>A primary domain is the first domain you&#8217;ve added to your SPanel account. With an SPanel managed VPS, you can create as many different accounts with as many domain names as you want. If you want to start a new project, you can always set up a new account and get started in no time. [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_seopress_robots_primary_cat":"none","_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","footnotes":""},"categories":[22],"tags":[],"class_list":["post-2496","post","type-post","status-publish","format-standard","hentry","category-dns"],"acf":[],"_links":{"self":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2496","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/comments?post=2496"}],"version-history":[{"count":9,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2496\/revisions"}],"predecessor-version":[{"id":5608,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/posts\/2496\/revisions\/5608"}],"wp:attachment":[{"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/media?parent=2496"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/categories?post=2496"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scalahosting.com\/kb\/wp-json\/wp\/v2\/tags?post=2496"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}