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.
<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?