Dennis Hackethal’s Blog

My blog about philosophy, coding, and anything else that interests me.

Published · 1-minute read

Setting Up a Heroku Root Domain with Squarespace Domains

With Google Domains transferring all of their domains to Squarespace, a lot of people need to know how to point their root domains to their Heroku apps.

First, as explained in the Heroku docs, add your root domain:

$ heroku domains:add -a example-app
Adding to ⬢ example-app... done
▸    Configure your app's DNS provider to point to the DNS Target
▸    For help, see

The domain has been enqueued for addition
▸    Run heroku domains:wait '' to wait for completion

Take note of the DNS target. Here, it’s “”, but for you it will be different.

Then, in Squarespace, under Domains → → DNS → DNS Settings, add a custom record. Set the host to ‘@’ (without quotes), the type to ‘ALIAS’, and the data to the DNS target Heroku gave you. Note that a CNAME record will not work for root domains.

After a few minutes, your root domain should point to your Heroku app.

What people are saying

What are your thoughts?

You are responding to comment #. Clear


Markdown supported. cmd + enter to comment. Your comment will appear upon approval. You are responsible for what you write. Terms, privacy policy
This small puzzle helps protect the blog against automated spam.