How to Add SSL Certificate to Domain Name

You’ll need to choose a hosting provider / server first before you could obtain (and more importantly, use) a certificate for your website. (Because your website need a IP to host on…)

If you purchased a plan through hosting provider, most providers would provide you instructions on how to setup (point) your domain to their server… (Shared hosting)

(A medium percent of those providers have automatic certificate, which means you mostly don’t need to worry about requesting the certificate and renew it)

Thank you

1 Like

insort, until I don’t have Hosting Plan for my Domain Name till that time I can’t Obtain any SSL Certificate from Let’s Encrypt, right ?

You could obtain a certificate via DNS validation (like any other commerical certificate provider, obtain the certificate by adding a required DNS record)... But I can't imagine any use for a domain certificate without a hosting...

Thank you

means your opinion is that first Link the Domain to a Hosting Plan & then Obtain SSL Certificate, am I right ?

Yes, this is the typical use case.

Thanks @schoen and @stevenzhu for the explantation of "parking domain".

It might be technically possible, but it is difficult and inconvenient. Normally, you should have a hosting plan first.

@stevenzhu mentioned that some web hosts support Let's Encrypt automatically (so you don't have to obtain the certificate yourself, because the web host can do it for you). There's a big thread on this forum to try to make a list of the web hosting providers who make this convenient:

1 Like

but what about, GoDaddy is not providing nir Supporting Let’s Encrypt SSL Certificate, then I"ve to do it on myself only.

so Obtaining SSL Certificate from Let"s Encrypt then first I need Hosting, right ???


It's fine to obtain the certificate before the hosting...
However, since obtaining the certificate is relatively easy and takes a short time, you could also do it after you got the hosting.

Thank you

but I tried just yesterday, i was fail to Obtain, you can see that I’ve attach the Error Image which I get via CMD.

please refer me that & tell me what is the problem

You’ll need to use DNS validations instead of http since you have no web server to actually put the challenge files on.

didn’t get you exactly,

how to get DNS Validation ?

Try or (select txt validation and follow their instructions please)
(web based client because GoDaddy does not seems to have effective API)

The particular command you ran yesterday was meant to be run on your web server, which effectively doesn’t exist because you don’t have web hosting yet. It wasn’t meant to be run on your own computer.

I am using it with Caddy, means if I need to use Caddy then I need my Domain should be Hosted, with Hosting Provider, right ?

If you have caddy server, you should already have a IP (or you'll need to publicilize your server onto www... For information on this, please Google it since cases varies)

You just need to point the server to the IP and test if the website is working in http. If it's working (and pointed correctly), run the caddy program that specifically designed to obtain let's encrypt certificate.

Thank you

means to use Caddy, I need my Domain to be on Hosting, right

Sorry I don't get that....

You'll need to point your domain to that caddy server.

Just btw: are you using a translation service? I'm afriad there might be some confusion on "hosting service"


how to point my Domain to Caddy Server ?

I am not expert in English ,thats why I am asking again

Where is the caddy server? (At home? At other places or at a ISP's)

didn’t get you exactly