1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

ELI5- How do I move a website to a new host with no downtime?

Discussion in 'Web Hosting' started by CjTheFish, Jul 21, 2016.

  1. CjTheFish

    CjTheFish Junior Member

    Joined:
    May 3, 2014
    Messages:
    108
    Likes Received:
    13
    Hello! Where to begin...

    I've decided I'd like to move my adult wordpress website offshore. I've been meaning to leave GoDaddy now for quite some time and decided that offshore hosting would be the best solution for me. Essentially the site is a blog where I embed pornhub videos or upload images of pornstars found on Tumblr. I don't believe I'm in violation of any DMCA, but due to uploading images of pornstars found on tumblr etc I'd rather move offshore to avoid any trouble.

    I've spent the last two weeks researching how exactly to do this with no downtime on my site, but before I pull the trigger and do that I thought I would post a thread here as well to get any last minute tips. My site ranks 1st for a very popular pornstar related keyword and I'd hate to loose this position.

    Here's what I understand so far-

    I must set up and purchase the hosting for the account with my new host. (Undecided at this time, open to recommendations)

    Zip up my wordpress files and import them into my new hosting account.

    Make a copy of my database and import it into PhpMyadmin.

    Point domain name hosted at GoDaddy to my newly hosted website.

    --

    While this seems like a simple process and I'm not new to File manager or cpanel, PhpMyadmin is where I'm a bit nervous about messing up on. I absolutely cannot have any broken links or missing content.

    If anyone could kindly dumb this process down a bit more for me I would be greatly appreciated, or even point me in the direction of some ELI5 type tutorials. Like I said, I've been researching this decision for several weeks but just wanted to post here to get any last minute advice from the pros ;)

    Thanks!
     
  2. TAQIUDDIN

    TAQIUDDIN Newbie

    Joined:
    Apr 14, 2014
    Messages:
    31
    Likes Received:
    7
    There is nothing to worry. Dont delete your old hosting. If anything goes wrong, just change back your dns to old one. Then, repeat the step & change again to new dns.
     
  3. CenTex Hosting

    CenTex Hosting Jr. VIP Jr. VIP

    Joined:
    Nov 8, 2009
    Messages:
    2,108
    Likes Received:
    797
    Gender:
    Male
    Occupation:
    Founder/CEO
    Location:
    Austin, TX
    Home Page:
    Your new host should be able to help you with migration.

    If not you would migrate everything over and leave a copy on the old server. Once you have everything set up on the new server then change and point the domain to the new server. Over the next few hours its going to bounce back and forth between the two servers once that is done then you can close out the old hosting plan. Should not have any down time.
     
  4. MonsterMag

    MonsterMag Power Member

    Joined:
    May 2, 2015
    Messages:
    602
    Likes Received:
    417
    Occupation:
    Self
    Location:
    My Journey Discussion
    If you are logging important stuff in your DB (like internal statistics, orders of customers etc) take your site down for a very short time while setting up the DB on the new server and use only the new DB before you initiate the DNS-change to make sure you have all the data up2date and in one place.
     
  5. ThatSEO

    ThatSEO Jr. VIP Jr. VIP

    Joined:
    Jan 22, 2016
    Messages:
    734
    Likes Received:
    313
    Gender:
    Male
    Occupation:
    Self employed marketing stuff
    Location:
    Sometimes UK
    Upload and have live on the new host. I tend to just put a . at the end of the my new hosted website. Quick way of seeing that everythings migrated
     
  6. HudsonWebServices

    HudsonWebServices Jr. VIP Jr. VIP

    Joined:
    Nov 28, 2015
    Messages:
    822
    Likes Received:
    127
    Location:
    Texas, US
    Home Page:
    I definately agree with mr. CentTex man. This is the best way to check is use something like https://www.whatsmydns.net/ Also ask the new host if they can transfer this for you. This generally is the best option.
     
    • Thanks Thanks x 1
  7. CjTheFish

    CjTheFish Junior Member

    Joined:
    May 3, 2014
    Messages:
    108
    Likes Received:
    13
    Thanks for all the quick responses!

    I've read that its not smart to inform your current host of your intentions to move away from them as they may terminate your hosting...Is GoDaddy generally good about assisting in migration or should I avoid letting them know?

    I think I will follow the advice of migrating while leaving a copy, that way I can revert back if I do make a mistake.

    Thanks again!
     
  8. BlogPro

    BlogPro Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2012
    Messages:
    551
    Likes Received:
    476
    Home Page:
    1. If it is a simple wordpress site with nothing out of the ordinary, get a plugin like Duplicator installed on your current host. Run it once. It will generate a zip archive and an installer.php file.

    2. Get a new hosting account, add your domain, now upload the zip archive and the installer.php to this host and make an SQL database and user.

    3. Now edit your computer's hosts file and add the IP of the new server along with your domain name. It should look something like this -
    xx.xx.xx.xx mydomain.com

    4. Now when you visit mydomain.com in your browser, it will point to your new host.

    5. Now visit mydomain.com/installer.php and run the install. Add the database credentials and install the site. Your old site will essentially be cloned now.

    6. Verify everything is working on the new host. Check pages, permalinks, images etc.

    7. Once you're satisfied, delete the line from your host file and change the nameservers at your registrar.

    8. Now the domain should resolve with zero downtime, once a couple days have passed and your new server is working fine, delete the old hosting account.
     
    • Thanks Thanks x 1
  9. Anonymously

    Anonymously Jr. VIP Jr. VIP

    Joined:
    Apr 23, 2016
    Messages:
    419
    Likes Received:
    119
    Home Page:
    Any hosting provider that is a sore loser will do this.

    About the migration, yes it's possible to migrate without downtime. Your new hosting provider should take care of this. That's their specialty.