Question
Multiple sites using nginx
I was able to set up nginx server blocks as per this tutorial. When I try to access the sites through the respective domain names I am directed to the same site. I’m not sure if this is an nginx issue or a dns issue.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
Paste your Vhost(s) from nginx.
I have two files:
One:
Two: