If you are looking into switching to a web host with better services, products and prices, the process of transferring your websites can be either seamless or a tragedy. If you just copy and paste files, you will risk losing emails, traffic, databases, and may face the wrath of your audience.
Here is then a complete guide on how to switch, with the objective of having zero downtime, and have at the same maximum availability of the website:
- Stop any Search Engine Campaign, PPC advertising, content promotion campaigns, or publication of new content on your website
- Do a backup of your emails
- Choose your web hosting product: shared web hosting, dedicated servers, or advanced solutions.
- Setup your web server and the OS (such as optimization, security, updating to latest version via available mirrors)
- Install your web server, programming languages, gems and libraries required for your setup
- Create the domain on your new web server
- Transfer the static files saved from step2
- Export the database to a SQL text file from your old host, import it into the database of your new web server
- Test the website, with the new temporary URL provided by iWeb. In the case of a dedicated server, you could also use directly a IP address provided to you.
- If there is any problems, or if you think it requires fine-tuning and optimization, go back through the different steps, from step 5
- Choose a day for your switch. One tip: use your website analytics software to choose a date, by looking for a day and hour with low traffic. Typically, the night from saturday to sunday is a good choice.
- Send a newsletter to your customers, partners and website visitors, announcing them that there’s a planned maintenance on a given period, with your contact information
- Now, you need to setup the database. This step can be difficult to implement, and you might need the help of an experienced system administrator. There are 2 ways to do it: the easy way is to export the latest version of your database and then import it. If there is sensible and critical data, you need to setup a S-Tunnel or secure synchronization link between the 2 databases so that new changes are reflected into the new one.
- Change DNS Settings from your domain name registrar. Point the new server to the domain name, by inputting IP adresses for your DNS primary servers (NS1 & NS2)
- Upload a static maintenance page on your old web server. Note: you can choose to go through this previous to step 15, depending on your setup.
- The propagation of the new DNS settings can take from 15 minutes to 24 hours. It means a few users will see right away the website from your new web server, but most people will take up to 1 day to see the new changes. For this transfer, you need then to ask your old web hosting provider to suspend your account and stop payement, 72 hours after the DNS switch.
- Last (optional) update to do: change your emails settings in your email software (Microsoft Outlook, Mail.app, Thunderbird)
Voilà! Of course, if you have multiple websites, you have to go through this process for each website. I hope this guide will be useful for you, to get quickly a website online with iWeb