Getting request domain in Asp.net

Posted by Sergej Andrejev on Stack Overflow See other posts from Stack Overflow or by Sergej Andrejev
Published on 2010-04-06T08:45:37Z Indexed on 2010/04/06 8:53 UTC
Read the original article Hit count: 149

Filed under:

In hosts file I have added following line

127.0.0.1   test

When I call Request.Url.Host in Asp.Net application still get "localhost". How do I get "test" ?

© Stack Overflow or respective owner

Related posts about ASP.NET