title: Redirect directory to a subdomain
body: <p>I have my domain pointed to a Rails app in Heroku, so for example, when you wanted to access some video, you would have an URL such as:</p>
  
  <p><code>http://codigofacilito.com/video/W53XHWkbz34</code></p>
  
  <p>We need to change that app to a subdomain, so the updated version would be:</p>
  
  <p><code>http://videos.codigofacilito.com/video/W53XHWkbz34</code></p>
  
  <p>What I want to know is:</p>
  
  <p>Is there a way to redirect people to the new url with the subdomain videos by using the .htaccess file.</p>