Moving your website to a new host is not complicated. One important thing to remember is to do it all at once. If you let the process linger, the old site will not match new one anymore. For a small site, allocate about 3 hours of uninterrupted time and get going. Here is your checklist.
Step 1: Prepare you old site for transfer
- Sign up for a hosting plan from the new host. Make sure that the plan matches your old plan: if you hosted your site on Linux, sign up for a Linux plan. Be prepared for your old and new hosting to overlap for a month.
- Use FTP program (Filezilla, for example) to log into your old account. Your old host should have sent you a username and password when you registered. If you do not remember your FTP login information, create a new FTP user through the old host's site.
- Find the folder with your website files and copy the whole folder onto your computer to a new folder. Let's name it My Site.
- Go the database manager (PHP Admin, most likely) through you old host's web interface and export your website database(s) in zip format.
Step 2: Move your website to a new location
- Using the FTP program, log into your new host and upload all the files from the My Site folder.
- Log into your new host's website management site and find database management program (PHP Admin).
- Import your database zip file. You will need to change the path to the database in your website configuration file.
- If you had scripts running on your old server, make sure they work - check the path. Read the documentation on the new host's website to make sure the scripts are placed in the right folders.
- If you had scripts emailing you, check that the path to the sendmail app is correct.
- Go to your new site using the IP address your new host sent you and check the site, make sure it is working.
Step 3: Change DNS Records
- Log into the website where you registered your domain.
- Go to Manage Domains and change nameservers to the new host nameservers.
- Wait for the change to take. Usually, the wait is less than a day.
- After you confirm that your new site has moved, cancel your old host's plan.