Friday, June 10, 2011

Internet URL auto redirects to Intranet URL

Issue:
Company’s internet site auto redirects to Company’s Intranet site
Scenario:
Company’s intranet Site:              http://abc
Company’s internet Site:              http://abc.xyz.com
One user had added Link Web Part on site and in that link web part when he clicks on http://abc.xyz.com  it auto converts into http://abc  in the web part and internet user is not able to access the site. If he manually changes the URL from http://abc to http://abc.xyz.com then it’s working fine.
Resolution:
I did very basic troubleshooting and the issue got resolved.
  • First I went to Central Administration > Operations > AAM settings and checked zone settings for the affected sites. It was looking good.
  • Then I went to IIS manager and found that our developer had put redirection URL under Home Directory of that site.
  • It was obviously for testing purpose but after testing he did not remove it.
  • So I just changed the option to “A directory located on this computer” option and it was working fine as expected.
Feel free to reach me if you have any doubts.

No comments:

Popular Posts

Disclaimer

The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.