LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   LiteSpeed Cache (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=30)
-   -   Redirect guest requests to another sub-domain? (http://www.litespeedtech.com/support/forum/showthread.php?t=5336)

dihuta 09-27-2011 05:16 AM

Redirect guest requests to another sub-domain?
 
Hello,

I'm using vBulletin & Litespeed & Guest Cache.
I have 2 servers which are running Litespeed. Now I want to redirect all guest requests to another server with another sub-domain.

logged in -> www.mydomain.com -> www.mydomain.com
guests -> www.mydomain.com -> server2.mydomain.com

The servers return the same content.
Could you please help me?
Thank you.

dihuta 09-27-2011 05:24 AM

Currently I offloaded all static contents to server2.mydomain.com, with this setup I will also offload guest cache requests to the servers. My main server will be run faster.

Thank you.

mistwang 09-27-2011 06:59 AM

I think you need to setup a webserver (proxy) external application, then use rewrite rule to detect guest users, proxy to the second server.

dihuta 09-27-2011 07:08 AM

I'm not sure I have enough skill to do this.

Another solution:
I would like to use Litespeed Load balancer on Server1 then use it to load balance between server1 & server2. I would like to set server1's weight to 7 and server to 3.

Can I do this and is there any manual/tutorial for me to do this myself?
Thank you.

mistwang 09-27-2011 08:06 AM

Yes, you can do that, there is a third party tutorial link in our wiki.
Just request a trial key and play with it. You can let it use port 8080 first.


All times are GMT -7. The time now is 03:18 PM.