About DNS and wildcard certificates

My domain is: dougsilva.me

I intend to have a couple of subdomains (probably no more than 5). A wildcard certificate seems to be easier to maintain in this case. But I’m having trouble figuring out how to use one of the supported DNS providers (Cloudflare, Google, etc).

GoDaddy (where I bought the domain) sets the name servers to these:

ns21.domaincontrol.com
ns22.domaincontrol.com

Locaweb (the hosting provider) configures its own name server too. I can see it by running nslookup when logged into the VPS.

186.202.26.26#53
resolver1.dns.locaweb.com.br

My question is: in order to use Wildcard Certificates, do I have to change the DNS servers on both GoDaddy and Locaweb, or just on GoDaddy?

This is my first time deploying a web app, so I feel I must be misunderstanding how this works.


My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version): Ubuntu Server 18.04 LTS

My hosting provider, if applicable, is:

Locaweb Serviços de Internet S/A
AS27715

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no.

The version of my client is (e.g. output of certbot --version or certbot-auto --version if you’re using Certbot): certbot 0.31.0

1 Like

You only need to update the DNS servers that control your DNS records.

If you do:
nslookup -q=ns dougsilva.me 1.1.1.1
You see:
dougsilva.me nameserver = ns22.domaincontrol.com
dougsilva.me nameserver = ns21.domaincontrol.com

So you only need to change them at GoDaddy.

1 Like

Great. That’s interesting. If I don’t report back, it’s because it worked.

Thanks!

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.