The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Migrating website to another host.

Discussion in 'General Discussion' started by me7, Oct 6, 2010.

  1. me7

    me7 Registered

    Joined:
    Oct 6, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I need to migrate a full site over to another host which has cpanel.

    I want to keep the site running until the transfer is complete. So here is my question.

    The host I am transferring to is running cpanel on a main domain. The domain I want to use is the name of the other site, but I don't want to just add the domain to the new host in cpanel because it'll break the site until the trasnfer is complete.

    So I need to transfer the site to cpanel then point the domain to the new host.

    BUT... how can I do that?

    How can I upload the full site and then point the domain to it later on.. because I know you have to add a domain in cpanel and it gives it its own ftp and directory.

    I tried testing by creating a new ftp user with access to a ftp directory. Then i uploaded some pages on that.. then i added a domain and made the user for it the same as the user for the previous ftp account along with the same directory.. it didn't seem to show up the pages when I went to the domain.

    Please help me out :D

    Thanks!
    Dan
     
  2. mayfielddigital

    mayfielddigital Registered

    Joined:
    Jan 9, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    You could try setting up the site on your new host using a dummy domain name and then when you're ready to make the switch, just change the domain name your new website is using. I have a .net version of my company domain name registered for this very purpose. However, the one problem you'll have using this method is that absolute URL references will point to the old host. I'll be interested to hear if there's a more elegant solution.
     
  3. Indianets

    Indianets Well-Known Member

    Joined:
    Jun 13, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    Hello,

    The best way is to -

    1. Get a full backup at your current host.

    2. Transfer the full backup (aka cpmove file) to your new host.

    3. Ask the new host to restore the cpmove file. (Optionally check with http://IP-ADDR/~username/ if your host allows)

    4. Change the Nameservers.

    Keep the site live on old hosting for a few days until you are sure the new DNS has been propagated to the globe.

    Use the IP to login to cpanel and ftp until the domain is propagated.

    - Vijay
     
Loading...

Share This Page