Same Website Open On different Domain On single droplet

Posted October 24, 2021 135 views
NginxMySQLPHPUbuntu 20.04

Hello i installed 2 Wordpress on different domain on Single droplet.

but on my ip showing my second Wordpress and and showing same Wordpress website.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi @corpretailblog,

This seems like you either have the same Database for the websites or your Nginx config is not configured properly for either or

What I’ll suggest is your Nginx config files first, see the root directory for both domains, if it’s the same one, it’s entirely possible for both websites to be loading the same content.

Additionally, as I said, see if both websites are using the same wp-config in terms of database, this can be a problem as well.