Share via


Deletealternatedomain: Stsadm operation (Windows SharePoint Services)

Applies To: Windows SharePoint Services 3.0

 

Topic Last Modified: 2007-12-10

Operation name: Deletealternatedomain

Description

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

Syntax

stsadm -o deletealternatedomain

**   -url <valid URL>**

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

Parameters

Parameter name

Value

Required?

Description

url

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

No

URL of the Web application.

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

incomingurl

A valid URL, such as "http://sharepoint.courses.contoso.com:1234"

Yes

The internal URL that you want to delete.

Remarks

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.

Examples

If a reverse proxy server or load balancer receives a request from the user as https://www.contoso.com and forwards it to the server running Windows SharePoint Services 3.0 as http://sharepoint.courses.contoso.com:1234, the administrator would configure the following URLs for a SharePoint Web application:

Internal URL: http://sharepoint.courses.contoso.com:1234

Public URL: https://www.contoso.com

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

To delete the http://sharepoint.courses.contoso.com:1234 internal URL, use the following syntax:

stsadm -o deletealternatedomain -incomingurl http://sharepoint.courses.contoso.com:1234

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

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

See Also

Concepts

Deletezoneurl
Enumalternatedomains