Questions tagged [hostheaders]
68 questions
1
vote
1 answer
Using RestSharp to call API running on host header enabled IIS instance
I have an IIS server with multiple sites configured. They all serve on port 80 so I use host header configuration to route requests to the correct site. This all works fine when the requests originate from a browser. However, when I call one of…

Myles McDonnell
- 12,943
- 17
- 66
- 116
1
vote
6 answers
Using IP Addresses or Host Headers in IIS
I was wondering about the best practices regarding this? I know there are two ways to use IIS and host multiple websites.
The first is to have an IP for every website
The second is to use host headers, and a single IP Address for IIS
I was…

Stephen Wrighton
- 36,783
- 6
- 67
- 86
1
vote
0 answers
IIS7: Have host header route to specific down folder and page
I have two host headers for a single webpage:
www.a.com
www.b.com
both currently point to the index.html page. I want www.b.com to go to a specific directory and page:
www.b.com/otherfolder/index.html
Is this possible through the IIS UI or do I…

thedeepfield
- 6,138
- 25
- 72
- 107
1
vote
2 answers
Get original HOST address when the ASP.NET server is behind an ISA server as a reverse proxy
I'd like to know how could I get the original HOST IP when the web server is behind an ISA server acting as a reverse proxy.
Other reverse proxies -like squid- add the "X_FORWARDED_FOR" value to the request header, but ISA server doesn't.
Thanks

DanC
- 8,595
- 9
- 42
- 64
1
vote
1 answer
Unable to get host headers passed in nginx configuration
I am trying to set up a load-balanced, SSL-based RESTful system utilizing nginx as the frontend (backends use http). I am having a problem getting the full URL path and one argument through to my application.
I have this in…

Warren Schubert
- 51
- 1
1
vote
1 answer
Host header spoofing
Using Firefox I can tamper with the host header so that a call to localhost/forum/ has the host header spoofed to be www.mydomain.com
The reason I am doing this is because I am developing a reverse proxy that will execute when certain domains are…

CarbonMan
- 4,350
- 12
- 54
- 75
0
votes
1 answer
IIS Host Headers and non WWW to WWW
I know there's a bunch of examples on how to redirect your non www to your www site, but I'm not using any rewrite utils/ISAPI.
On my Windows 2008R2 box, I have several sites setup in IIS. I setup host headers for both www and non www versions. …

ElHaix
- 12,846
- 27
- 115
- 203
0
votes
1 answer
The request contained an invalid host header [:8443] in the request [/nifi]. Check for request manipulation or third-party intercept
After installing the Apache NiFi service on the AWS cloud server and successfully starting it, when accessing the NiFi service on the remote cloud server from the local computer, the following error was encountered
System Error
The request…

Erwin
- 57
- 2
- 7
0
votes
1 answer
How to prevent "Host Header Attack" in Laravel?
I am willing to prevent host header attack in my laravel 9 app. I am using this command in terminal to test for that attack - curl http://127.0.0.1:8000 -H "Host: evil.com".
After searching on internet i have enabled this…

Ninja Turtle
- 1,293
- 2
- 24
- 50
0
votes
1 answer
Is it possible to use in Azure Application Gateway with two Web Apps using the same domain without hoste name override
I am trying to set up in Azure an Application Gateway and two Web Apps using the same domain and same sub-domain, and the distinction is made by URL path. Something like this:
my.domain.com/app1 ---> app1.azurewebsites.net
my.domain.com/app2 ---> …

Lukas K
- 6,037
- 4
- 23
- 31
0
votes
0 answers
Is there way to override host header in amazon s3 client?
I want to override host header in PutObjectRequest request so I have implemented the following code:
PutObjectRequest request = builder
.bucket(bucket).key(objectKey)
.overrideConfiguration(b -> {
…

gstackoverflow
- 36,709
- 117
- 359
- 710
0
votes
2 answers
IIS 6: Set up 2 SSL web apps on the same server on port 443
I was asked to create a sharepoint web application with ssl on a server with sharepoint 2010 installed. The problem is that this port seems to be in use for hosting our subversion repository. So when i try to browse my sharepoint site, it just shows…

ThdK
- 9,916
- 23
- 74
- 101
0
votes
2 answers
what is the received header when host header value with curl is not set
I am sending a curl request but i am not setting the host header explicitly. What will be the host header as received by the remote url? Will it be my site's domain, or will be automatically be the domain of the remote url?

Amit
- 3,952
- 7
- 46
- 80
0
votes
0 answers
How to pass backend data from database to Nginx config file docker environment
My Flask web application is deployed on docker environment along with db and nginx.I want to pass HOSTNAME from database to nginx config file . Basically , I want to add to below line to proxy.conf .
proxy_set_header Host $host;…

Ajay Prajapati
- 3
- 4
0
votes
0 answers
Creating AWS Application Load Balancer Listener rules based on intermidiary DNS host name
In AWS EC2, I have one Application Load Balancer (ALB) alb1-556083996.us-east-1.elb.amazonaws.com, and two target groups tg-blue and tg-green.
In AWS route53, I have two records api.myapp.example.com and api-blue.myapp.example.com.
The route53…

Rafiq
- 1,380
- 4
- 16
- 31