Score:0

How do I properly remove a staging subdomain that's no longer needed?

cn flag

I have a WordPress Multisite configuration on an Apache/2.4.46 (Ubuntu) server. I make staging sites using a subdomain of the main domain, then when that staging site is ready to be 'live' and uses its final public domain, I update the vHost file, and disable, then remove the -le-ssl.conf file. Once I enable the updated vHost, I make a new certificate with Let’s Encrypt, making a new -le-ssl.conf to go with the updated .conf

I thought this would remove the subdomains, but some of these staging subdomains are still reachable and DNSDumpster is giving me a list of staging subdomains I thought I had changed. Is there something else I need to do to remove a subdomain that is no longer needed?

When I run sudo apachectl -S I'm only seeing the subdomains I have currently active, those old staging subdomains are not listed. Is there subdomain caching that I need to clear? Is there something I am missing about the right way to bring these domains up and down?

Side note: I do not have a control panel or access to the domain name registrar (I go through my client with requests). Our main development domain is pointing at the final IP, I make subdomains with the vHost as described above, and later I ask our client to point the new domain at the IP and make my vHost updates, I also have to wait until the domain is pointed at the IP to make the new certificate.

It is the weird leftover staging subdomains that are stumping me, Is there subdomain caching that I need to clear?

thanks any related advice is appreciated. :) (we have a Riskrecon report that is flagging these domains and I'm trying to debug)

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.