We have set up a MOSS 2007 server with an internet site. It has a public accessurl e.g. with http://aaa.sss.com. This site collection has two subsites -http://aaa.sss.com/TR and http://aaa.sss.com/EN." target="_blank" rel="nofollow">http://aaa.sss.com/EN. We want subsitehttp://aaa.sss.com/EN to be accessed via http://newaccess.sss.com. Is itpossible to do so?
That seems to be the solution for me. As access urls could only be set up on thewebapp level, it seems that there is no possibility to set http://aaa.sss.com/ENto be accessed via http://newaccess.sss.com, but http://newaccess.sss.com/ENmust also be OK.
You can create a forwarding. To do so conduct the following:Open IISRight click Web SitesSelect NewSelect Web SiteSelect NextType in the description for the Redirection (ex: Redirect tohttp://aaa.sss.com/en" target="_blank" rel="nofollow">http://aaa.sss.com/en)Select All UnassignedSelect Port 80Enter the host header http://newaccess.sss.com" target="_blank" rel="nofollow">http://newaccess.sss.comSelect NEXTEnter c:\inetpub\wwwroot (leave allow anonymous access checked)Go with READ checked (accepting the defaults)Click FinishRight click on the newly created Redirect to http:/aaa.sss.com/enSelect PROPERTIESSelect HOME DIRECTORYSelect A REDIRECTION TO A URLType in the URL to http://aaa.sss.com/en" target="_blank" rel="nofollow">http://aaa.sss.com/enCheck the box THE EXACT URL ENTERED ABOVESelect APPLYSelect OK.Try to access http://newaccess.sss.com" target="_blank" rel="nofollow">http://newaccess.sss.com and it should redirect tohttp://aaa.sss.com/en" target="_blank" rel="nofollow">http://aaa.sss.com/en.
You can setup an alternate access Mapping to map aaa.sss.com tonewaccess.sss.com, but you won't be able to map a subsite address directly to aroot URL. The closest you can come would be that http://aaa.sss.com/EN would bemapped to http://newaccess.sss.com/EN" target="_blank" rel="nofollow">http://newaccess.sss.com/EN, but not to http://newaccess.sss.com." target="_blank" rel="nofollow">http://newaccess.sss.com. Theonly way I know of to achieve a vanity URL like http://newaccess.sss.com is tocreate an IIS website at that address and use a redirect page to send the userto the site at http://aaa.sss.com/en. You can't use AAMs to map subsites to rootURLs.
Redirecting the user is not the preferred approach, address bar should not bechanged. But I got the point thanks a lot.