Problem with virtual hosts using nginx on on ubuntu

Problem after following this guide–3 virtual hosts didn’t work. All access was going to default root.

I need to create symbolic links of the virtual hosts in sites-available to sites-enabled
# sudo ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/
# sudo ln -s /etc/nginx/sites-available/ /etc/nginx/sites-enabled/


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.