當我進入我的域時,它重定向到我的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>
在此先感謝。