How to host a WordPress website on a VM simply

  • Create a Ubunutu 20.04 VM
  • Run the following commands via SSH
sudo apt-get update && sudo apt-get upgrade -y

wget -qO ee && sudo bash ee

sudo ee site create –type=wp –admin-user=admin –admin-pass=password

sudo ee site update –ssl=le
//for SSL


Subscribe to my Newsletter

No spam ever

Leave a Reply

Your email address will not be published. Required fields are marked *