Sunday, September 1, 2013

Switching Away from Root Domains

Links to this post

This weekend I moved my site amp-what.com from a PHP hosting service to Heroku. This move will give me more control; the site is an SPA, and I've struggled to get some page rank in Google with only one page. If I put it behind a node app, I'll have flexibility to add URLs freely in a way that isn't possible on LAMP stack.

Setting up the node app was surprisingly easy, and getting it up on Heroku was, of course, painless. But the final process of transferring DNS tripped me up.

My canonical URL was http://amp-what.com. After much thought, I decided to change my canonical domain to www.amp-what.com, because it would be easier and clearer. Here's why I did it.