0

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.

Timothy Khouri
  • 31,315
  • 21
  • 88
  • 128
naveen
  • 1,078
  • 1
  • 13
  • 26

2 Answers2

1

Go to Azure manager (manage.windowsazure.com) select your site, then select configure.

Make sure that you have set your domain there.

marvc1
  • 3,641
  • 3
  • 25
  • 34
0

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.

mabako
  • 1,213
  • 11
  • 19