Reputation: 1068
When I go to my domain, it redirects to my Azure subdomain (x.azurewebsites.com). How can I fix this so that my domain doesn't redirect?
My config file:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="MyRule">
<match url="^(.*)$" />
<conditions>
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
</conditions>
<action type="Rewrite" url="index.php/{R:1}" appendQueryString="false" />
</rule>
</rules>
</rewrite>
</system.webServer>
</configuration>
Thanks in advance.
Upvotes: 0
Views: 167
Reputation: 1183
Have you tried looking at the documentation? If you're having a specific issue with any step, let us know, but at least try to put some effort into it.
Upvotes: 0
Reputation: 3699
Go to Azure manager (manage.windowsazure.com) select your site, then select configure.
Make sure that you have set your domain there.
Upvotes: 1