Link to home
Start Free TrialLog in
Avatar of rcil_admin
rcil_admin

asked on

Redirect IIS to Sharepoint site?

Hello, I want to redirect from our public website to a Sharepoint site on the private network. The idea is that an employee can browse our public site from home, click on a link for employees and be redirected to an employee WSS site. I have a way to do it but was thinking that there may be an easier way, thought I would ask anyway...

Using Cisco Firewall/Router. No ISA so cannot publish. Both IIS and Sharepoint are on the same Web server.

Website:
Public IP - 209.xxx.xxx.200
Private IP - 192.168.1.75

Sharepoint:
Private IP - 192.168.1.76

I know I can assign another public IP on the router and NAT it to the private of Sharepoint, then set up redirection to a URL in IIS so, if they click on a URL that points to http://209.xxx.xxx.200/employee IIS can redirect that to http://209.xxx.xxx.201/employee (sharepoint site). This should work but is there an easier way to redirect using IIS or is it impossible?
Avatar of Andrei Teodorescu
Andrei Teodorescu
Flag of Romania image

IIS it can't help you in your case scenario; you simply have two websites, each with its own IP. If you want to assign them the same IP you'll have to differentiate them either by using hostheaders or by using a different port other than 80 to one of them.

You'll have to consider to redirect using a JavaScript since from the internal network the URLs will look differently, especially if you don't use FQDN URLs/
ASKER CERTIFIED SOLUTION
Avatar of cj_1969
cj_1969
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I can't access too many sites about this subject due to web filters but here is one page that might help ...
http://www.iis.net/downloads/default.aspx?tabid=34&g=6&i=1493

Try checking out the results of this google search ...
http://www.google.com/search?hl=en&q=IIS+proxy+application&aq=f&oq=&aqi=
I think you are using the term 'redirect' incorrectly.  A redirect a reponse to a browser that it has to go to another DNS or IP location to get a page it requested.

You are describing a proxy scenario where in a public site is acting like a middle man to redirect content from an internal site.  If you use Windows Authentication it won't work unless you use ISA 2006 which is capable of relaying Windows credentials securely.

These links will explain a way to do it using 'Alternate Access Mapping' and a proxy server:

http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-1.aspx

http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-2-of-3.aspx

http://blogs.msdn.com/sharepoint/archive/2007/03/06/what-every-sharepoint-administrator-needs-to-know-about-alternate-access-mappings-part-3-of-3.aspx