Heroku Custom Domain Name

To add a custom domain for heroku app, please follow the procedure below

step 1: Point your domain CNAME record to your heroku application url

Example: www.kenyawebexperts.com to point to kenyawebexperts.heroku.com

This can be domain within cpanel advanced DNS manager or within the domain DNS manager in our client area
Please follow this guide to learn how to use the DNS manager

Step 2: Add your domain within heroku control panel

To add a custom domain, use the domains:add command in the Heroku CLI:

$ heroku domains:add www.example.com
Adding www.example.com to example... done
!    Configure your app's DNS provider to point to the DNS Target example.herokuapp.com
!    For help, see https://devcenter.heroku.com/articles/custom-domains

Step 3: :Ping kenyawebexperts.heroku.com to obtain the IP
Then point the domain A record to the Ip address.

Was this answer helpful?

 Print this Article

Also Read

How to enable log programs in cPanel

To enable a log program in cPanel, follow these steps: In the Logs section of the cPanel home...

33 Ways to monetize your website

Making money from your website isn’t a myth. It’s doable by everyone. In fact, turning a...

Fix ‘Err Name Not Resolved’ in Windows

The number of internet error everyone is getting in Google Chrome is too damn high these days....

How to fix or reset file and folder permissions

In the event that your file/directory permissions are changed under your account for any reason...

How To Set Up A Cron Job

This tutorial is going to show you how to setup a cron job in cPanel the easy way. You can set a...

Our official partners