How do I connect a custom domain to my Heroku application?

Question

Grade: Education Subject: Support
How do I connect a custom domain to my Heroku application?
Asked by:
58 Viewed 58 Answers

Answer (58)

Best Answer
(442)
To connect a custom domain to your Heroku application, you'll need to add it to your Heroku app's settings. Navigate to your Heroku app dashboard, then go to 'Settings' and select 'Domains'. Click 'Add Domain' and enter your desired domain name. Heroku will then provide you with DNS records (CNAME or A records) that you need to configure with your domain registrar. This process verifies ownership and points your domain to your Heroku app.