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 need to run different versions of PHP in your daily development environment, I’ll show you how to do it quite effortlessly. The main reason you might need this, is to test compliance with older PHP versions. Running PHP4 and PHP5 together isn’t as hard as you may think.