In my eyes, the easiest way would be to create a new Ubuntu droplet and install LAMP stack (Apache, MySQL, PHP) on it. Then once you are ready just copy the files of your website from Azure to DigitalOcean either via FTP or Rsync/SCP.
If you are not sure how to do any of those, I’ll recommend following a couple of tutorials. You can start with the following one :
It will walk you through the process of installing all the needed components.
Now, onto the migration part. As said there are two options. The first one would be using a Terminal and copying using it. That way you would be able to use Rsync/SCP to copy your files over which is pretty cool and quick. The second option would be using FTP. Before you can actually use FTP on your DigitalOcean droplet, you would need to configure your user’s access with FTP. There is a pretty good tutorial on Digitalocean on how you can do this. You can check that here
As soon as the files are copied over change the DNS of your domain and you are good to go!
Another possibility would be to create a WordPress Droplet from the MarketPlace:
It will automatically install Apache, MySQL,PHP, and everything else you might need. Then you can configure your domain and it will install WordPress.
Once it installs WordPress, just replace those files with your WordPress files and you should be good to go! Just don’t forget to update the database as well and change the DNS of your domain afterward.
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This stack typically consists of the Linux operating system, the Apache web server, a MySQL database, and PHP, a dynamic content processor. This tutorial serves as a guide for installing these components on an Ubuntu 18.04 server.