Deleting a subdomain

I’m using letsencrypt to secure conservationsymposium.com and its subdomains archive.conservationsymposium.com and www.conservationsymposium.com

Since the last renewal, though, we’ve redirected www.conservationsymposium.com to a new hosting provider which provide their own SSL certs. My problem is that my letsencrypt certs are up for renewal, and certbot is failing because the www. subdomain isn’t responding to the challenge.

Is there a way to remove www. subdomain or should I just delete and reissue new certs for archive.conservationsymposium.com and conservationsymposium.com ?

My domain is: archive.conservationsymposium.com

I ran this command: /usr/local/bin/certbot renew

It produced this output:

Domain: www.conservationsymposium.com
Type: unauthorized
Detail: Invalid response from
https://conservationsym2019.dryfta.com/en/ [159.8.11.138]:
“\n\n\n\n<html
xmlns=“http://www.w3.org/1999/xhtml
xmlns:fb=“http://ogp.me/ns/fb#” xml:lang=“en-gb” lang=“en-gb”
dir=”

My web server is (include version): Apache 2.4

The operating system my web server runs on is (include version): FreeBSD 11.2

My hosting provider, if applicable, is:

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): 0.35.1

Hi @aversfeld

never delete active certificates if you don't have another certificate.

First, check your vHost, if the www subdomain is removed.

Then, what says

certbot certificates

You need the name of your current certificate.

Then try

certbot --cert-name nameOfYourCertificate -d conservationsymposium.com -d archive.conservationsymposium.com

The other parameters certbot should ask.

That overrides your existing certificate.

2 Likes

That did it, thank you

3 Likes

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