Deletealternatedomain: Stsadm operation (Office SharePoint Server)

Applies To: Office SharePoint Server 2007

This Office product will reach end of support on October 10, 2017. To stay supported, you will need to upgrade. For more information, see , Resources to help you upgrade your Office 2007 servers and clients.


Topic Last Modified: 2015-03-09

Operation name: Deletealternatedomain


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.


stsadm -o deletealternatedomain

**   -url <valid URL>**

**   -incomingurl <http://incoming.url>**


Parameter name





A valid URL, such as http://server_name or https://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, https://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 https://sharepoint:1234

See Also