Help to redirect to subdomain with C# ASP.NET

Discussion in 'ASP.NET / ASP.NET Core' started by ShadowGod, Jun 3, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. I'm trying to write C# ASP.NET code to redirect to a subdomain for my hosting here, like this:

    subdomain.domain.net redirects to www.domain.net/subdomain

    Here is my code so far:


     
  2. Never mind, it works now. I honestly don't know what has changed as I have the same exact code as above.

    So if the people at discountasp.net want to put this in their faq, here's the ASP.NET C# code to redirect to a subdomain:
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page