My LEMP Setup Guide would not be complete if it didn’t show you how to setup your first virtual host (using your own domain name). This step will give you a good reference for setting up as many virtual hosts as you need on your server.
If you are interested, like I am, in setting up your own web server and hosting your own projects then I hope you will follow along. This guide will walk you step by step on setting up a LEMP stack (Linux, Nginx, MySQL, and PHP).
If you are a CodeIgniter enthusiast, you know that finding rewrite rules for Apache (htaccess file) is relatively easy, but doing the same for Nginx rewrite rules is not all that simple. Use these Nginx rewrite rules to get your next CodeIgniter project up and running.