I am running Nginx 1.14 on Ubuntu 18.04.
I have a HTTP website I am working on. I have set up DNS for it but have not yet linked it to sites-enabled.
I have noticed that if I navigate to this site in Chrome I get the warning message
“Your connection is not private” and “ERR_CERT_COMMON_NAME_INVALID”. If I click on that it provides certificate details for another website with a completely different domain name I am hosting on the same server.
If I click on “Advanced” I get the option to proceed to the website I am working on. If I use that option I end up at the other website I am hosting.
I am not using the “default_server” option in that website’s server block.
I am wondering why I am not getting a “404 page not found” error when attempting to navigate to the site I am working on.