Your URL strategy should incorporate the following multisite-specific URLs.

Site Base URL Configuration

Note: If the site URL includes a non-default port, it must be explicitly specified when you set that URL in Site Administration.

Site base URLs resolve a browser request from the Web application. The site base URL may or may not be the public URL for the site, but it must be unique across all sites.

In some cases, this URL may be a virtual context root that does not map to a physical Web application. If so, the context root URL records the actual context root.

Context Root URL

If the site base URL or alternative URL is a virtual context root (a context root that does not map to a physical Web application) this context root URL records the value for the actual context root that maps to a physical Web application.

For example, a site with an ID of yellow-site could have a Site Base URL of /yellow, but there may not be a Web application configured that has a context root of /yellow. As such, /yellow is a virtual context root. You identify the actual context root you want the yellow-site to use. For example you might choose to have the yellow-site map to the contents of a Web application with a context root of /colors, in which case the Context Root property will be set to /colors. So a request to /yellow/index.jsp will actually be served up by the /colors/index.jsp, but with the flavor of the yellow-site site.

To associate the context root property with the virtual context root, the site developer must map the two in the Site Repository as well as configure the appropriate web.xml file. Refer to the ATG Platform Programming Guide for detailed information on creating and configuring virtual context roots.

Alternative URLs

More than one URL may map to the same site base URL. The alternative URL provides additional URLs that map to the site base URL When you add alternative URLs, you enter the value of the URL, for example, www.allcolorstore.com or www.allcolorstore.com/colors. You must also identify the priority of each alternative URL.

Redirection URLs

There are three redirection URL properties that are available by default:

These URLs can also be used to redirect users if the Site Base URL is not available. Redirection URLs are always entered as full domain URLs, for example www.allcolorstore.com/
sales/blue/october
.