• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

nginx error

Tsi-Shawn

Basic Pleskian
Restarting nginx I get the error:

nginx: [warn] conflicting server name "www.strategicmineplanning.com" on 206.248.173.164:80, ignored
Starting nginx: nginx: [warn] conflicting server name "www.strategicmineplanning.com" on 206.248.173.164:80, ignored

www.strategicmineplanning.com is not in the control panel and is not located in /var/www/vosts (because it is a forward it does not show up in vhosts)

If you go to the URL it forwards you to a site. This site is in the control panel and also has another forward in the control panel pointing to it: www.strategicmineplanning.ca

If I try to add www.strategicmineplanning.com to the control panel it fails with an error stating that the site is already there.

When I look for the site in the cli I get the following back:

[root@webhost1 vhosts]# locate strategicmineplanning.com
/etc/httpd/conf/plesk.conf.d/forwarding/strategicmineplanning.com_httpd.conf
/etc/httpd/conf/plesk.conf.d/forwarding/strategicmineplanning.com_httpd.conf.bak
/etc/httpd/conf/plesk.conf.d/forwarding/www.strategicmineplanning.com_httpd.conf
/etc/httpd/conf/plesk.conf.d/webmails/roundcube/strategicmineplanning.com_webmail.conf
/etc/httpd/conf/plesk.conf.d/webmails/roundcube/www.strategicmineplanning.com_webmail.conf
/etc/nginx/plesk.conf.d/forwarding/strategicmineplanning.com_nginx.conf
/etc/nginx/plesk.conf.d/forwarding/strategicmineplanning.com_nginx.conf.bak
/etc/nginx/plesk.conf.d/forwarding/www.strategicmineplanning.com_nginx.conf
/etc/nginx/plesk.conf.d/webmails/strategicmineplanning.com_webmail.conf
/etc/nginx/plesk.conf.d/webmails/www.strategicmineplanning.com_webmail.conf
/var/named/chroot/var/strategicmineplanning.com
/var/qmail/mailnames/strategicmineplanning.com
/var/spool/postfix/private/plesk-strategicmineplanning.com-206.248.173.164-

When I ping/host/dig the site it all points back to the server. So it is hosted on the server but it is not viewable in the control panel. Any thoughts?
 
Igor,

That fixed the nginx error but when trying to add the domain through the control panel:


Domain name *
www. This domain name already exists.
 
Maybe additionally you need to remove other files with www and check corresponding orphaned records in psa database.
 
Run

# plesk db

and use SQL queries for searching extra records in tables about this domain. Contact Parallels Support Team if you are not familiar with SQL.
 
Back
Top