domain.com adresinde bir sitem var. Kısa bir süre önce bir SSL sertifikası kurdum, böylece HTTPS'yi kullanabilirim.IIS ile www neden 404 in IIS
IIS'de, http ve https için domain.com ve www.domain.com için bağlamalar oluşturdum. Sonra https://domain.com
Benim konuya işaret etmek her url ayarlar Benim web.config bir URL yeniden yazma kuralını ben http://domain.com veya https://domain.com sitesi çalışır, ancak http://wwww.domain.com ve https://www.domain.com giderken yok yani var. Bu, yeniden yazma kurallarım veya bağlayıcım ile ilgili bir sorun mu? ben bu kod bloğu gibi bu sorunu çözmek zorunda
<configuration>
<system.webServer>
<rewrite>
<rules>
<rule name="Redirect to HTTPS" stopProcessing="true">
<match url="(.*)" />
<conditions>
<add input="{HTTPS}" pattern="^OFF$" />
</conditions>
<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Found" />
</rule>
<rule name="Imported Rule 1">
<match url="^(register)$" />
<conditions logicalGrouping="MatchAll">
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
</conditions>
<action type="Redirect" url="https://domain.com/register.php" redirectType="Found" />
</rule>
</rules>
</rewrite>
</system.webServer>