Yesterday I’ve installed a new TFS 2010 Beta 1. Everything was working well from the first time, but we could only access the server with his local name. Our developers work both at the office and at home, so we wanted to enable a (public) fully qualified domain name. The TfsAdminTool seems to be gone so I couldn’t configure the connections like I did with TFS 2008. I couldn’t find either a simple solution but the following procedure did the job. (Without reinstall TFS)
Restart
Add your FQDN to the alternate access mapping of SharePoint: SharePoint 3.0 Central Administration > Operations >Alternate access mappings
Change the RS & WSS locations by editing tbl_LocationMapping table in the TFS Configuration database
IISRESET
Change the WSS connection URLs : Team Foundation Administration Console>[ Your Server] > Application Tier >SharePoint Web Applications>Change SharePoint Web Application>URLs tab>Site Creation URL: http(s)://FQDN
Change the SharePoint/TFS mapping: Team Foundation Administration Console>[ Your Server] >Extensions for SharePoint and Technologies>Modify Mapping>Replace the local name with the FQDN
Clear the TfsRedirect.aspx cache for Team System Web Acces. There is a querystring argument for TfsRedirect.aspx called tf:ClearCache that allows you to clear the cache (if you are a site administrator). So if your site is at http://myserver/sites/Collection0/Project1, you would use the following URL to clear the cache http://myserver/sites/Collection0/Project1/_layouts/TfsRedirect.aspx?tf:Type=WebAccess&tf:ClearCache=1. This will clear the cache and then redirect you to web access. You can use the tf:Test =1 argument without using tf:ClearCache if you want to see the URLs that its going to use, but don't want to forcibly clear the cache.
Clear the TfsRedirect.aspx cache for the Reports: so if your site is at http://myserver/sites/Collection0/Project1, you would use the following URL to clear the cache http://myserver/sites/Collection0/Project1/_layouts/TfsRedirect.aspx?tf:Type=ReportLists&tf:ClearCache=1& tf:Test=1
By Wim Van Hoye, Technology Manager