How To Create a URL Rewrite Rule for Azure Websites to use Single Custom DomainIntroduction
While hosting your website with two different domains and same content might cause slight issues on search engine rankings.
In case of Azure, we have:
Two active domains both on www.4sln.com and websitename.azurewebsites.net will cause Search engines to consider the earliest active website on ranking.
Simplest approach will be to include URL rewrite on publish web.config profile as:
this rule will redirect all of the hits from old URL to the new one.
comments powered by Disqus