Database setup not correct – multiple websites from one VM
-
I have 3 websites running on one VM, it was 2, then i moved one off to another hosting, then decided i preferred the original so started moving it back and bringing my third one over.
I had made very few changes to the one that is currently confusing me, so decided to just point the DNS back to the original host and make the changes again, all seemed well and good until I needed to disable the 2FA and was looking at the wp-config.php and discovered that 2 of the websites were inadvertently pointing at the same database (wordpress) when I logged into the database to see what was going on, that database doesn’t even exist, only the one for the website that never moved and the one for the website I just migrated. What’s really strange is both websites are loading fine!
I’ve checked the config files in /etc/apache2/sites-available/ and they are both pointing to the appropriate /var/www/ folder for the relevant website.
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.