Questions tagged [hostheaders]
68 questions
18
votes
3 answers
Using Express and Node, how to maintain a Session across subdomains/hostheaders
I have a single node server that responds to requests and redirects a user based on host headers. The usage is that the static/home site lives at www and each user has their own sub domain (i.e. www.example.com and site.example.com). The routing is…

mattgi
- 712
- 1
- 7
- 11
14
votes
3 answers
How to do customer/client style subdomains using Node and Express
How does one allow customers to access a SaaS using their organization name in the domain?
For example, a web app, example.com, may have 2 customers, OrgA and OrgB.
Once logged in, each customer is redirected to their site, orga.example.com /…

mattgi
- 712
- 1
- 7
- 11
9
votes
5 answers
WCF is using the computer name instead of the IP address and cannot be resolved
I have a WCF service that works fine on the LAN but when trying to access it from outside the service reference fails.
My WCF service is hosted on a win2k3 box that is using a static IP no domain.

baileyswalk
- 1,198
- 2
- 17
- 29
7
votes
2 answers
In ASP.NET, is it possible to output cache by host name? ie varybyhost or varbyhostheader?
I've got a website that has a number of host headers. The theme and data depend on the host header, and different hosts load different looking sites.
So let's imagine I have a website called "Foo" that returns search results. The same code runs both…

Pure.Krome
- 84,693
- 113
- 396
- 647
7
votes
3 answers
How can you load balance an IIS 6 hosted WCF Service?
We use BigIP to load balance between our two IIS servers. We recently deployed a WCF service hosted on by IIS 6 onto these two Windows Server 2003R2 servers.
Each server is configured with two host headers: one for the load balancer address, and…

Jason Stevenson
- 4,004
- 3
- 29
- 49
4
votes
1 answer
Windows Azure Multiple Sites under single role - Staging Issue with host header
I have a "web" and "mobile" site that I'm launching within Azure of the same domain. Originally I was going to run each as a separate hosted service but this doubles the cost though it would allow me to scale each independently.
Then I learned that…

Lead Internet
- 97
- 5
4
votes
2 answers
Hosting many SSL sites on Azure using a wildcard certificate with MVC
The following application currently runs on a Windows 2008 R2 server that I'm attempting to migrate to Azure:
Part 1
First I have the following ASP.NET MVC site that routes customers based on the first part of the DNS…

makerofthings7
- 60,103
- 53
- 215
- 448
4
votes
1 answer
How can I change the IP address of all sites in IIS6 using powershell 1.0?
Using Powershell 1.0 under Windows Server 2003 with IIS 6.
I have about 200 sites that I would like to change the IP address for (as listed in the website properties on the "website" tab in the "Web site identification" section "IP address" field.
I…

User
- 62,498
- 72
- 186
- 247
3
votes
2 answers
How to configure Webapi Selfhosted for multiple HostHeaders
i what to put my asp.net mvc4 web api responding to multiple hostheader names like when we add multiple bindings do iis website.
does anyone know how can i do it? or if is it possible?
my default app (still a commandline) looks like this:
static…

Flavio CF Oliveira
- 5,235
- 13
- 40
- 63
2
votes
2 answers
add a host header to a website on IIS 7 programmatically
I want to add a host header to a website which is working on IIS7 through a web application (asp.net 4.0 / C#).There are some examples in internet,but i guess most of them dont work on iis7.
(note:the web application is being hosted in same server…

slayer35
- 604
- 2
- 8
- 26
2
votes
2 answers
Custom Host Header not forwarded by Feign Client
I am trying to send a custom host header using feign client, but the consumer application is not picking them. I am using spring boot feign and not openfeign.
Apart from Host, everyother header seems to be working as expected.
…

VIJ
- 1,516
- 1
- 18
- 34
2
votes
1 answer
Hosting Multiple Domains on Same Server Port with Apache2
How do I configure Apache2 via webmin or command-line (I'm using RHEL5 Linux) so that I can have multiple domains on the same server on the same port but in different subdirectories?
For instance, trying to get homerentals.ws and homerepair.ws to be…
Jack Indigo
2
votes
1 answer
Access WCF Service by Host Name and IP
I have a WCF service that is load balanced on multiple boxes. We have setup host headers in IIS for the service website so that the host name, not the machine name, will show up in the WSDL (like this:…

Mike Pennington
- 676
- 10
- 26
2
votes
1 answer
Including Port number in HTTP HOST header causes Service Unavailable error
We have a WebService running on HTTPS. If I use SOAPUI and make request at: https://testservice.mydomain.com/WcfService.svc, it works fine. However the client reported they are getting 503 Service Unavailable error.
In their HTTP HOST header I see…

Anurag Kalra
- 43
- 5
2
votes
1 answer
Refactoring multiple instances of ecommerce software into single code base
Disclaimer, I am technical support and sysadmin for my company, not a developer. I'm not after the specifics, simply an idea if what I'd like to acheive is possible or not.
We host hundreds of instances of our in-house classic ASP legacy ecommerce…

Chris
- 21
- 1