Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

publishing multiple websites

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA Server 2004 General ] >> Web Publishing >> publishing multiple websites Page: [1]
Login
Message << Older Topic   Newer Topic >>
publishing multiple websites - 14.Jul.2006 11:25:35 PM   
pblack

 

Posts: 17
Joined: 28.Mar.2001
Status: offline
Is it possible to publish multiple websites to one ip on the ISA 2004 server?  (2 intranet sites to one ip on external nic on ISA server)
Post #: 1
RE: publishing multiple websites - 16.Jul.2006 5:27:55 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi P,

Yes, create multiple rules, with each rule using a different public name or different path.

HTH,
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to pblack)
Post #: 2
RE: publishing multiple websites - 17.Jul.2006 5:35:24 PM   
pblack

 

Posts: 17
Joined: 28.Mar.2001
Status: offline
When you say rule do you mean published web server? Or is that a access policy?

(in reply to tshinder)
Post #: 3
RE: publishing multiple websites - 18.Jul.2006 12:21:57 PM   
Venice

 

Posts: 73
Joined: 8.Jul.2005
From: Belgium
Status: offline
You will need a separate web-publishing rule for each unique internal IP-address (server-address).
If your 2 intranets are on the same internal IP-address, one publishing rule should do (listen on your external address and forward to the internal server).  In that case you will need the original host-header to be forwarded to your IIS-server to make the difference at that level.

If your intranets are on a different internal IP-addres, you will need corresponding different external IP-addres too. 
A listener can listen on different external IP-addresses and forward to one central internal IP-address (many to one) but not to multiple internal addresses (one to many or many to many).

This is OK...
Ext IP 1------------|
Ext IP 2------------|-------Int IP (different sites, each with own host-header)
Ext IP 3------------|

But this won't work...
                          |-------Int IP 2
Ext IP 1------------|-------Int IP 1
                          |-------Int IP 3

(in reply to pblack)
Post #: 4
RE: publishing multiple websites - 18.Jul.2006 8:57:47 PM   
pblack

 

Posts: 17
Joined: 28.Mar.2001
Status: offline
I have successfully created a 2 web publishing rules using one listener, one ip in the external nic on the isa server going to two different ips internally.
The last post sounds like I shouldnt be able to do that.

ext ip on isa server------------| intranet site1 ip 172.16.x.1
                        ------------| intranet site2 ip 172.16.x.2           

(in reply to Venice)
Post #: 5
RE: publishing multiple websites - 19.Jul.2006 10:25:15 AM   
Venice

 

Posts: 73
Joined: 8.Jul.2005
From: Belgium
Status: offline
Well, sounds like I'm mistaken about that.  Never tought about using the same listener in different rules.
So, it works, great, and I learned something too.
Regards !

(in reply to pblack)
Post #: 6
RE: publishing multiple websites - 19.Jul.2006 5:24:45 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi Venice,

You bet! That was in the book!

Thanks!
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to Venice)
Post #: 7
RE: publishing multiple websites - 20.Jul.2006 3:53:47 AM   
imsam

 

Posts: 32
Joined: 29.Jan.2001
Status: offline
Hi,

This is exactly what I'm trying to do with no success. I'd like to use one outside IP address, one web listener but be able to forward to multiple internal IPs.

Outside IP 63.x.x.250 |------ 172.16.x.1 Web site #1
                            |------ 172.16.x.2 Web site #2

What do I need to do to accomplish this? I already have one web listener. I also have created two separate web publishing rules but this doesn't seem to work. Web sites are getting confused.

What steps do I need to take to make this work? Thanks.

(in reply to pblack)
Post #: 8
RE: publishing multiple websites - 20.Jul.2006 11:33:52 AM   
Venice

 

Posts: 73
Joined: 8.Jul.2005
From: Belgium
Status: offline
Hèhè Tom, I'm about eating 'The book' since we made the transition from good old proxy-server to ISA-server. But,  must have missed that one, or more likely... forgotten, like so many many items about... Exchange... IIS... .NET... Security... DCOM... ASP... DNS... WINS... VPN... unwilling tapes... etc... etc...

imsam...
"websites are getting confused", what do you mean ?  On the client-side ?


(in reply to imsam)
Post #: 9
RE: publishing multiple websites - 20.Jul.2006 3:35:52 PM   
imsam

 

Posts: 32
Joined: 29.Jan.2001
Status: offline
What I meant by that is that I was getting under construction which is the default web site. I never set up the default web site. I set up my web site as MySite. So traffic was getting routed to the wrong site.

Looks like you figured out how to set this up. I can definitely use some pointers here. What am I doing wrong? I already have one web listener that's listening on port 80. I also created two separate web publishing rules -- one for each site. What am I missing?

(in reply to Venice)
Post #: 10
RE: publishing multiple websites - 20.Jul.2006 3:48:13 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
quote:

ORIGINAL: imsam

Hi,

This is exactly what I'm trying to do with no success. I'd like to use one outside IP address, one web listener but be able to forward to multiple internal IPs.

Outside IP 63.x.x.250 |------ 172.16.x.1 Web site #1
                           |------ 172.16.x.2 Web site #2

