vendredi 9 octobre 2015

Asp.net app on IIS 8.5 subdomain redirection

I'm working on some app in asp.net mvc5. I have problems with redirection. I'm using HttpContext.Current.Response.Redirect("www.google.com"); but the problem is that when I deploy on IIS i have web page on subdomain like somedomain.com/MyApp so when I use HttpContext.Current.Response.Redirect("www.google.com"); it creates link like http://ift.tt/1jSSFR3so this is where the problem is. I don't now how to get rid of that subdomain ?

David




Aucun commentaire:

Enregistrer un commentaire