title: Prevent heroku to redirect from http to https on subdomain
body: <p>I have an app created on Heroku and I added subdomain to it:</p>
  
  <pre><code>some.page.example.com
  www.some.page.example.com
  </code></pre>
  
  <p>Then, according to <a href="https://help.heroku.com/VKRNVVF5/what-is-the-correct-dns-cname-target-for-my-custom-domains" rel="nofollow noreferrer">this</a>, I've pointed these names to proper Heroku names with my DNS provider like this:</p>
  
  <pre><code>some.page.example.com CNAME some.page.example.com.herokudns.com
  www.some.page.example.com CNAME www.some.page.example.com.herokudns.com
  </code></pre>
  
  <p>I'd like to serve this page under http, apparently Heroku internally redirects traffic to https - it returns 301 when trying to access page via http. Of course finally it fails (e.g. ERR_SSL_PROTOCOL_ERROR in Chrome or SSL_ERROR_INTERNAL_ERROR_ALERT in Firefox), after redirecting, beacuse there is no certificate set up on this Heroku app.</p>
  
  <p><strong>How can I prevent Heroku from doing this?</strong></p>
  
  <p>P.S. What's funny, I have other site on Heroku, with root domain pointing to this, and it works like a charm. :/</p>