How I build a LEMP (NGINX) server for WordPress

Connecting your server

First and foremost we need WordPress, and a folder for our webserver. To get wordpress, we’re going to use wget, and unzip, and download our files to /var/www;


Now you’re ready to restart your web server!

If all goes well, both servers should restart without error.


Now we need to provide some sort of DNS record for our server. If you’re rolling with a local VM, you probably need to edit theĀ local hosts file. Otherwise if your running a VPS, you’re going to need to setup DNS (an A-Record).

To get the IP address of your virtual machine,

Pages: 1 2 3 4 5