Wordpress and Azure Websites: I want my Domain Name

Update: You can now point your domain name directly at your Azure Website without any of this nonsense. Read the announcement for more details.

If you set up Wordpress on a free Azure Website, which means you went with the Shared model, you may have discovered that Microsoft gives you a custom subdomain, such as http://codethug.azurewebsites.net. However, if you want to use a custom domain, such as http://codethug.com, you can’t.

You can try pointing directly to the IP address of your server, or you can even try using a CNAME to point to codethug.azurewebsites.net, but neither will work.

Custom domains are available today, but only on reserved Azure Websites.
Custom domains are planned for the future for shared websites, according to @scottgu
However, with a little bit of jQuery, we can get it to work like we want, even on a shared website.

Read More