setup vhost

anewday

Well-Known Member
#1
I'm trying to setup litespeed for use as a multimedia download server. I can't seem to get the vhost thing to work, added that and bind it to Listener on a specific IP (I don't plan to use a domain name).

Errors on the log:
2007-11-06 01:31:59.199 ERROR HttpListener::start(): Can't listen at address channel: Address already in use!
2007-11-06 01:31:59.199 ERROR HttpServer::addListener(channel) failed to create new listener
2007-11-06 01:31:59.199 ERROR [config:server:listener:channel] failed to start listener on address 74.86.x.x:80!
2007-11-06 01:31:59.200 ERROR [config:vhost:celinechannel] Path for document root is not accessible: /home/john/html/
2007-11-06 01:31:59.200 ERROR [config:vhost:celinechannel] configuration failed!

Could you give me a step by step dummy instructions on how to get it to work? Which directories do I need to create manually and what chomod? It's confusing, I just need it to serve static files in the format: http://ipaddress/filename.ext Nothing fancy.

Thanks in advance for any assistance. :)
 
Last edited:

mistwang

LiteSpeed Staff
#2
74.86.x.x:80 is used already.
Is there another web server running on the server? or there is another listener on address *:80. Stop the other web server or remove the listener listening on *:80.
And

Code:
chmod 0711 /home/john
chmod 0755 /home/john/html
will will fix the problem with your document root.
 

anewday

Well-Known Member
#3
74.86.x.x:80 is used already.
Is there another web server running on the server? or there is another listener on address *:80. Stop the other web server or remove the listener listening on *:80.
And

Code:
chmod 0711 /home/john
chmod 0755 /home/john/html
will will fix the problem with your document root.
I already stopped and removed Apache from server. The default listener was using port 80, changed it and there isnt' any errors on the log now. Perhaps, there should be a note to change the default listener port if a user adds a new listener.

Now, where directory acts as the "public_html" directory, like Apache? Thanks for your help. :)
 
Top