Since version 58.x, cPanel introduced a cool script that allows you to convert Addon Domains to cPanel Accounts.
After converting an addon domain into a separate stand-alone cPanel account, you’ll have full control over your new domain and its resources, such as MySQL databases, FTP accounts, Email accounts, and more.
- 1 Addon Domains vs Independent Domain Hosting (cPanel accounts)
- 2 How can I Convert Addon Domains to cPanel Accounts ?
- 3 Convert Addon Domains to cPanel Accounts: Let’s Start
- 4 Start your Addon Domain Conversion to cPanel account
Addon Domains vs Independent Domain Hosting (cPanel accounts)
Why on earth would you want to add your new domain names as ‘addon domain’?
cPanel allows you to add addon domains, however it’s one of the worst decisions you’ll ever made.
Addon Domains use same resources, ftp and system user as the main domain owner where it is created.
If someone hacks into your main domain via FTP, all your addon domains will be exposed. And don’t imagine if they decide to inject malware, virus or phising, all your sites will be defaced easily.
On the other side, creating domains using cPanel’s Create a New Account function from WHM, allows you to setup a total independent FTP & cPanel user account for your new websites.
You will be managing all your sites each one with a private FTP & control panel, each one with its own resources, php versions and security (if you are using CloudLinux)
How can I Convert Addon Domains to cPanel Accounts ?
- You must have the
rearrange-acctsACL in order to convert an addon domain into a cPanel stand-alone account.
- Ensure you have 3x times the space required for the addon domain before you start, as there is lot of data involved in this conversion.
- Perform a full cPanel backup of the original account that hosts/own the addon domain before the conversion.
Convert Addon Domains to cPanel Accounts: Let’s Start
This can be done from WHM interface:
WHM >> Transfers >> Convert Addon Domain to Account
Start selecting your domain from the list.
Then, set the desired Username, Contact Email, Package (optional), and choose your account ownership in case you want the old account to own your new one.
Configuring Additional Details
From this area, you’ll choose what you want to move to the new cPanel account.
Click on Configure at ‘Website Configuration‘ section.
Now you can select the items you want to copy, for example:
- Copy contents of document root directory.
- Copy custom VirtualHost include files.
- Copy the installed SSL certificate.
You’ll also be able to copy Custom DNS records, this can be done in this way:
- Click Configure in the Custom DNS Records section heading.
- Select the Move Custom DNS Records checkbox.
- Click Save Selections.
Another thing you’ll want to copy are the Email accounts, email forwarders, and all the email related stuff. Click Configure in the Email section.
- Select the Copy email accounts checkbox.
- Select the Move email forwarders checkbox.
- Select the Copy autoresponders checkbox.
- Select the Copy webmail data checkbox.
- Click Save.
Copy / move MYSQL Databases from your addon domain
Follow this steps to copy your addon domain’s MySQL databases to your new account:
- Select Configure in the MySQL Database section heading.
- Click on the Copy button in the How do you want to transfer your MySQL Databases? section.
- Click on each checkbox next to the databases you want to copy.
- Enter your new database name for each one.
- Click Save.
Start your Addon Domain Conversion to cPanel account
After all this steps, you should be ready to convert Addon Domains to cPanel Accounts:
- Click Start Conversion.
Please let us know how the conversion finished and if you faced any problems during the process.