Corruption of Conf files on Apache Server

Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.

My domain is:Countermark.com

I ran this command: certbot -v

It produced this output:

It renewed certificates (good) but a new conf file appeared which was not there on the last renewal (odd)

This and some of the other conf files contain additional redirects that are not required
, these redirects stopped all of the websites on that apache server from working

My web server is (include version): Standard B2s (2 vcpus, 4 GiB memory)

The operating system my web server runs on is (include version):
The operating system my web server runs on is (include version):
Ubuntu 22.04.5 LTS (GNU/Linux 6.8.0-1021-azure x86_64)

My hosting provider, if applicable, is: Microsoft Azure

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 3.2.0

The best way to start debugging an Apache config problem is by showing this:

sudo apache2ctl -t -D DUMP_VHOSTS
4 Likes