hostheaders

Including Port number in HTTP HOST header causes Service Unavailable error

落花浮王杯 提交于 2019-12-22 14:04:06
问题 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 --> testservice.mydomain.com:443. To replicate that I created a test C# client and manually set the HOST header to include 443 port in request. I get the same error and nothing gets logged in IIS Website logs. Similarly in SOAPUI if I hit URL: https

Including Port number in HTTP HOST header causes Service Unavailable error

时光总嘲笑我的痴心妄想 提交于 2019-12-06 11:11:10
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 --> testservice.mydomain.com:443. To replicate that I created a test C# client and manually set the HOST header to include 443 port in request. I get the same error and nothing gets logged in IIS Website logs. Similarly in SOAPUI if I hit URL: https://testservice.mydomain.com:443/WcfService.svc (have to do this as can't manually change HOST header

Hosting many SSL sites on Azure using a wildcard certificate with MVC

喜欢而已 提交于 2019-12-06 05:57:32
问题 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 name: https://customer1.myAzureSite.com https://customer2.myAzureSite.com https://customer3.myAzureSite.com ... https://customerN.myAzureSite.com Part 2 Then, I also have a different IIS website that is used for enrolling/signing up only https://enroll.myAzureSite.com Part 3

Hosting many SSL sites on Azure using a wildcard certificate with MVC

二次信任 提交于 2019-12-04 10:52:00
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 name: https://customer1.myAzureSite.com https://customer2.myAzureSite.com https://customer3.myAzureSite.com ... https://customerN.myAzureSite.com Part 2 Then, I also have a different IIS website that is used for enrolling/signing up only https://enroll.myAzureSite.com Part 3 This application uses SOA, and there is another site for the businesslayer: https://BusinessLayer

IIS Host Headers and non WWW to WWW

こ雲淡風輕ζ 提交于 2019-12-02 19:35:49
问题 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. The first couple of sites work fine. If you try to go to the non www site, you are automatically redirected to the www version. As far as I recall, I didn't have to do anything special other than add the appropriate host headers - no messing around

IIS Host Headers and non WWW to WWW

和自甴很熟 提交于 2019-12-02 11:42:48
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. The first couple of sites work fine. If you try to go to the non www site, you are automatically redirected to the www version. As far as I recall, I didn't have to do anything special other than add the appropriate host headers - no messing around with rewrites/ISAPI. What am I missing on the server manager side of things in order to get this working?

Publishing multiple sites on a single instance of umbraco

左心房为你撑大大i 提交于 2019-11-29 02:46:20
I am looking to setup a parallel site to one already that already uses umbraco for its content management system. The new site would share admins, templates, macros, and media resources, but not any content. If I setup multiple host headers pointing to the same directory with an umbraco install, how can I switch the top node (home vs home2) of the site based on which url is being accessed? I believe you first have to change a setting in umbracosettings.config: <useDomainPrefixes>true</useDomainPrefixes> Then I think you also have to right click on each top node and click 'Manage Hostnames',

WCF is using the computer name instead of the IP address and cannot be resolved

吃可爱长大的小学妹 提交于 2019-11-27 21:36:44
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. Jorge Barrera This is what worked for me. In config file < serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> < / system.serviceModel > If it is set to false, I was getting that crazy computername substitution. multipleSiteBindingsEnabled="true" seems to be all that I have to do for this to work as it should. I was looking into an approach to reuse the Host header from HTTP request. In

Publishing multiple sites on a single instance of umbraco

做~自己de王妃 提交于 2019-11-27 17:03:12
问题 I am looking to setup a parallel site to one already that already uses umbraco for its content management system. The new site would share admins, templates, macros, and media resources, but not any content. If I setup multiple host headers pointing to the same directory with an umbraco install, how can I switch the top node (home vs home2) of the site based on which url is being accessed? 回答1: I believe you first have to change a setting in umbracosettings.config: <useDomainPrefixes>true<

WCF is using the computer name instead of the IP address and cannot be resolved

丶灬走出姿态 提交于 2019-11-27 04:31:26
问题 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. 回答1: This is what worked for me. In config file < serviceHostingEnvironment multipleSiteBindingsEnabled="true" /> < / system.serviceModel > If it is set to false, I was getting that crazy computername substitution. multipleSiteBindingsEnabled="true" seems to be all that I have to do for this to work