After renewing LetsEncrypt "mainsite.com" is redirecting to "subdomain1.mainsite.com"


#1

i have an digital ocean ubuntu VPS. I am using EasyEngine.

my site are mainsite.com (Wordpress site) subdomain1.mainsite.com (non Wordpress site) subdomain2.mainsite.com (non WordPress site)

i have installed LetsEncrypt on all this websites and few days before when the SSl was about to expire i renew the certificates.

after renewing “mainsite.com” is redirecting to “subdomain1.mainsite.com” .

i tried disabling letsEncrypt it didnt solved the issue.

nginx -t conflicting server name “website.com” on 0.0.0.0:80, ignored


#2