Server block not routing correctly #nginxhelp
问题 I have setup an NGINX server with multiple server blocks. I have configured 2 simple websites to run on the same server. They point to two different root paths specified in the respective server block file. I have updated the DNS details for both the domains: Name Servers: updated details as per registrar A records: updated same static IP address However, when I test with domain2.com in the browser, it redirects to domain1.com. What am I doing wrong? I have already restarted the nginx server