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

    Default How to copy xyz.com to abc.com

    How can I copy an entire domain to another domain on the same server?

    For example, I have xyz.com with a Wordpress install. A client doesn't want to use xyz.com anymore and wants me to use abc.com

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    If it's just one wp install, not installed by Fantastico or cPanel and nothing else on the account (like email) you might do fine to simply backup/compress the wp directory alone (using the File Manager for example), backup the database for it as well from cPanel and move them to the new account. Restore the DB, extract the wp install to where you want it, then edit the configuration for the new domain in the wp config file.

    Or you could make the abc.com an addon domain, then move the wp install to that new directory the addon creates. The database would still work with no changes but the site config would still need edited of course.

    Or, you could try editing the domain name itself on the account as root from WHM. YMMV there.

    Not sure if any of that's helpful or not..

  3. #3
    Member
    Join Date
    May 2008
    Posts
    1,203

    Default

    If the abc.com is not hosted on your domain then you can simply rename the domain name from xyz.com to abc.com by modifying the account.

    If the abc.com and xyz.com is hosted on your server then you will have to generate the full backup of xyz.com from cPanel and then need to restore it on abc.com.

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,555
    cPanel/Enkompass Access Level

    DataCenter Provider

    Lightbulb

    Quote Originally Posted by zartania View Post
    For example, I have xyz.com with a Wordpress install. A client doesn't want to use xyz.com anymore and wants me to use abc.com
    If "xyz.com" is the primary domain of the account and if "abc.com" is not yet setup, this can be accomplished by changing the domain of the account via the WHM control panel at the following menu path:
    WHM: Main >> Account Functions >> Modify an Account

    If "abc.com" is already setup, please ensure to remove it first before performing the change of the account's primary domain name.

    Related documentation:
    ModifyanAccount < AllDocumentation/WHMDocs < TWiki

Similar Threads & Tags
Similar threads

  1. xyz.com owned by another user but only vps.xyz.com exists
    By jabowery in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-31-2011, 02:41 PM
  2. Filtering mail by wildcard (abc.*@domain.com)
    By GuyScharf in forum E-mail Discussions
    Replies: 0
    Last Post: 03-19-2010, 02:57 AM
  3. root@server.xyz.com mails is genrating
    By ngchandak in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 02-04-2006, 12:02 AM
  4. httpd: bad user name xyz
    By mitul in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-05-2003, 01:56 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube