Mobile app version of vmapp.org
Login or Join
Jennifer507

: Force hostname for request I have a web server running Apache HTTPD 2.2 serving as a reverse proxy for my IIS 7.5 server. This worked fine, until I wanted to use OpenID (using DotNetOpenAuth).

@Jennifer507

Posted in: #Apache2 #Httpd #Iis #Iis7 #Proxy

I have a web server running Apache HTTPD 2.2 serving as a reverse proxy for my IIS 7.5 server.
This worked fine, until I wanted to use OpenID (using DotNetOpenAuth). Since DotNetOpenAuth throws an exception if I try using any realm other than the domain. To fix that I want to set the hostname server-sided (either on the reverse proxy or on the IIS server).
I was able to do that when using HTTPD as the back-end but I haven't found the configuration directive for IIS.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Jennifer507

1 Comments

Sorted by latest first Latest Oldest Best

 

@Gonzalez347

Open IIS7 manager and on the right hand size select Bindings. Here you can set a host header to your site. Don't forget this name must be resolved to the IP address of the machine hosting the web site. You can do that in you DNS server. If you don't have any DNS server you can set the IP address in hosts file in %windir%System32driversetc.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme