As some of you may be aware I had recently shifted one of my big sites from dreamhost to hostgator.dreamhost-to-hostgator Moving webhosts is always a painful process, I have jotted some points below from my experience which may help you move from one webhost to another in a seamless manner.

  1. First things first – Change TTL for your domain to some very low value ( at least 2-3 days before moving) so that DNS propagation could be very fast.
  2. Some people suggest to add the new name servers at #2, #3 priority to your older webhost name servers panel.
  3. Create a new database at the new webhost and assign a user to it. It’s always a good idea to use a fresh database for a given site.
  4. Make sure to update the MX records in your new web panel. This is important otherwise your domain specific emails won’t work.
  5. If your host is hostgator and you use Google Apps, make sure to ask hostgator to open various ports. For security sake, many ports on Hostgator are either completely blocked or are only available for outbound emails. You can use a query on SSH telnet mail.authsmtp.com 26 to check for example whether the port 26 is open for mail.authsmtp.com. Similarly telnet pop.gmail.com 9595 to check port 9595.
  6. Configure various cron jobs you may have created earlier.
  7. Change the database info on your config.php files. I had to change at 3 locations dap-config.php, osticket and wp-config.php
  8. Make sure your DNS settings looks the same as they were with your earlier webhost.

Bonus: Here are some commonly used port numbers available for Hostgator

What other precautions/tips would you suggest while moving webhosts?

Pin It on Pinterest

Share This