successdav
5 months ago
710
2
Servers

Conflicting server name

Posted 5 months ago by successdav

I was not having this problem until I tried to reinstall my ssl certificate then this error shows up now when I try to visit sp-movies.com/wp-admin it will redirect me to nigeriaschoolinfo.com

when I run this code sudo nginx -t then this error shows up

nginx: [warn] conflicting server name "www.sp-movies.com" on 0.0.0.0:80, ignored
nginx: [warn] conflicting server name "www.sp-movies.com" on [::]:80, ignored
nginx: [warn] conflicting server name "www.sleettech.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "www.stechmax.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "www.sleettech.com" on [::]:443, ignored
nginx: [warn] conflicting server name "www.stechmax.com" on [::]:443, ignored
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
[email protected]:/etc/nginx/sites-enabled$ client_loop: send disconnect: Connection reset by peer

I have followed this guide here

https://stackoverflow.com/questions/11426087/nginx-error-conflicting-server-name-ignored

but I cant see anywhere file with default~ or a leading ~ as discussed in the stackoverflow question

Thanks for your help

Please sign in or create an account to participate in this conversation.