So this is very weird. I have a server (2 of 3) that is functioning well. I added a new domain. There are 19 now on this server. So the newest domain, domain19.com, seems to have found a way to affect domain7.com. If I go to domain7.com and I get domain19.com's wordpress saying page not found. I've checked that the web directory on both domains is indeed their own with their own config files, database, and files. I've check the apache sites-available directory and ensured that the paths to these domains are correct. I've restarted apache. Both domains have SSL enabled. I've set the PHP from "default" to 8.2 on both domains. I can load every other website on this server without issues. But these two seems intertwined and I'm scratching my head. It's got to be an apache issue. If I tail the access_log on domain7.com, I can see an initial load request and that's all. So then if I go look at the access_log on domain19.com - well, there's the rest of the request. (shakes head) I dunno. It doesn't make any sense to me but it's got to be something silly/simply/stupid. Has this happened to anyone else? Should I just delete this entire domain19.com and start over?
That's likely covered in this post, chapter 2: https://forum.howtoforge.com/threads/please-read-before-posting.58408/
Hi Till. I did read that link before posting. 2. When visiting domain B, the content of domain A is showing! This problem can have 2 causes: - You have HTTPS enabled for domain A but not for domain B, will visiting domain B over HTTPS. It is Apache's default behaviour to show the first website in the list that has HTTPS enabled. - domain A is listening on * while domain B is listening on a specific IP, or vice versa. Make sure all your webs are listening on a specific IP or *. And I paid attention to this. As I said, I checked the apache files in sites-available and both have *:80 in them. I think I'll just delete the new domain entirely and see if the original site comes back.
I deleted the new client entirely and the other domain was still whacked. So I deleted the files in the /web directory for domain7.com I reinstalled Wordpress on that site, restored the backup, and now it's working. So I'm back where I started. Now I can re-add the new client, etc, etc. I really have no idea why domain19.com mucked up domain7.com. That's tomorrow's job I guess, enough for today!
Everything is fine this morning. I did a complete delete of the new client for domain19.com. I added the website, dns, mail domain, email accounts, etc back but under my account. I'm still not positive went wrong but I think I may have deleted the * in one of the fields in the DNS screen by mistake and forgot to put it back? It's the only thing I can think of and I remembered that while re-creating everything. But all is good today.