How to add a domain name hosted on Heroku to name.com provider
If you are searching for a domain provider for your website hosted on Heroku, make sure to check whether the domain provider supports ANAME records. Otherwise, you might encount...
Rubycode
14 August 2023 · 1 min read
If you are searching for a domain provider for your website hosted on Heroku, make sure to check whether the domain provider supports ANAME records. Otherwise, you might encounter issues with the root domain and be restricted to setting up only the ‘www’ subdomain. Follow this step-by-step tutorial to configure your Heroku app’s domain with Name.com, your domain provider.
Step 1: Log in to Heroku
Step 2: Click on Settings

Step 3: Click on “Add domain”

Step 4: Enter your domain with www. and without www e.g.

Step 4: Log in to name.com and click on your domain and then “Manage DNS Records”

Step 5: Copy DNS target from Heroku DNS target from a host without www , and add ANAME, e.g. :

Step 6: Copy DNS target from Heroku DNS target from a host with www , and add CNAME, e.g. :

Voilà, after those steps your domain setup is done! It usually takes some time for changes to propagate.
Share
More from the blog
All articles-
Ruby on Rails
Still on Rails 5 or 6? Start with a two-week upgrade audit
Rails 5.2 lost security support in 2022 and Rails 6.1 in 2024. A fixed two-week audit tells you what it takes to get back on a supported Ruby and Rails, before anyone rewrites the product.
02 November 2026 · 3 min read
-
Engineering
How to write an implementation plan your team can trust
What every implementation plan for a Rails feature must have, from the decisions only people can make to safe migrations, testable acceptance criteria and a sign-off, and how to make your team follow it every time with questions, settings and guards in code.
06 October 2026 · 11 min read
-
AI Engineering
Where Is the Engineering Work Now? Redesigning Development Around AI
Agents already write most of the code in a sprint, yet we still run it as if every developer types their own ticket. Where the real engineering work is today, and what changes when you redesign the process around AI.
02 October 2026 · 5 min read