sub-domain handling error

Discussion in 'ASP.NET / ASP.NET Core' started by gdesai, Dec 5, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. we tried Subdomain=mobile and used the code below. But we are getting error In the IE 7 "Internet Explorer cannot display the webpage".

    Please let us know how we can fix it..what are we missing?

    The code that we have added is specified below.



    if (Request.ServerVariables["SERVER_NAME"].ToLower().IndexOf("mobile.teachmeonweb.com") >=0)

    {

    Response.Redirect("/mobile");

    return;

    }
     
  2. Bruce

    Bruce DiscountASP.NET Staff

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