2012-11-03 24 views
0

當我進入我的域時,它重定向到我的Azure子域(x.azurewebsites.com)。我如何解決這個問題,以便我的域名不重定向?
我的配置文件:如何將Azure配置爲使用域名而不是* .azurewebsites.com?

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

在此先感謝。

回答

1

轉到Azure經理(manage.windowsazure.com)選擇您的站點,然後選擇配置。

確保您已將您的域設置在那裏。

相關問題