Redirect guest requests to another sub-domain?

Discussion in 'LiteSpeed Cache' started by dihuta, Sep 27, 2011.

  1. dihuta

    dihuta Member

    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.
  2. dihuta

    dihuta Member

    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.
  3. mistwang

    mistwang LiteSpeed Staff

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

    dihuta Member

    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.
  5. mistwang

    mistwang LiteSpeed Staff

    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.

Share This Page