I have created a website www.domain.com with the same host name on a Windows Server 2017 cloud server in IIS 10 and bound to SSL as HTTPS://
The issue I am having is that everytime I enter https://www.domain.com in my browser, a 301 error redirects to the non www https://domain.com which does not exist on the server.
There are no rules in URL rewrite/web.config file to drive this behaviour. In fact if I create a non-www to www redirect it just loops because of the above.
I have tried everything I can think of, including deleting and recreating the site but something in the background seems to be driving this.
Any suggestions appreciated