Questions tagged [host-headers]

The Host header is an HTTP header needed when multiple sites share a single IP address. See also http-headers.

The Host header is an HTTP header needed when multiple sites share a single IP address.

The Host header was first introduced as an optional header in HTTP/1.0. In HTTP/1.1 the header was changed from optional to mandatory.

See also and .

38 questions
1
vote
1 answer

Single IIS, 2 applications, 2 IP addresses, 2 Domains, 2 SSLs

I know there are many questions out there, but none seemed to address specifically what I am after. I have one instance of IIS, with two separate applications on it. Each application works on its own URL, with it's own IP address and domain, and…
1
vote
1 answer

IIS7 Multiple Websites Same Port

I am trying to set up an internal-only web server of our production websites for QA and development testing. There is no need or intention to access this dev site from outside of the corporate network. In production mode, the website is configured…
K0D4
  • 123
  • 5
1
vote
1 answer

IIS worker process and host headers

I am building a multi tenancy site in ASP.net. It will has three host headers. My understanding is that when a request comes to www.siteA.com, ISS will spin up a worker process for the for the application. But what happens with a requests comes in…
tom
  • 111
  • 1
1
vote
1 answer

Host Headers / Site Binding

I am going to prefix this that I am a programmer trying to figure out IIS7. I want to host two sites on my server. I created a second site and gave its own path. I added the two domains I want to forward to in site bindings. For some reason when I…
Joe Tyman
  • 137
  • 5
1
vote
2 answers

Host-header from requests are ignored?

I read the apache docs, but there is a lot of stuff, which is different in Debian [lenny, 5.0.6]. Apache ignores the host-header given by the browser: http://x or http://x:81 or http://x.mbg.local are all served, but should be blocked, according to…
mabra
  • 151
  • 1
  • 5
1
vote
1 answer

How to prevent "host header injection vulnerability" in Nginx proxy server

Please help me to prevent "host header injection vulnerability" in the given "Nginx configuration file" server { listen 80 default_server; listen [::]:80 default_server; root /var/www/html; index index.html index.htm…
aks
  • 37
  • 1
  • 6
0
votes
0 answers

debian nginx 1.10.3 prevent headers injection

I have a debian 8 VPS running with nginx 1.10.3. I host several Symfony 3.2 websites (using php7-fpm), and I face headers injection problems. I can't figure out if the problem is more from nginx or from the symfony project configuration. I am not…
Flo Schild
  • 101
  • 4
0
votes
1 answer

IIS6 windows authentication failure in secondary domain

Technical Setup We have a website set with no anonymous access on a webserver (webtest.work.local), and making use of two hostheader values (with appropriate DNS entries created): 1. mySite.uat.work.local 2. mySite.uat.companyName.co.uk The…
0
votes
1 answer

How do I create host headers for internal ip address in IIS 6.0?

In IIS 6.0 I need to create host headers to host multiple websites on our web servers. We are using network load balancing manager to have a clustered web farm of three servers. Given that we use the internal IP address of the "group" of servers,…
Achilles
  • 107
  • 4
0
votes
1 answer

Can you install a single domain certificate in IIS 6 with mutlple ip host headers?

If I have the A record in the DNS pointed to a unique IP address on our server, but have mutiple IP addresses associated with the host headers, will this cause an issue?
calweb
0
votes
2 answers

How to set the priority of host headers in IIS 6?

On my IIS 6 Server, I have two sites: Site 1: abc.example.com //Should respond only to header value abc.example.com Site 2: 198.51.100.1 //Should respond if no host header matches However it seems that site 2 always responds. I have created site 2…
usr
  • 245
  • 3
  • 11
0
votes
2 answers

IIS Host Header Bindings not working correctly

I have a Windows 2008 server with two websites. The first site has bindings for example1.com and www.example1.com. The second site has bindings for example2.com and www.example2.com. Each of them has an IIS rule that redirects to the www version…
Mike
  • 11
  • 1
  • 2
0
votes
1 answer

Host Header configuration for IIS

I am having some problems setting up a host header for a site. I want to create a second website like this using host headers in IIS Site: masteradmin Host Header: none XXX.XXX.45.28 Site: betamasteradmin Host Header: betamasteradmin XXX.XXX.45.28…
chopps
  • 113
  • 4
0
votes
1 answer

How to configure host-header resolution in Windows Server 2003 IIS

I had a Windows 2000 server running two web-sites: Web-site: Newland IP Address TCP Port Host Header Name ================ ======== ================ (all unassigned) 80 Web-site: Matchstick IP Address TCP Port Host Header…
Ian Boyd
  • 5,131
  • 14
  • 57
  • 79
0
votes
4 answers

Can I use host headers for an SSL site?

I want to apply a certificate to one of my sites on IIS. At the moment, I use a single IP address and use host-headers, to give them friendly names. Can I do this for my SSL site or do I have to use the server name?
serialhobbyist
  • 451
  • 3
  • 7
  • 16