Currently have an Azure CDN Premium Verizon (P1) Profile that is being used with an Azure Web App.
What is the best way to 301 redirect all requests to
YourWebsiteName.azureedge.net
and
YourWebsiteName.azurewebsites.net
To the Custom Domain: YourWebsiteName.com
Using the Rules Engine at https://cdn.windowsazure.com/http/rules/default.aspx
Don't want 3 URL's pointing to the same content.
Currently the URLs
- YourWebsiteName.Com
- YourWebsiteName.azureedge.net
- YourWebsiteName.azurewebsites.net
All points to the same exact content.
SEO wise this is not good and would like to know what is the best way to redirect the Two Azure provided URLs to the Custom domain for all requests.
When visiting all 3 URLs they work and I don't want them to.
Only want the Custom Domain: YourWebsiteName.com to be accessible to the public and Search Engines.
Only want 1 Domain the Custom domain to point to the content of the website and not the Azure URLs.