Avatar of AWI IT

asked on 

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


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=”projects.domain.com” patternSyntax=”ECMAScript” stopProcessing=”true”>
                    <match url=”http://projects.domain.com” />
                    <action type=”Redirect” url=”https://domain.sharepoint.com/sites/pwa/default.aspx" appendQueryString=”false” redirectType=”Permanent” />

When I try to connect to projects.domain.com 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?

Microsoft IIS Web ServerWeb ApplicationsAzure

Avatar of undefined
Last Comment
Dan McFadden

8/22/2022 - Mon