Skip to content

Instantly share code, notes, and snippets.

@anova
Created May 7, 2015 13:49
Show Gist options
  • Save anova/2d7da1fd989d4c1682b4 to your computer and use it in GitHub Desktop.
Save anova/2d7da1fd989d4c1682b4 to your computer and use it in GitHub Desktop.
Redirect old domain to new with web.config.
<?xml version="1.0"?>
<configuration>
<system.webServer>
<httpRedirect enabled="true" destination="http://www.example.com" httpResponseStatus="Permanent" />
</system.webServer>
</configuration>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment