301 Redirect
Opened this issue · 1 comments
arifzeeshan commented
I want to redirect all traffic from heroku domain to my custom domain. HEROKU_URL
env var is not working.
SNathJr commented
I want to redirect all traffic from heroku domain to my custom domain.
HEROKU_URL
env var is not working.
What you want to do is: on heroku dashboard, in the settings section of your app, scroll down till you see a button called "Add domain". Click it and enter your custom domain there. Now, at your domain's DNS records settings, either an 'A' record or a 'CNAME' record pointing to heroku's https://APPNAME.herokuapp.com (Tried and tested with CNAME setting at cloudflare)