How To Redirect WWW. with Web.config



Last updated: January 28th, 2024

Recently I wrote How To Redirect WWW. To The Root of Your Application With IIS. This is a useful if the application is online and is not being updated by a continual deployment. If however, you need to script the changes because your deployment process removes them from the server then you can do this with the Web.config. The Web.config will presist settings that are lost when deploying with msbuild and preserve application logic that still uses sub domains.


Comments

No Comments

Post Comment

Prove you are human 4 + 7 =

Tagged: IIS


Join my email list!



ryan
About Me

With over 15 years in tech, I've excelled as a senior software engineer, specializing in ASP.NET, C#, SQL, Azure, and front-end technologies. I've led diverse projects across various sectors, from startups to global corporations, particularly during my decade in the San Francisco Bay Area.


Sign Up With SoftSys Hosting! (My host)