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.

4

2 回答 2

1

转到 Azure 管理器 (manage.windowsazure.com) 选择您的站点,然后选择配置。

确保您已在此处设置域。

于 2012-11-05T20:58:32.540 回答
0

您是否尝试过查看文档?如果您在任何步骤中遇到特定问题,请告诉我们,但至少尝试投入一些精力。

于 2012-11-05T20:59:06.800 回答