[HELP] moving shared hosting to digital ocean

wilder31

Regular Member
Joined
Oct 18, 2019
Messages
317
Reaction score
77
hey guys,
thanks a lot for always helping this newbie.

I am trying to moving hosting from shitty shared one to DO,

I found out that hosting a new WP on DO is pretty simple.

but thing is, moving the existing wp to DO...
I don't understand nothing about linux command so,

is it still working that if I setup a wp hosting plan on DO and
direct my DNS server,

and then can I import the exported existing WP using wp plugin?
will that be the same?

in this way,
the moving is much easier i think...

i spent whole day for this..
please help me out
 
Just follow this tutorial step by step for setting the server up.
Code:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

Your files will probably be saved in /var/www/html

Your ftp (sftp) credential is the exact same as your ssh login details.

For ssh login, type this in your terminal (win/mac/linux)
ssh [email protected]


I would recommend using Cloudflare flexible SSL because it can get a bit messy for you to install the SSL (but it's always a good thing to learn) manually.

For phpmyadmin, download the following (direct phpmyadmin site link.. not my files. be sure to scan locally)
Code:
https://files.phpmyadmin.net/phpMyAdmin/5.1.1/phpMyAdmin-5.1.1-all-languages.zip

Unzip this and upload into a folder in your web root (/var/www/html/phpmyadmin for example. Then you can access yourdomain.com/phpmyadmin).

Also, it is extremely easy to exactly clone your existing site. No other tools needed. Just copy the same file structure and db. If your new host's domain is the same, it will work by default (you might need to purge cache though, coz the cache paths would probably be different being auto generated).



P.s. you can point your domain to be managed from digital ocean too.

If you want to do that, remove the default nameservers for the domain and add
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com


Then login to your D.O. account, go to networking and add the domain there.


If you have any specific questions or you need some help with the above, please do tag me in this post. I will answer it for you :)
 
Last edited:
just setup a new wordpress on your digitalocean account and import your existing wordpress site using any of the free plugins available like updraft
post here incase if you face any issues I will be happy to help you out
 
I assume you can always rely and ask your new web hosting provider for help with this matter.
 
just setup a new wordpress on your digitalocean account and import your existing wordpress site using any of the free plugins available like updraft
post here incase if you face any issues I will be happy to help you out
+1

Normally I would download a full backup of the WP files, download SQL data via phpmyadmin - then upload files to new webhosting, create new db, edit wp-config, import SQL data via phpmyadmin and start editing necessary tables (wp_options, etc). issue is it might be tricky for you if you have no clue what you are doing, therefor - just go with @pavan :cool:
 
Moving to a Cloud server is a good decision, choosing the Digital ocean is also good decision

But you better go with Cloudways

They provide free migration / better-managed server with 24/7 support/access to 5 servers ( DO / aws / vultr exc.... )

choose wisely
 
I use DO but I think I do it the hard way ie Bare server and I do installations myself via SSH.
I don't know if DO has auto installers for WordPress but if they do, you should certainly go with that and use a plugin to migrate the WP Data.

But If they don't, it would be great to install a free Control Panel like ISPConfig or CentOS Web Panel. The installation is the only hard thing you will need to do.

After that, you can just create a new site like you would on cPanel and use a one click installer to install WordPress on that site.

Note: Some of the free Control Panels also installs PHPMyAdmin.
 
Just follow this tutorial step by step for setting the server up.
Code:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04

Your files will probably be saved in /var/www/html

Your ftp (sftp) credential is the exact same as your ssh login details.

For ssh login, type this in your terminal (win/mac/linux)
ssh [email protected]


I would recommend using Cloudflare flexible SSL because it can get a bit messy for you to install the SSL (but it's always a good thing to learn) manually.

For phpmyadmin, download the following (direct phpmyadmin site link.. not my files. be sure to scan locally)
Code:
https://files.phpmyadmin.net/phpMyAdmin/5.1.1/phpMyAdmin-5.1.1-all-languages.zip

Unzip this and upload into a folder in your web root (/var/www/html/phpmyadmin for example. Then you can access yourdomain.com/phpmyadmin).

Also, it is extremely easy to exactly clone your existing site. No other tools needed. Just copy the same file structure and db. If your new host's domain is the same, it will work by default (you might need to purge cache though, coz the cache paths would probably be different being auto generated).



P.s. you can point your domain to be managed from digital ocean too.

If you want to do that, remove the default nameservers for the domain and add
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com


Then login to your D.O. account, go to networking and add the domain there.


If you have any specific questions or you need some help with the above, please do tag me in this post. I will answer it for you :)
thanks a lot Gogol!
actually one of the thread you advised let me try digital ocean!
ton of thanks and will try!
 
I use DO but I think I do it the hard way ie Bare server and I do installations myself via SSH.
I don't know if DO has auto installers for WordPress but if they do, you should certainly go with that and use a plugin to migrate the WP Data.

But If they don't, it would be great to install a free Control Panel like ISPConfig or CentOS Web Panel. The installation is the only hard thing you will need to do.

After that, you can just create a new site like you would on cPanel and use a one click installer to install WordPress on that site.

Note: Some of the free Control Panels also installs PHPMyAdmin.

DO does have one-click WordPress install options when setting up a server. They also have their App Platform offering for building and scaling Node.js, Python, Django, Go, PHP, Laravel, React, Ruby, Ruby on Rails, Gatsby, Hugo, and static sites.
 
thanks a lot Gogol!
actually one of the thread you advised let me try digital ocean!
ton of thanks and will try!
Here's a secret. You won't need to do anything manually. Just use docker. It does take a bit of time to learn docker properly, but you will thank yourself for taking the time, later. Making a complicated server setup with multiple instances for different services is pretty easy, with docker. May be try it out. :D

I don't really recommend the one click install for anyone. Yes it solves the problem, but you never learn anything if you do that. One day, if your server starts having issues with something (could be anything... for example your mysql server crashes due to insufficient ram), you will have a pretty hard time figuring out what to do.

If you want to use a vps, you should take the time to learn how to use it in a proper way. Avoid one click installers, for now atleast.
 
man best suggestion is go to FIVERR hire someone and they will do it (or find someone in BHW) - it will make your life easier

Also once done - you dont need to pay again and again. Plus it will not cost you more than $50
 
Since you don't know about linux commands, it might be better to use Cloud Management services, it will make your life a lot easier.

With Free Plans
Code:
https://setupserver.io/pricing
https://ploi.io/pricing
https://moss.sh/pricing/
https://www.vepp.com/pricing
https://zoomadmin.com/Pricing

Paid Plans
Code:
https://runcloud.io/pricing
https://serverpilot.io/pricing/
https://www.cloudways.com/en/plans.php
 
Back
Top