LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LiteSpeed Cache > Redirect guest requests to another sub-domain?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-27-2011, 05:16 AM
dihuta dihuta is offline
Member
 
Join Date: Oct 2010
Posts: 37
Default 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.
Reply With Quote
  #2  
Old 09-27-2011, 05:24 AM
dihuta dihuta is offline
Member
 
Join Date: Oct 2010
Posts: 37
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.
Reply With Quote
  #3  
Old 09-27-2011, 06:59 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
I think you need to setup a webserver (proxy) external application, then use rewrite rule to detect guest users, proxy to the second server.
Reply With Quote
  #4  
Old 09-27-2011, 07:08 AM
dihuta dihuta is offline
Member
 
Join Date: Oct 2010
Posts: 37
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.
Reply With Quote
  #5  
Old 09-27-2011, 08:06 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:12 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.