Cobra Forum

Plesk Panel => Webserver => Topic started by: Suhitha on Mar 05, 2026, 06:46 AM

Title: Plesk Home page shows: nginx: [emerg] a duplicate default server for 2001:db8:f6
Post by: Suhitha on Mar 05, 2026, 06:46 AM
Question: Plesk Home page shows: nginx: [emerg] a duplicate default server for 2001:db8:f61:a1ff:0:0:0:80


Applicable to:



Symptoms


New configuration files for the Apache web server were not created due to the errors in configuration templates: nginx: [emerg] a duplicate default server for [2001:db8:f61:a1ff:0:0:0:80]:443 in /etc/nginx/plesk.conf.d/ip_default/example.com.conf:7 nginx: configuration file /etc/nginx/nginx.conf test failed.

T

# plesk repair web example.com

# grep -Rl "2001:db8:f61:a1ff:0:0:0:80" /etc/nginx/*
/etc/nginx/plesk.conf.d/ip_default/example1.com.conf

# plesk repair web -n
Checking web server configuration. Please wait

Unknown file: /etc/nginx/plesk.conf.d/ip_default/example1.com.conf . [ERROR]


Cause

Domain example1.com was removed from Plesk but its configuration file remained.
For this reason, a new configuration file for example.com can not be created.


Resolution

                                Plesk Obsidian 18.0.35 or higher

Starting from Plesk Obsidian 18.0.35 you can check and remove orphaned configuration files using the Plesk Repair CLI Utility:

# plesk repair web


                                      Plesk Obsidian 18.0.34 or earlier

1.Login to the server via SSH

2.Remove orphaned configuration file:

# rm -rf /etc/nginx/plesk.conf.d/ip_default/example1.com.conf

3.Reconfigure the domain example.com:

# plesk repair web example.com

Note: If the manual domain reconfiguration was successful but Plesk still shows the same error on the Home page - remove the orphaned record about it from the database:
Webserver Configurations Troubleshooter detects extra configuration or shows a false positive report on the Home page).