Adding multiple websites with different SSL certificates in IIS 7
I’m having troubles using SSL for 2 different websites on my IIS 7 server. Please see my setup below: website1: my.corporate.portal.com SSL certificate for website1: *.corporate.portal.com https/443 binded to my.corporate.portal.com website2: client.portal.com SSL certificate issued for: client.portal.com When I try to bind https in IIS7 with the client’s certificate, I don’t have an option to put host name(grayed out) and as soon as I select ‘client.portal.com’ cert, I’m getting the following error in IIS: At [...]
Continue Reading »IIS logging and incoming requests
When are incoming requests logged to file in IIS? Does it happen before or after they are processed and response is sent to the client? What happens in case if request is accepted but response isn’t sent back (is the incomming request logged to file in this scenario)? Asked by yojimbo87 The request is logged after the response has been prepared (you have the ability to modify the data that will be logged, under your [...]
Continue Reading »Nginx reverse proxy and IIS
I’m using nginx as a reverse proxy for website running on IIS 7.5. Website is bound to sub-1.foo.bar. Nginx configuration looks like this: server { listen 80; server_name sub.foo.bar; location / { proxy_pass http://sub-1.foo.bar; proxy_set_header Host $host; proxy_set_header X-Accel-Expires 0; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } What I want to do is forward requests which come to sub.foo.bar (linux machine with nginx) to sub-1.foo.bar (windows machine with IIS and my website). However what [...]
Continue Reading »IIS 7 desktop icon cannot be renamed to “IIS Manager”
If I take the IIS manager shortcut on my desktop, which is named “Internet Information Services (IIS) Manager” by default, and rename it to “IIS Manager”, it sets the name right back. However, if I rename the shortcut to “IIS” or “Foo” or something else, it renames the shortcut correctly. What is this happening? Note: I did some more experimenting and found that even if you take the path %windir%\system32\inetsrv\InetMgr.exe and make a completely new [...]
Continue Reading »How do I import certificate (.CER) in IIS
I have created certificates based on this tutorial: http://ondrej.wordpress.com/2010/01/24/iis-7-and-client-certificates/ Then I have imported “MyPersonalCA.cer” on IIS host server based on this tutorial: http://www.networksolutions.com/support/installation-of-an-ssl-on-certificate-microsoft-iis-7-x/ I had to import the certificate via MMC, because IIS is giving me an error: “Cannot find the certificate request associated with this certificate file. A certificate request must be completed on the computer where it was created.” As stated this is a known bug, but i cant get pass the error. [...]
Continue Reading »Bind WAN IP to LAN (under router) IIS
i am hosting my own website on my local machine. i setup a virtual server on my router and everything works like a charm. in IIS, i cannot bind the WAN ip (it dosent show up) and if i type it manually, then the website is not working. now i know that there is something else i need to do (Bind the WAN IP to my local machine as the title says), but how would [...]
Continue Reading »How to configure WCF Service to AutoStart in AppFabric when the services reside in the website root
I’m trying to configure my WCF services under WIndows Server 2008 R2′s IIS and AppFabric to auto-start, but the steps listed at MSDN are possible only when the services reside in an application, but in my case, the .svc files reside directly in the site root. This way, the ‘Configure WCF and WF…’ shows as ‘…for Site’ and do not show the options for auto-start, as it would do if the application were hosted under [...]
Continue Reading »IIS 408 Logging
We have some web systems that in the past have experienced HTTP 408 response codes when making a request. They can happen at any time, there doesn’t seem to be any pattern to them. The problem we have is that the client request goes through a TMG gateway, and IIS never logs the 408. The last request I see is a 200, and subsequently a client received a 408. Do 408′s make it to IIS [...]
Continue Reading »IIS7 page alias
I have a problem which I’m sure it’s not really hard but I really don’t know how to use the Windows IIS console. I have two static html pages (Lorem Ippsum pages) which I want to access when i access my website, something like www.mysite.com/lorem1 and www.mysite.com/lorem2. Because there are a lot of deploys done on the site I don’t want to put the pages in wwwroot because they will get erased at the next [...]
Continue Reading »IIS with ASP MVC vs nginx with php preformance
I’m wondering what does asp mvc performance look like in comparison with php on nginx. IIS itself is much more demanding than nginx. But does it start to benefit at some amount of users? 1) Let’s say I have a machine 1.6GHz and 1.75GB RAM (parameters form the smallest reserved hosting on Azure). Will they perform similarly? How many viewers will be required to balance the initial IIS requirements? 2) Let’s now talk about a [...]
Continue Reading »Recent Posts
- Cron expression that runs every 5 minutes from 1:30 am – 6:00 am [duplicate]
- Understanding redundant power supplies
- Is there a way for administrators to disable users from installing Firefox extensions?
- Is there research material on NTP accuracy available?
- How to create a limited “domain admin” that does not have access to domain controllers?



