But the problem we are facing is that when it redirects to the Teamsite the URL contains IP address of the teamsite server instead of DNS name. So i was wondering is there any configuration file where we need to change to make this happen.