{"id":710,"date":"2013-11-01T07:09:39","date_gmt":"2013-11-01T00:09:39","guid":{"rendered":"http:\/\/whplus.com\/blog\/?p=710"},"modified":"2013-10-30T10:14:28","modified_gmt":"2013-10-30T03:14:28","slug":"move-addon-domain-as-a-standalone-cpanel-account","status":"publish","type":"post","link":"https:\/\/www.whplus.com\/blog\/2013\/11\/01\/move-addon-domain-as-a-standalone-cpanel-account.html","title":{"rendered":"Move addon domain as a standalone cpanel account"},"content":{"rendered":"<p>If you need to change an addon domain as a standalone cpanel account, follow these steps:<br \/>\nBackup<br \/>\n&#8212;&#8212;<br \/>\n1. Take a full backup of the user from Cpanel<br \/>\n2. Extract the backup onto your PC.<\/p>\n<p>Create as stand alone account<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n3. Remove that addon domain<br \/>\n4. Create that domain from WHM &#8211;> Create new account<\/p>\n<p>Restore web files<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br \/>\n5. Copy all web files of that addon domain from the backup to the new document root.<br \/>\n6. Change the ownership all files to newuser.newuser<\/p>\n<p>Restore DB&#8217;s<br \/>\n&#8212;&#8212;&#8212;&#8211;<br \/>\n7. Make sure the name of DB for each domain.<br \/>\n8. In backup directory there is a mysql directory. All DB&#8217;s are under that mysql directory.<br \/>\n9. Login to the new cpanel account of that new account.<br \/>\n10. Create a DB, DB user from Cpanel &#8211;> Mysql<br \/>\n11. Give all privileges to that mysql user to the corresponding DB from there.<br \/>\n12. Make sure to edit all mysql configuration files in the document root of that domain.<br \/>\n13. Restore the old DB to new DB.<\/p>\n<p>Restore mails<br \/>\n&#8212;&#8212;&#8212;&#8212;-<br \/>\n14. In the backup, we can see a directory named mail. Copy the directory of the domain from that directory to new accounts mail directory \/home\/newuser\/mail\/<br \/>\n15. Change the ownership of that directory under \/home\/newuser\/mail\/ to newuser.newuser<\/p>\n<p>Restore mail accounts with same password<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n16. In the backup we can see a directory etc. Copy the directory of the domain from that directory to new accounts \/home\/newuser\/etc\/<br \/>\n17. Change the ownership of that directory under \/home\/newuser\/etc\/ to newuser.mail<\/p>\n<p>That all folks<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you need to change an addon domain as a standalone cpanel account, follow these steps: Backup &#8212;&#8212; 1. Take a full backup of the user from Cpanel 2. Extract the backup onto your PC. Create as stand alone account &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; 3. Remove that addon domain 4. Create that domain from WHM &#8211;> Create new\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.whplus.com\/blog\/2013\/11\/01\/move-addon-domain-as-a-standalone-cpanel-account.html\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-710","post","type-post","status-publish","format-standard","hentry","category-tutorial"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/710","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/comments?post=710"}],"version-history":[{"count":1,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/710\/revisions"}],"predecessor-version":[{"id":711,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/posts\/710\/revisions\/711"}],"wp:attachment":[{"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/media?parent=710"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/categories?post=710"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.whplus.com\/blog\/wp-json\/wp\/v2\/tags?post=710"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}