Site base URLs resolve a browser request from the Web application.
The site base URL:
Determines the site context for each production request.
Provides the base string value for the absolute URL link generation.
Provides the starting point string that is transformed into staging URLs.
Is associated with a site ID and used to create a mapping pair that is used by the site determination logic.
Site base URLs use server-side validation to determine if the URL is unique. By comparing the URL against the current and other additional and redirect URLs, the URL is identified as unique. The site base URL may or may not be the public URL for the site.
Note: The site base URL must be unique across all sites.
In some cases, the site base URL may be a virtual context root that does not map to a physical Web application. In these circumstances the context root URL will be used to record the actual context root.
For information on setting up validation for site base URLs, refer to the Site Base URL Validation section.
Site Base URLs and JSPs
When you are creating JSPs, you must include the intended site’s site base URL when creating links. Use the SiteLinkDroplet
when constructing links as this ensures consistent and proper link generation across sites and across preview, staging and production servers. For information on the SiteLInkDroplet
, refer to the ATG Page Developer's Guide.