DEV Community

Pacharapol Withayasakpunt
Pacharapol Withayasakpunt

Posted on

Custom domain name, Heroku, and SSL

I tried to move domain name from Heroku to Namecheap, and got SSL problem.

Do I need Let's Encrypt or something? Or, do I purchase SSL on Heroku or Namecheap site?

BTW, the website is http://zhquiz.cc. (Cannot use https:// here, but it redirects to https:// anyway.)

Discussion (4)

Collapse
patarapolw profile image
Pacharapol Withayasakpunt Author • Edited

It works now. It is as simple as activating payment to Heroku, by upgrading Dyno.

heroku ps:resize web=hobby

It's $7 per month. Heck, my domain is only $8 per year.

Collapse
ben profile image
Ben Halpern

You can handle this in other ways, like if you send your traffic through Cloudflare and use their free SSL cert.

Collapse
andrzejwp profile image
andrzejwp

Here's how, with a free cloudflare worker flotiq.com/docs/Deep-Dives/add-a-c...

Collapse
s0xzwasd profile image
Daniil Maslov

The easiest option is to contact them in support and help configure SSL from Let's Encrypt if you don’t have time to deal with it. You will be required to obtain cerfiticate codes and private key from Let's Encrypt (letsencrypt.org/getting-started/#w...).