ADDING MULTIPLE SITES TO THE NGINX SERVER IN UBUNTU 14.04

We already have /etc/nginx/sites-enabled/default config for single site. Now our goal is to add multiple sites without using the default at all. Actually names don’t matter as long as you define your sites correctly

OK we won’t use default anymore, so remove it from sites-enabled. Sites-enabled only contains symlinks, the actual files rely on /etc/nginx/sites-available/