What do I need to do to accomplish this? I already have one web listener. I also have created two separate web publishing rules but this doesn't seem to work. Web sites are getting confused.

What steps do I need to take to make this work? Thanks.


Hi Sam,

Each rule has to use a different Public Name or a different path.

HTH,
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to imsam)
Post #: 11
RE: publishing multiple websites - 20.Jul.2006 3:49:20 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
quote:

ORIGINAL: Venice

Hèhè Tom, I'm about eating 'The book' since we made the transition from good old proxy-server to ISA-server. But,  must have missed that one, or more likely... forgotten, like so many many items about... Exchange... IIS... .NET... Security... DCOM... ASP... DNS... WINS... VPN... unwilling tapes... etc... etc...

imsam...
"websites are getting confused", what do you mean ?  On the client-side ?




Hi Venice,

Thanks for getting the book! :)

Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to Venice)
Post #: 12
RE: publishing multiple websites - 20.Jul.2006 7:03:44 PM   
Venice

 

Posts: 73
Joined: 8.Jul.2005
From: Belgium
Status: offline
Tom, you're most welcome

Imsam
Since you can connect to the default website, your listener and rule(s) is working.  But, since you have a 'Default website' and 'MySite' on the same server, changes are the default website and 'MySite' (not mine, yours) are configured on the same IP-address too ? So, do you have the right host-header values on your websites so the difference can be made by IIS ?
If not ...
In IIS-manager click the properties of 'MySite'.  On the website Tab, click Advanced and fill in a host-header value for it (for instance www.MySite.com - everything between http:// and first / in the url). 
Make sure the rule on the ISA-server forwards the original host header (see the 'To' Tab). 

If you have the correct host-headers, the 2 different rules do point to the 2 different IP-addresses ?   Be sure, the Server-address is resolved correctly by DNS (nslookup the name at cmd-level) (or try if it works with an IP-address here).

Good luck.

Leaving for a few weeks vacation now

(in reply to tshinder)
Post #: 13
RE: publishing multiple websites - 28.Jul.2006 9:28:45 AM   
macka001

 

Posts: 21
Joined: 26.Apr.2006
Status: offline
HI,
i have a similer problem as follows:



1 external ip ---------[ISA SERVER]-------[WEB SERVER] 192.168.0.45
                                                            ¬WEBSITE 1
                                                            ¬WEBSITE 2


My external dns is mycompany.co.uk

what do i use for my host headers/isa settings to get the above to work

thanks for the help

(in reply to Venice)
Post #: 14
RE: publishing multiple websites - 28.Jul.2006 3:13:46 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi Mack,

Use different host names or paths in each of the Web Publishing Rules.

HTH,
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to macka001)
Post #: 15
RE: publishing multiple websites - 28.Jul.2006 3:27:00 PM   
macka001

 

Posts: 21
Joined: 26.Apr.2006
Status: offline
Hi Tom
My first rule points to webserver1.domain.co.uk
the path is /website1/* to /*

This works fine


The second rule point to webserver webserver2.domain.co.uk

and the path is /website2/* to /*

webserver 1 & 2 have the same IP address as they reside on the same server.

I have created the necessary host headers for both sites
website1.domain.co.uk
website2.domain.co.uk

so internally i use

http://website1.domain.co.uk
or http://website2.domain.co.uk

am i missing something obvious?

Thanks for the help

(in reply to tshinder)
Post #: 16
RE: publishing multiple websites - 28.Jul.2006 4:09:02 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi Mack,

Rule #1:
Public Name: webserver1.domain.co.uk
"To" tab: website1.domain.co.uk

Rule #2:
Public Name: webserver2.domain.co.uk
"To" tab: website2.domain.co.uk

HTH,
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to macka001)
Post #: 17
RE: publishing multiple websites - 28.Jul.2006 4:12:46 PM   
macka001

 

Posts: 21
Joined: 26.Apr.2006
Status: offline
Hi Tom.

Is it not possible to do

Rule #1:
Public Name: domain.co.uk/website1
"To" tab: website1.domain.co.uk

Rule #2:
Public Name: domain.co.uk/website2
"To" tab: website2.domain.co.uk

The idea is to eventually have say 5-6 websites running of the 1 web server and all the users have to type in is our domain followed by /department

Thanks for the advice

Anish

(in reply to tshinder)
Post #: 18
RE: publishing multiple websites - 29.Jul.2006 5:53:15 PM   
tshinder

 

Posts: 47439
Joined: 10.Jan.2001
From: Texas
Status: offline
Hi Anish,

Website1/*

and

Website2/*

Would be the paths used in rules 1 and 2, respectively.

HTH,
Tom

_____________________________

Thomas W Shinder, M.D.
Sr. Consultant/Technical Writer
Prowess Consulting http://www.prowessconsulting.com/
Blog: http://blogs.isaserver.org/shinder/

GET THE NEW ISA 2006 Book!: http://tinyurl.com/2gpoo8

(in reply to macka001)
Post #: 19

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA Server 2004 General ] >> Web Publishing >> publishing multiple websites Page: [1]
Jump to:

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