VHOST Setup Problem

Discussion in 'Install/Configuration' started by zoom, Nov 28, 2005.

  1. zoom

    zoom Well-Known Member

    I've just download and installed LSWS and I seem to be having a problem getting it to work for my test virtual host. The server files are installed in /usr/local/lsws and my webroot is /www.

    For my test virtual host (thor.example.com) I have the virtual host root pointing to /www/sites/thor and my docroot point for the virtual host (thor.example.com) pointing to $VH_ROOT/html. Each time I hit the site I get a 404 error. I changed my permissions for the files to have the same permissions as the webserver "nobody", still no luck. I'm able to browse the files with the command "sudo -u nobody ls /www/sites/thor/html".

    Is there a wiki somewher that might have tutorial which goes step by step of a named based virtual host setup using LSWS. Any help would be appreciated. Thanks
  2. mistwang

    mistwang LiteSpeed Staff


    Thank you for trying our product.

    Have you configured the listener->vhost mapping under listener configuration?

    Have you configured index files properly?

    Also, check your lsws/logs/error.log, see if anything logged. And you can turn on the debug logging by setting "Debug Level" to "High".

    We have a simple howto available

    Best Regards,
    George Wang
  3. zoom

    zoom Well-Known Member

    Thanks George,
    I was able to track down the problem. It was DNS related.

Share This Page