How to migrate your Godaddy web hosting to DigitalOcean
Lately I've been reading some good articles about DigitalOcean as a cheap VPS option in online hosting and so I decided to try and subsc...

Since my wordpress website hosting is already expiring I decided to moved the hosting to DigitalOcean and renew the domain name in Godaddy.
Here's how I point my Godaddy domain to DigitalOcean VPS hosting and migrate my wordpress website:
*You must already have a DigitalOcean account with linked payment method (can be either a credit card or paypal).
*Copy all your wordpress files from Godaddy.
*Make a backup of your wordpress database.
- Create a droplet in digital ocean.
- Distribution = 15.04 x64
- Applications = Wordpress 14.04
- I chose $5 / month
- Follow this article to configure your server: https://www.digitalocean.com/community/tutorials/how-to-install-wordpress-on-ubuntu-14-04.
- Migrating your wordpress website:
- Using winscp, upload your files in your server's /var/www folder.
- Make sure that www-data user can write to the folders where it needed to, for example uploads. Note: use chmod. Note by default the uploaded files are owned by root, use chown and change the ownership to www-data.
- >chown www-data:www-data /var/www -R, change the owner and group of /var/www folder from root to www-data. This is done recursively.
- >chmod 774, means owner and group (read, write, execute) while others (read-only).
- Following the tutorial in #2, you should now have phpmyadmin installed. Restore your wordpress backup.
- We then need to point your domain name to the new ip address in digital ocean.
- To get your droplet's ip address, go to your digital ocean's droplet's page
- Now that you have your ip address, go to DNS, and add a domain record like this:
- We are done with digital ocean and we will now point godaddy's domain to digital ocean's server.
- In Godaddy expand Domains tab.
- Chose your domain then click Manage.
- In Settings tab, under Nameservers click Manage.
- Setup Type=Custom, then add the 3 nameservers below
- NS1.DIGITALOCEAN.COM
- NS2.DIGITALOCEAN.COM
- NS3.DIGITALOCEAN.COM
- After adding hit SAVE.
- You should now see the 3 name servers in the next screen.
>whois makeupchum.com
Common problems I've encountered:
- 2 widget were broken, need to set the content again
- some folders are not writeable when I uploaded need to execute chmod.
Post a Comment