Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku, There's nothing here, yet. after adding custom domain

Tags:

heroku

I deployed my app to Heroku, works fine with the generated URL, however after adding a custom domain and setting the CNAME on Namecheap to the one provided by Heroku, I get 'There's nothing here, yet.'

like image 695
Mel Pacheco Avatar asked Jul 05 '18 01:07

Mel Pacheco


People also ask

How do I add my domain to Heroku?

Summary of stepsAdd the custom domain to your app with the heroku domains:add command. Look up the Heroku-supplied DNS target for the custom domain using the heroku domains command. Configure your app's DNS provider to point to the Heroku-supplied DNS target. Confirm that your app is accessible via the custom domain.

Can you use a GoDaddy domain with Heroku?

Does Heroku work with GoDaddy? Yes, Heroku can work with Godaddy by setting up a Custom Domain and configuring a DNS target to make your app accessible on this platform.

Is Heroku free domain?

Heroku's free account is also quite capable, you are allowed to deploy up to 5 applications, hosted in their *. herokuapp.com domain. But, as soon as you'd like to move this app to a custom domain - you have to pay.

What is Application Error in Heroku?

"Application Error" or similar is always caused by your own application code. Routing errors will normally only surface themselves within the logs of your application. To track this kind of issue down you should look at your logs: $ heroku logs --tail --app your_app_name.


2 Answers

Did you add the 'www.' when adding the custom domains in Heroku?

Please refer to this answer: https://stackoverflow.com/a/53093756

like image 64
achooan Avatar answered Sep 16 '22 14:09

achooan


***.herokudns.com endpoints are not directly browsable, and are only to be used as CNAME targets for DNS. Be sure to check your app status by browsing to your custom domain and not from the url that looks like whispering-willow-5678.herokudns.com.

From the heroku help portal

like image 45
Nino Filiu Avatar answered Sep 17 '22 14:09

Nino Filiu