How do I move my wordpress website & domain name from "A small orange" to Digital Ocean?

February 22, 2016 2.5k views
WordPress DigitalOcean

I want to move my wordpress website from "a small orange" to "digital ocean. How do I do that?

Also, if I bought my domain name from "a small orange", how do buy more time for owning my domain name; but not from "a small orange"?

5 comments
  • You'll have to setup a server (droplet) on digital ocean, then you can install wordpress on your new droplet and copy your wordpress directory over to the new server. Also, you can change the DNS records to reflect digitalocean and your new server.

    As far as domain transfer, I'm not completely sure how to transfer it so that you're paying a new registrar.

  • @RaqibZaman - Data-wise, you need to export your wordpress database(s), as well as take a snapshot of your current Wordpress installation (to include current themes and plugins) from your current provider. Once you have these, then I recommend starting with a 1-click DO LAMP installation onto a minimum of 1G mem system config (currently $10/month). Once you have that new install working, then take a snapshot of the datatabase and Wordpress installations and set those aside so you can get back to a stable state should your import of your existing site start to fail.

  • For domain transfer: many domain registeries support name server changes. You simply change your current name server (ns) to digitalocean's name servers:
    ns1.digitalocean.com
    ns2.digitalocean.com
    ns3.digitalocean.com

    and then edit digitalocean's DNS instead of yours.

  • I would install first Ubuntu 14.04.02 on a 5$ VPS, then I would install:
    Nginx 1.9.11
    PHP7-FPM
    MySQL (latest stable)
    Redis (latest stable)
    Then you install WP and set it up, after you have done that, you add the Redis WP plugin as per this guide: https://www.digitalocean.com/community/tutorials/how-to-configure-redis-caching-to-speed-up-wordpress-on-ubuntu-14-04

    Your website will then FLY! But it wont have your regular domain or regular content.
    You can then export the WP from your old host and import into the new host.

    After that is done, you just need to change your domain so it points to the new server, also set up your webserver for your domain and subdomains. I would as they say above use the nameservers of DO, so you can manage subdomains in your DO account.

    I would also use the floating ip. Inside "Networking" on DO you get a floating IP and assign it to your droplet. Then you set your A-name of your domain to point to your floating ip. The good thing about this is that you can make a new droplet later and then just swap the floating ip over to your new droplet.

    If you set up your new webserver before you move your domain, you can get it set up properly without downtime.

    by Scott Miller
    Redis is an open-source key value store that can operate as both an in-memory store and as cache. Redis is a data structure server that can be used as a database server on its own, or paired with a relational database like MySQL to speed things up. For this tutorial, Redis will be configured as a cache for WordPress to alleviate the redundant and time-consuming database queries used to render a WordPress page. The result is a WordPress site that is much faster.
  • Hello , all worked great @olavamjelde , Nginx ,PHP7-FPM, MySQL, Redis , had wordpress up and runing but the WP-redis plugin killed the site, are you sure its working with .php7 ? Whatelse can i do now ?

    HTTP ERROR 500

1 Answer

This question was answered by @olavamjelde:

I would install first Ubuntu 14.04.02 on a 5$ VPS, then I would install:
Nginx 1.9.11
PHP7-FPM
MySQL (latest stable)
Redis (latest stable)
Then you install WP and set it up, after you have done that, you add the Redis WP plugin as per this guide: https://www.digitalocean.com/community/tutorials/how-to-configure-redis-caching-to-speed-up-wordpress-on-ubuntu-14-04

Your website will then FLY! But it wont have your regular domain or regular content.
You can then export the WP from your old host and import into the new host.

After that is done, you just need to change your domain so it points to the new server, also set up your webserver for your domain and subdomains. I would as they say above use the nameservers of DO, so you can manage subdomains in your DO account.

I would also use the floating ip. Inside "Networking" on DO you get a floating IP and assign it to your droplet. Then you set your A-name of your domain to point to your floating ip. The good thing about this is that you can make a new droplet later and then just swap the floating ip over to your new droplet.

If you set up your new webserver before you move your domain, you can get it set up properly without downtime.

View the original comment

by Scott Miller
Redis is an open-source key value store that can operate as both an in-memory store and as cache. Redis is a data structure server that can be used as a database server on its own, or paired with a relational database like MySQL to speed things up. For this tutorial, Redis will be configured as a cache for WordPress to alleviate the redundant and time-consuming database queries used to render a WordPress page. The result is a WordPress site that is much faster.
Have another answer? Share your knowledge.