/ Published in: XML
bessie.blt.work will point to blt.work/bessie
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<?xml version="1.0"?> <configuration> <system.webServer> <rewrite> <rules> <rule name="Redirect subdomain" enabled="true" stopProcessing="true"> <match url="^(.*)$"/> <conditions> <add input="{HTTP_HOST}" pattern="^(.*)\.blt\.work$"/> </conditions> <action type="Rewrite" url="{C:1}/{R:0}"/> </rule> </rules> </rewrite> </system.webServer> </configuration>