Morning everyone.
I have a webserver that runs a bunch of client related portal sites. I now want to upgrade this server, but want to do it in a controlled manner. I.e. one portal at a time. The urls for each portal looks like this:
https://www.mycomp.co.uk/client1
https://www.mycomp.co.uk/client2
https://www.mycomp.co.uk/client3
https://www.mycomp.co.uk/client4
What i am looking for a software, even if i have to load it on a seperate server, to send all requests for https://www.mycomp.co.uk/client1 and https://www.mycomp.co.uk/client2 to one server, but all requests for https://www.mycomp.co.uk/client3 and https://www.mycomp.co.uk/client4 to another server. I did look at ultra monkey, but that is more for HA and LB.
Can someone please point me in the right direction for a suiable solution.
Thanks in advance.
Kobus
Software to split http traffic between servers
-
- Posts: 550
- Joined: 2007/12/26 06:24:38
- Location: 127.0.0.2 44013
Re: Software to split http traffic between servers
Assuming that you are using Apache's HTTPD server, you may want to read [url=http://httpd.apache.org/docs/2.2/misc/rewriteguide.html]mod_rewrite[/url]. There are tons of tutorials out there for beginner, intermediate and advance people. I am no expert on mod_rewrite but from what I understand in your description of your goal, then mod_rewrite can do the job.
Re: Software to split http traffic between servers
Thank you for the reply. Unfortunately the sites are all running on IIS. Yes I know, not my choice. I also want to use this solution to move the sites in future to Apache.
-
- Posts: 550
- Joined: 2007/12/26 06:24:38
- Location: 127.0.0.2 44013
Re: Software to split http traffic between servers
Since you mentioned that you are willing to use a dedicated server for it, then I see no problems :-D Put your Linux-Apache server in front and configure it to whatever you want it to do.
BTW, since this is a non-CentOS specific question, this might be moved to CentOS social. Good luck!
BTW, since this is a non-CentOS specific question, this might be moved to CentOS social. Good luck!
- AlanBartlett
- Forum Moderator
- Posts: 9345
- Joined: 2007/10/22 11:30:09
- Location: ~/Earth/UK/England/Suffolk
- Contact:
Re: Software to split http traffic between servers
[quote]
Unfortunately the sites are all running on IIS.
[/quote]
Doesn't that originate from the [i]Redmond[/i] organisation, M$? :-o
Moved to [i]Social[/i]. (Just in case. ;-) )
Unfortunately the sites are all running on IIS.
[/quote]
Doesn't that originate from the [i]Redmond[/i] organisation, M$? :-o
Moved to [i]Social[/i]. (Just in case. ;-) )
Re: Software to split http traffic between servers
Sorry for delay with this reply.
What I would do is make all https://www.mycomp.co.uk/client1 .../client2 etc. a subdomain like https://client1.mycomp.co.uk/
and then make them with DNS point to another server, like:
client1 IN A 1.2.3.[b]100[/b]
client2 IN A 1.2.3.[b]100[/b]
client3 IN A 1.2.3.[b]2[/b]
client4 IN A 1.2.3.[b]2[/b]
What I would do is make all https://www.mycomp.co.uk/client1 .../client2 etc. a subdomain like https://client1.mycomp.co.uk/
and then make them with DNS point to another server, like:
client1 IN A 1.2.3.[b]100[/b]
client2 IN A 1.2.3.[b]100[/b]
client3 IN A 1.2.3.[b]2[/b]
client4 IN A 1.2.3.[b]2[/b]