Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Move a addon domain to main domain

Discussion in 'General Discussion' started by Siti Livorno, Jul 25, 2010.

  1. Siti Livorno

    Siti Livorno Registered

    Joined:
    Jul 25, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    51
    Hello i have a cpanel account with a lot of addon domains, is there a way to convert the addon domains in main domain accounts. to put it out from the addon structure into the whm List Account structure ?

    Thanks,
    Sebastian
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. angitha

    angitha Member

    Joined:
    Aug 16, 2007
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    51
    It is possible but you will have to do it manually. There is no cpanel script for doing this. You can do it using the following steps:
    1) Take a backup of your addon domain(cp -arp /home/username/public_html/addon.com /home/username/public_html/addon.com_bk , mysqldump addon_db >addon_db.sql)
    2) remove the addon domain from domain's addon list from cpanel.
    3) create a new domain with addon domain's name
    4) restore public_html and databases to newly created domain.
    You can also take a backup of email filters, emails and forwarders and restore it after creating the domain. Make sure you change the permission of the files after restore.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice