Delete

Are you sure you want to delete this?

ChronologyModel


Date
20211016
Target
C_10
Title
48.49 DNS, IIS 서버에서 non www 삭제 / 탄쯔 홈페이지 / Redirecting Non-www URLs to www in iis
Contents
tanz.co.kr이 www.tanz.co.kr로 가게 하려고 그렇게 했으나 현재 되지 않고 있다. https://weblogs.asp.net/owscott/iis-url-rewrite-rewriting-non-www-to-www IIS URL Rewrite – rewriting non-www to www WRITE TWO RULES ON IIE URL REWRITE <rewrite> <rules> <rule name="Redirect HTTP to HTTPS (Sales)" stopProcessing="true"> <match url="(.*sales*)"/> <conditions> <add input="{HTTPS}" pattern="^OFF$"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/> </rule> <rule name="Redirect HTTP to HTTPS (RegistrationSucces)" stopProcessing="true"> <match url="(.*registrationsuccess*)"/> <conditions> <add input="{HTTPS}" pattern="^OFF$"/> </conditions> <action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="SeeOther"/> </rule> </rules> </rewrite> NON-WWW to WWW <rewrite> <rules> <rule name="Redirect domain.com to www" patternSyntax="Wildcard" stopProcessing="true"> <match url="*" /> <conditions> <add input="{HTTP_HOST}" pattern="domain.com" /> </conditions> <action type="Redirect" url="http://www.domain.com/{R:0}" /> </rule> </rules> </rewrite>