troubleshooting Question

Azure Web App - HTTP Redirect - web.config file help

Avatar of AWI IT
AWI IT asked on
Microsoft IIS Web ServerWeb ApplicationsAzure
23 Comments1 Solution6536 ViewsLast Modified:

I have been trying to setup a Azure Web App with a custom domain name record and web.config file which can take care of http redirections for our domain.

I've configured the web app based on this technet article.

After following all the instructions I am unable to get the redirection to work. Here is the web.config file output which I am using.

                <rule name=”” patternSyntax=”ECMAScript” stopProcessing=”true”>
                    <match url=”” />
                    <action type=”Redirect” url=”" appendQueryString=”false” redirectType=”Permanent” />

When I try to connect to I receive the following message.

The page cannot be displayed because an internal server error has occurred.

Can anyone please help me understand what I am doing wrong here?

Dan McFadden
Technical Lead - Active Directory

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 23 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 23 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros