Hello,
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.
https://social.technet.microsoft.com/wiki/contents/articles/32229.azure-create-an-url-rewrite-azure-web-app.aspx
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.
<configuration>
<system.webServer>
<rewrite>
<rules>
<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” />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
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?
Thanks.