How to Change an Account’s Main Domain in SPanel

When you’re creating an account in SPanel, you need to associate it with a main domain name. In most cases, this is the primary project on the account, and its document root is the public_html folder. It’ll help you differentiate between the different accounts, and you’re more likely to know what each of them holds.

Every now and again, however, you might need to repurpose an account and use the data in it for another project. In such a scenario, you’ll likely want to change the main domain name, and SPanel gives you the chance to do just that.

 

Changing an account’s main domain

There are a couple of ways of changing an account’s main domain, and they’re both done through your SPanel’s Admin Interface. After you’ve logged in (the default login URL is https://[your server name]/spanel/), you can go to Main Domain Change. You’ll see a list of all the accounts you’ve created, and next to each and every one of them, there’s a Change Domain button. It opens a popup where you need to enter the new valid domain and click Change. In a few seconds, SPanel will confirm the successful change.

You can do the same thing through the List Accounts section as well. Next to all your accounts, there’s an Actions drop-down menu, and from it, you can pick Change Domain. Changing the main domain will affect the subdomains and the email accounts associated with it. You might also need to reconfigure the website if it is to work properly with the new domain.

Bear in mind that changing the main domain in SPanel won’t automatically point it to our servers. If it is to resolve properly, you need to make sure that the correct DNS settings have been applied. This is done at the domain’s registrar.

Write a Comment

Required*