Custom Domain Names With Azurewebsites

I’ve only recently set up this blog and since it’s always busy at work, I don’t always have the time to sort out those ‘nice to haves’. I’m hosting this blog using AzureWebsites, but obviously I use my own domain name. My pain? For the life of me I couldn’t figure out the magic rule to rewrite my url to the proper ‘’ hostname I’m using now. Shame on me, Microsoft consultant couldn’t figure out a simple IIS redirect rule… In my defense, I hadn’t really taken the time to do it properly and I had in fact solved it, but in the wrong order.