Plesk

Plesk Home page shows: nginx: [emerg] a duplicate default server for 2001:db8:f61:a1ff:0:0:0:80

Symptoms

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).