Deletealternatedomain: Stsadm operation (Windows SharePoint Services)

Windows SharePoint Services 3.0

Updated: December 13, 2007

Applies To: Windows SharePoint Services 3.0


Topic Last Modified: 2007-12-10

Deletes an internal URL from a URL zone.

This operation is equivalent to the Edit Internal URLs user interface setting that is located on the Alternate Access Mappings page of the SharePoint Central Administration Web site.

For more information, see Configure alternate access mapping (Windows SharePoint Services).

stsadm -o deletealternatedomain

   -url <valid URL>

   -incomingurl <http://incoming.url>


Parameter name





A valid URL, such as http://server_name or http://sharepoint:1234


URL of the Web application.

In Windows SharePoint Services 3.0, this parameter is ignored. It remains for backward compatibility.


A valid URL, such as ""


The internal URL that you want to delete.

Because the public URL of a zone also serves as an internal URL of a zone, and because a Web application must always have a public URL for the Default zone, you cannot delete the last internal URL for the Default zone.

In Windows SharePoint Services 2.0, an internal URL was referred to as an incoming URL and a public URL was referred to as an outgoing URL.

If a reverse proxy server or load balancer receives a request from the user as and forwards it to the server running Windows SharePoint Services 3.0 as, the administrator would configure the following URLs for a SharePoint Web application:

Internal URL:

Public URL:

For this example, http://sharepoint:1234 and are already alternate access mappings (AAM) URLs that are assigned to a Web application that are using the Internet zone.

To delete the internal URL, use the following syntax:

stsadm -o deletealternatedomain -incomingurl

To confirm the change to the internal URL, use the following syntax:

stsadm -o enumalternatedomains -url http://sharepoint:1234