Question

How To Migrate Existing Opencart Site to DIgital Ocean?

I have created a droplet with Ubuntu 18 on Digital Ocean. What I want is to migrate an existing opencart site to Digital Ocean + install FastPanel (I used CPanel before; FastPanel is installed by https://fastpanel.direct/wiki/ru/how-to-install-fastpanel instruction).

  1. Do I need to install opencart on digital ocean (like download zip file from opencart site, unzip it and go to index.php) OR just migrate the dir which contains all files of site?
  2. Where do I need to make DNS records for the domain of the site? In FastPanel or in DigitalOcean account?
  3. Are the DNS records in DigitalOcean identical to the DNS records in FastPanel? If I add a domain in FastPanel and make a MX record to it will it be shown in my DigitalOcean acoount? Thank you in advance.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @rexadmin,

Firstly, I’ll recommend against using Ubuntu 18.04, but using Ubuntu 22.04 as it’s the newest stable version while 18.04 is soon or if not already EOL.

You need to install FastPanel or you can use the Marketplace and select the Fastpanel image :

https://marketplace.digitalocean.com/apps/fastpanel

I’ll recommend using that because it’s the most straightforward.

Once you a Droplet with Fastpanel, you’ll have more options on how to migrate your App. What I’ll suggest is creating an account for your Domain in Fastpanel(once you have it installed) and migrating the data in that account. You should be able to use FileZilla or directly SCP from your SSH.

As for the DNS, you need to create the records where your Nameservers are. You can have the DNS be hosted on DigitalOcean. Read more about that here:

https://docs.digitalocean.com/products/networking/dns/

  1. The DNS changes need to be done where your Nameservers are. So if you are using ns1.digitalocean.com, ns2.digitalocean.com, and ns3.digitalocean.com you’ll need to use the DigitalOcean panel to manage your DNS.

  2. The DNS in FastPanel won’t matter unless you create your own Nameservers and tie them up to your FastPanel Droplet.

Hi @rexadmin,

First, you need to install FastPanel, configure it on your Droplet, and after that think about migrating your website.

Additionally, once you have a panel installed on your Droplet, you should have more options on how to migrate your App. What I’ll suggest is creating an account for your Domain in fastpanel(once you have it installed) and migrating the data in that account. You should be able to use FileZilla or directly SCP from your SSH.

As for the DNS, you need to create the records where your Nameservers are. You can have the DNS be hosted on DigitalOcean. Read more about that here:

https://docs.digitalocean.com/products/networking/dns/