I created a new site in IIS (local.account-custom-catalogs.abc.com) and I am able to ping the site as well, however, when I try to add the corresponding entry in the upstreams:
upstream web_blue_custom-catalog {
zone abc-account-manage 64k;
server local.account-custom-catalogs.abc.com:443;
}
Nginx fails to restart and logs the following error:
host not found in upstream "local.account-custom-catalogs.abc.com:443" in /etc/nginx/conf.d/upstreams.conf:91
I have similar entries for other microsites that were created in IIS with an automated scripts and when I point the server to any of those existing ones, it starts working. Any idea what I might be missing? I am 99% sure it's the local website creation where I might have missed a step but don't see anything different compared to the existing sites that are working