Heroku custom domains
I've setup two custom domains for my Heroku app.
example.com example.com.herokudns.com
*.example.com wildcard.example.com.herokudns.com
Domain configuration
I configured my domain as follows:
I added a
CNAMERecord for*pointing towildcard.example.com.herokudns.com.
Works fine.I forwarded my
URLusing GoDaddy's Domain Forwarding tool, because I can only specifyIPaddresses asArecords.
Problem
The domain forwarding points to example.com.herokudns.com. Unfortunately GoDaddy automatically prepends http://, so it actually does not open my app and instead shows a Heroku message:
There's nothing here, yet.
Goal
Setting up my GoDaddy root domain to point to my Heroku app.
Note: GoDaddy automatically added an A record for @ pointing to >>++FWD1++<<
Cloudflare does the job!
Finally, I achieved my goal of using my naked domain as host by choosing CloudFlare to handle my DNS configuration.
Resources:
CNAMERecords to be the naked domainCNAME FlatteningworksNote: CloudFlare has a pretty good documentation and setup process, you just need to: