title: Redirect subdirectory to subdomain
body: <p>I am looking to move <code>http://domain.com/blog</code> to <code>http://blog.domain.com</code>.This also means that everything that trails <code>/blog</code> for example <code>/blog/post/1</code> will need to be routed to <code>http://blog.domain.com/post/1</code>. </p>