name based virtual hosts for the same domain

Discussion in 'Install/Configuration' started by mzagar, Jan 31, 2005.

  1. mzagar

    mzagar New Member

    Does LSWS support name based virtual hosts for the same domain?
    i.e. i would like to treat www.xxxxxx.yy and home.xxxxxx.yy as separate
    virtual hosts each with own home directory.

    Thanks, Miran
  2. xing

    xing LiteSpeed Staff

    Yes you can. Lsws allows you to enter global "" for the vhost which translate to "*" or you can go granual and just enter "" for that vhost. It's up to you.
  3. mistwang

    mistwang LiteSpeed Staff

    Yes, absolutely.
    Just create two virtual hosts pointing to their respective document root directories, then add listener virtual host mapping with their respective domain names. :)

Share This Page