Tag Archives: iis 8

Locating hostheaders on IIS using PowerShell.

      Comments Off on Locating hostheaders on IIS using PowerShell.

Sometimes you might want to find out what HostHeaders are being used with similar names on your server. For example when there are conflicts and/or duplicate HostHeaders. Especially when you have lots of sites with similar names this can be a real pain in the ass using the GUI. Lucky for us, PowerShell comes with some nifty cmdlets that can… Read more »

Forcing https through a rewrite

      2 Comments on Forcing https through a rewrite

When setting up a SSL site you always have to make sure that your visitors use the correct (https://) address. With this rewrite rule you can force people to visit the site over SSL: What we do here is simple: take all non-https traffic (input=”{HTTPS}” pattern=”off”) and redirect it to the same page on a https connection. Enjoy!

Using Cloudflare and showing visitors real addresses.

      Comments Off on Using Cloudflare and showing visitors real addresses.

Recently I did a few tests with CloudFlare. My goals were to see how it would affect performance on my site and what other noticeable effects it would have. One thing that I had to cope with is the fact that visitors to my site no longer had a unique IP address. Since CF worked as a CDN/Proxy in my… Read more »

Setting up WordPress permalinks on IIS 8

      2 Comments on Setting up WordPress permalinks on IIS 8

Setting up WordPress permalinks on IIS 8 is pretty straightforward. If you know what you’re doing of course. In this post I’ll show you how to set this up using the rewrite module on IIS. For those that don’t want to know how this works, but just want the end-result: at the end of the post you’ll find a working… Read more »