I recently encountered the following error message when running the Products Configuration Wizard (psconfig) in SharePoint 2013.
Exception: System.ArgumentException: The IncomingUrl is already present in the collection in a different zone. A url may only map to one zone at a time. Use a different url for requests from this zone.
Although I had a number of Alternate URLs setup in the SharePoint farm, it turns out that none of these were causing the issues (I removed each of them, and the error message didn’t go away).
Instead, this farm had a bit of a peculiarity which was causing this issue. The farm was a 3-tier farm (1 SQL, 1 APP, 1 WFE) and previously the App server on this farm had died, so it was removed from the farm. In order to get Central Admin working again, central admin was added to the WFE of the farm. We now had a 2-tier farm instead (1 SQL, 1 WFE – with CA).
Unfortunately, although the app server had previously been removed, the farm still thought the APP server was part of the Alternate Access Mappings in the “Default” zone (see below).
To resolve this, I had to run the config wizard and remove central admin from the WFE server (leaving me with no Central Admin), followed by rerunning the config wizard and adding Central Admin back on to the WFE. This appears to have corrected the problem, and I ended up with a single Alternate Access Mapping with the WFE in the default zone.
This one was a pain to resolve, so I hope this helps someone else out there to save a few hours some time.