How to set up an Nginx Web Server in 3 easy steps
- Get a Server with Ubuntu
- Get a domain name
- Get WebCP.io web hosting control panel
In case you’re wondering how to set up an Nginx web server with PHP 7.2, mail, webmail, FTP, built-in optimisation and built-in security, you’re in luck. I’m going to show you exactly how it’s done. And it’s easier than you think.
1. Get a server:
Order your server or cloud server (minimum 4 Gb Ram) and install Ubuntu 18.04 on it.
2. Get a domain name:
Head on over to WebCP.io and get a free license for their Web Hosting Control Panel. Installation is super simple. Essentially you SSH into your new Ubuntu server and type:
[snippet slug=web-cp-installation lang=bash]
Follow a few prompts and you’re done!
You’ll now have a full-featured web server running Nginx and php7.2. It comes with a firewall, email management, etc etc and requires very very little server experience (the only server experience you need is being able to ssh in and type the one-liner above).
John is a freelance Full Stack Developer. Experienced in PHP, Laravel and Vue3/Nuxt3 he can code anything you need.
Based in South Africa, I am available for PHP, Laravel or Vue3/Nuxt3 freelance jobs in person or remotely.