Unknown 301 redirect


my domain is has an additional 301 redirect that does not conform to the rules I have listed in the web.config.

three of the four versions of my domain direct to the correct location of https://mydomain.com. the problem is with the specific format of: http://www.mydomain.com. it has two redirects.

the four configurations of the domain and the resulting redirect results:

http://www.mydomain.com >301> https://www.mydomain.com >301-200> https://mydomain.com

http://mydomain.com >301-200> https://mydomain.com

https://www.mydomain.com >301-200> https://mydomain.com

https://mydomain.com >200> https://mydomain.com

how do I eliminate the additional 301 in the first case so that http://www.mydomain.com redirects just once to https://mydomain.com?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,831 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    Comments have been turned off. Learn more