How can i find the host header value of the website which will be give in the IIS?
i just want to display that host header name in the browser.
how can i get that value?
How can i find the host header value of the website which will be
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
host header is embedded in the HTTP header section as HOST. If you want to display that in your own ASP.NET page, you can access that from Page.Context.Request.Headers.GetValues(“Host”)