Pointing the Domain Apex to Heroku
Table of Contents
Your domain apex is the second or third level domain provided to you by your domain registrar. For example,
dnsimple.com is the apex domain for DNSimple.
To point your apex to Heroku you have 2 options:
- Use the Heroku one-click service.
- Manually add an ALIAS record.
Once your apex domain is pointing to correct place you will have to configure the custom domain at Heroku.
Using the Heroku one-click service
You will have to choose what one-click service to apply depending on whether your app uses SSL or not. If your app does use SSL you will have to use the
Heroku SSL service. If your app does not use SSL you will have to go for the one named just
To apply the Heroku one-click service to your domain follow these instructions.
Adding an ALIAS record
These are the steps that you will need to follow to add an ALIAS record that points your apex domain to your Heroku application.
To create an ALIAS for the apex domain
- Log into your DNSimple account.
- Follow these instructions to edit your domain’s records.
- Click Add a Record and select the ALIAS record type.
- In the form enter the following settings:
: leave it blank as we want to create an
ALIASfor the apex domain.
: enter your Heroku endpoint URL. If you are not using SSL the endpoint it will look like
myapp.herokuapp.com. If you are using SSL the endpoint it will look like
- : leave it blank as we want to create an
- Press to create the record.
Note: Heroku endpoints can be either
example.com.herokudns.com. You should use
example.com.herokudns.com if you are using Heroku SSL and
Setting up your custom domain at Heroku
Once you have set up the domain using either the one-click service or adding an ALIAS record you will have to configure your custom domain at Heroku. Their support site has a comprehensive article on how to accomplish this.