# Certbot tries to renew certs of old (removed) domains

**URL:** <https://forum.virtualmin.com/t/certbot-tries-to-renew-certs-of-old-removed-domains/114407>\
**Category:** Help! (Home for newbies)\
**Created:** [March 15, 2022, 6:45am UTC](https://forum.virtualmin.com/t/certbot-tries-to-renew-certs-of-old-removed-domains/114407 "2022-03-15T06:45:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![fabi](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/f/22d042/32.png) [@fabi](https://forum.virtualmin.com/u/fabi)\
**Post date:** [March 15, 2022, 6:45am UTC](https://forum.virtualmin.com/t/certbot-tries-to-renew-certs-of-old-removed-domains/114407/1 "2022-03-15T06:45:13Z")

</div>

| SYSTEM INFORMATION | |
| --- | --- |
| OS type and version | Debian 10 |
| Virtualmin version | 6.17-3 |

Hi Folks,

I have a question about Certbot. I went through the letsencrypt.log file, and I can see that it still tries to renew certs for 2 old domains, which I don’t have anymore on the server.  
Is there a way to delete them out in some way?

Thanks a lot guys, have a great day.

---

<div class="post-metadata">

**Author:** ![Ilia](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/ilia/32/10185_2.png) [@Ilia](https://forum.virtualmin.com/u/Ilia)\
**Post date:** [March 15, 2022, 1:57pm UTC](https://forum.virtualmin.com/t/certbot-tries-to-renew-certs-of-old-removed-domains/114407/2 "2022-03-15T13:57:32Z")

</div>

Hi,

> [@fabi](#):
>
> I went through the letsencrypt.log file, and I can see that it still tries to renew certs for 2 old domains, which I don’t have anymore on the server.  
> Is there a way to delete them out in some way?

If those deleted domains were setup using Virtualmin at the first place, and later manually deleted (rather than using Virtualmin), then the issue you’re experiencing could happen.

It can be fixed by looking to Virtualmin domains configuration directory located at `/etc/webmin/virtual-server/domains`, and finding configuration files related to old domains.

**Example:**

```auto
grep -RE "olddom1|olddom2" /etc/webmin/virtual-server/domains/

```

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [May 14, 2022, 1:58pm UTC](https://forum.virtualmin.com/t/certbot-tries-to-renew-certs-of-old-removed-domains/114407/3 "2022-05-14T13:58:09Z")

</div>

Closed on May 14, 2022, 1:58pm UTC

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