Welcome to ISAserver.org
Forums |
Register |
Login |
My Profile |
Inbox |
RSS
|
My Subscription |
My Forums |
Address Book |
Member List |
Search |
FAQ |
Ticket List |
Log Out
Web site redirection
|
Users viewing this topic:
none
|
Logged in as: Guest
|
Login | |
|
Web site redirection - 12.Dec.2007 6:33:16 AM
|
|
|
defjam
Posts: 6
Joined: 12.Dec.2007
Status: offline
|
G'Day Sorry if this is obvious but I am stumped. I have an ISA2006 server that I am trying to use to redirect some URL's to a particular place. Basically I have an external URL which I want to publish (www.external.com) which sits on port 90 internally (www.internal.com) so I want to redirect using ISA the above external to the above internal. No problems. But I also have a site (www.external.com/stuff) that I want to redirect to www.internal.com on port 81. How do I go about doing this? Thanks james
|
|
|
|
RE: Web site redirection - 12.Dec.2007 3:16:17 PM
|
|
|
pwindell
Posts: 802
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
|
Well if we beat our brains out long enought there might be a way,...but having to go through all that is a tell-tale sign that we would be working from a bad initial design in the first place. When things are done correctly,...things are usually *easy* to do. 1. You should not be jumping around on ports. Done correctly, an unlimited number of web sites can be created on a single web server that all use the same IP# and the same port #. 2. You don't really have 2 sites. www.external.com and www.external.com/stuff are the same site. The "/stuff" is just a URL Path,...it does not make it a new site. If you clarify what is going on with these internal "sites" and what your ultimate goal is we may be able to fix the design and use the correct approach,...maybe.
_____________________________
Phillip Windell www.wandtv.com
|
|
|
|
RE: Web site redirection - 12.Dec.2007 3:51:43 PM
|
|
|
defjam
Posts: 6
Joined: 12.Dec.2007
Status: offline
|
G'Day In this case they kind of are. The structure was imposed. Basically the www.external.com site is a static web site with limited content on it that is hosted on another server. The www.external.com/stuff site is a MOSS 2007 application and as such needs to sit on a different port for a number of reasons. james
|
|
|
|
RE: Web site redirection - 12.Dec.2007 4:03:21 PM
|
|
|
pwindell
Posts: 802
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
|
I didn't say the two physical sites were the same site,...I said the URLs of www.external.com and www.external.com/stuff are the same site. For them to work as two different sites you need to change the name portion of them,..not the path portion. For example: http://www.external.com http://ww2.external.com That would be two different sites. They would use two different Publishing Rules in ISA and the Publishing Rules can make "path" adjustments if needed. For example, you can have the Publishing Rule for "ww2.external.com" to automatically drop the user in the "/stuff" directory by adjusting the settings in the Pathes section of the Rule Properties to be like this: External Path Internal Path /* /stuff/* The user types http://ww2.external.com into their browser but they get dumped into http://ww2.external.com/stuff
_____________________________
Phillip Windell www.wandtv.com
|
|
|
|
RE: Web site redirection - 12.Dec.2007 4:29:43 PM
|
|
|
defjam
Posts: 6
Joined: 12.Dec.2007
Status: offline
|
I understand. The difficulty is that I do not believe I can create another url. Can you think of any other way? I was trying to have a publishing rule created to take any traffic sent to www.external.com and action that..and create another rule that worked on www.external.com/stuff but that failed to work as expected. If worse comes to worst I can drop a url redirection into the /stuff directory, but that isn't very elegant. james
|
|
|
|
RE: Web site redirection - 12.Dec.2007 4:48:15 PM
|
|
|
pwindell
Posts: 802
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
|
I understand. The difficulty is that I do not believe I can create another url. Sure you can. The names are Public Names. they don't exist on your Web server because it doesn't care, to it they are nothing but Host Headers. They do not exist on your AD/DNS either unless you run Split-DNS (which isn't a bad idea to do). They only exist at your ISP's DNS. So you would already have a Domain Name registered with the ISP or whoever is the authoritative DNS for the Domain. Then they would also have a Host (A) Record for "www". So you contact them and tell them you need to add another Host Record or Alias Record (depends on the situation) It looks like this if these are both HTTP sites using the same Public IP# Zone: external.com HOST "A" Record: www <mypublic IP#> CNAME "Alias" Record: ww2 www.external.com Or you could optionally use another "A" Record instead of the CNAME. Zone: external.com HOST "A" Record: www <mypublic IP#> HOST "A" Record: ww2 <mysamepublic IP#> If any of these site will ever be an SSL Site then you need a unique Public IP# for each. Zone: external.com HOST "A" Record: www <myfirstpublic IP#> HOST "A" Record: ww2 <mysecondpublic IP#> Can you think of any other way? I was trying to have a publishing rule created to take any traffic sent to www.external.com and action that..and create another rule that worked on www.external.com/stuff but that failed to work as expected. I really have no idea what you mean by that. If worse comes to worst I can drop a url redirection into the /stuff directory, but that isn't very elegant. That is actually the most common way it is done because many public websites are not behind firewalls or proxy servers like ISA. But again,...that is all within the same site,...there are not two different sites in that example based on what defines a new "site".
_____________________________
Phillip Windell www.wandtv.com
|
|
|
|
RE: Web site redirection - 12.Dec.2007 11:58:58 PM
|
|
|
defjam
Posts: 6
Joined: 12.Dec.2007
Status: offline
|
What I was trying to do was create two rules, one that worked on www.external.com and another that worked on www.external.com/stuff such that the Public Name the rules acted on had the full path listed. But that doesn't work. The Path options are there, but I can't see a way of using it to force the traffic to a different port. The issue is the port, I can redirect the sites as needed if I have two different URL's and I can drop a URL redirect into www.external.com/stuff to go to another url as needed but I am really trying to find a way of doing it without needed another url. The customer in this case published the URL publically and as such is a bit loathed to have to republish it in the media. So I have a simple system with two different external URL's and that works fine. But I am looking if there is a way I can make it happen using the main url. So any ideas?
|
|
|
|
RE: Web site redirection - 13.Dec.2007 3:15:13 PM
|
|
|
pwindell
Posts: 802
Joined: 12.Apr.2004
From: Taylorville, IL
Status: offline
|
I've already told you the way it has to be done. If the customer should not have made anything public until everything had been thought out properly and tested. If they want www.external.com/stuff to work like that then they need to have everything in one Site and not have two sites or just create a folder called "/stuff" on the first site with a redirect in the page to the second site,...or embed the page from the second site within Frames or IFrames on the first site. If using Frames/IFrames or the redirect method then it will still require all the same things I have described before concerning the Site, ISP's DNS and Publishing Rules.
_____________________________
Phillip Windell www.wandtv.com
|
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|