How to redirect internal URL to SharePoint subsite?

logictrail
logictrail used Ask the Experts™
on
I need to redirect internal URL http://company.com to SharePoint subsite http://server1:81/subsitename.
I did AAM in SharePoint, but it redirects only to http://server1:81. Any thoughts?
Right now http://company.com is pointing to http://server1:80 via DNS settings.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Kyle AbrahamsSenior .Net Developer

Commented:
have you tried on using the iis rewrite module on server1 to execute the redirect ?

http://blog.discountasp.net/root-redirection-to-subdirectory/

Author

Commented:
Yes, I have. The problem is I have a working site on http://server1:81, and if use redirect I cant open that site since it 's redirected to subside.
Can I use iis rewrite module to redirect domain http://company.com to to SharePoint subsite http://server1:81/subsitename?
Solutions Architect
Commented:
you can do it via IIS only, using http redirect option. you need to put the URL http://server1:81/subsitename in the redirect settings.

refer https://technet.microsoft.com/en-us/library/cc770409(v=ws.10).aspx

Author

Commented:
Thank you!!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial