Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2010
    Posts
    1

    Default Move a addon domain to main domain

    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

  2. #2
    Member
    Join Date
    Aug 2007
    Posts
    6

    Default

    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.

Similar Threads & Tags
Similar threads

  1. Addon domain redirects to main domain
    By prkl in forum New User Questions
    Replies: 4
    Last Post: 09-13-2010, 10:08 PM
  2. Replies: 1
    Last Post: 01-09-2010, 02:33 AM
  3. Can I move an addon domain from server 1 to be a main domain on server 2?
    By Ralf Skirr in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-23-2009, 10:12 AM
  4. HELP! addon domain points to main domain path when browsing
    By SetLar8 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-23-2006, 06:32 AM
  5. Setting Main Account Domain as Addon Domain (uh oh)
    By Lizardsoft in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 04-03-2004, 04:23 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube