{"id":44222,"date":"2018-06-19T11:45:00","date_gmt":"2018-06-19T16:45:00","guid":{"rendered":"https:\/\/blog.cpanel.com\/?p=44222"},"modified":"2018-06-19T11:45:00","modified_gmt":"2018-06-19T16:45:00","slug":"cpanel-whms-convert-addon-to-account-tool","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/cpanel-whms-convert-addon-to-account-tool\/","title":{"rendered":"cPanel & WHM’s Convert Addon to Account tool"},"content":{"rendered":"
In the blog post “Managing Multiple Domains from a Single Hosting Account<\/a>,” we explain how to manage different domains you may own in a single cPanel hosting account. There may be certain circumstances or occasions where you will want to split off an addon domain into its own cPanel account. In the following blog post, we will show you exactly how to accomplish this! Users with root-level access or resellers with the “Rearrange Accounts<\/a>” Privilege will have access to move an addon domain into its own separate cPanel account.\u00a0 So let’s get started!<\/p>\n Once you\u2019re logged in to WHM, choose the \u201cConvert Addon Domain to Account\u201d tool from the sidebar. You will then be presented with a list of Addon domains and their associated cPanel account username. Use the search box at the top of the list to reduce the number of displayed domains, or click the navigation buttons along the bottom to scroll through all the addon domains. Once you locate the domain you want to extract, click \u201cConvert.\u201d<\/p>\n <\/a><\/p>\n You will then be taken to a second interface where you are allowed to choose the new username, define the new account\u2019s package,\u00a0and a slew of other options.<\/span><\/p>\n <\/a><\/p>\n One of the more helpful features of Converting Addon domains to their own accounts includes the ability to move MySQL databases and users, as shown in the following screenshot:<\/p>\n <\/a><\/p>\n When clicking on the “Configure” button for MySQL databases, you’ll see the screen above, with the option to either move or copy your MySQL databases and users.\u00a0 If you want to move or copy either or both of these options, please make sure to click the checkbox under the Database and User sections.<\/p>\n <\/a><\/p>\n This will allow for the Convert tool to move both the database and user for the selected addon domain.<\/p>\n Once the addon domain has been converted to its own cPanel account, you will now see the start and end times of the completed addon conversion:<\/p>\n <\/a><\/p>\n Logs for each conversion are stored on the server and are viewable in the same WHM interface. Here\u2019s one example (including an example\u00a0warning\u00a0that is normal in our testing environment):<\/p>\n <\/a><\/p>\n <\/p>\n Using cPanel & WHM\u2019s command line utilities you can easily initiate an addon-to-account conversion on the command line as well. In this case, you will use the\u00a0convert_addon_initiate_conversion<\/a>\u00a0WHMAPI1 call. For example, to extract the\u00a0bvcptestaddon2.com<\/a>\u00a0domain to a new cPanel account bvcp2addon, you would use this command:<\/p>\n Check out the\u00a0convert_addon_initiate_conversion documentation<\/a>\u00a0for more information on that API call,<\/p>\n If you aren\u2019t familiar with the Command Line Utilities (introduced in cPanel & WHM Version 11.52), please take a look at the related blog post that explains their usefulness at\u00a0cPanel\u2019s Command Line API Tools<\/a>!<\/p>\n The conversion tool is incredibly straightforward, and intentionally very easy to use. If you have any questions about it or the API tools feel free to reach out to\u00a0our support team<\/a>, ask questions on the cPanel forums<\/a>,\u00a0find us on twitter<\/a>,\u00a0Discord<\/a>,\u00a0Slack<\/a>, or the Official\u00a0cPanel subreddit<\/a>!<\/p>\n","protected":false},"excerpt":{"rendered":" This post was originally added to our blog on Aug 18th, 2016. It has been updated for accuracy, and readability. In the blog post “Managing Multiple Domains from a Single Hosting Account,” we explain how to manage different domains you may own in a single cPanel hosting account. There may be certain circumstances or occasions […]<\/p>\n","protected":false},"author":77,"featured_media":64973,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[2069,2073,2077],"class_list":["post-44222","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-products","tag-account","tag-addon","tag-tool"],"acf":[],"yoast_head":"\nThe WHM Interface<\/h1>\n
The Command Line Option<\/h1>\n
whmapi1 convert_addon_initiate_conversion domain=bvcptestaddon2.com user=bvcp2addon<\/pre>\n
It\u2019s that easy!<\/h1>\n