In case you’re wondering how to set up an Nginx web server with PHP 7.2, mail, web mail, FTP, built in optimisation and built in security, you’re in luck. I’m going to show you exactly how its done.. And its 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:
cd /tmp && wget https://api.webcp.io/downloads/2.0.0/setup/installer.sh && chmod 755 installer.sh && ./installer.sh && rm -fr /tmp/installer.sh
Follow a few prompts and your 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 McMurray is a freelance PHP developer. Experienced in PHP, Laravel and WordPress he can code anything you need.
Based in Plettenberg Bay, Western Cape I am available for PHP, Laravel or WordPress freelance jobs in Johannesburg, Pretoria, Cape Town, Port Elizabeth. I also often do remote PHP freelance work all over South Africa and the rest of the world.