Virtual hosting

Marvell Kirkwood based
Post Reply
vosobleart
Posts: 1
Joined: Wed May 04, 2016 7:26 am

Virtual hosting

Post by vosobleart » Sat Jul 29, 2017 6:01 pm

Hy,
Yesterday I have successfully running lighttpd, mysql and php on my NSA 235-v2 following uli's tutorial - https://wolf-u.li/4695/konfiguration-vo ... r-ffp-0-7/
I also have 2x dynu.net domains and i'd like to host them on my Lighttpd web server.
All i know is that virtual hosting allows sharing a lighttpd web server, but i don't know how to do that. (my Linux knowledge is very poor)

I tried to adapt this tutorial - https://www.cyberciti.biz/tips/howto-li ... sting.html by replacing the routes with mine, but the server stopped working at all.
If anyone has an experience with this, please to help me.
Thanks in advance!

Mijzelf
Posts: 6251
Joined: Mon Jun 16, 2008 10:45 am

Re: Virtual hosting

Post by Mijzelf » Tue Aug 01, 2017 7:26 am

vosobleart wrote:(my Linux knowledge is very poor)!
Basically this has nothing to do with linux. It's just lighttpd.

If the server stopped working, you misconfigured it. Any logs? If not, try to start it with

Code: Select all

lighttpd -p -f <configfile>
which prints it's internal representation of the configfile, or

Code: Select all

lighttpd -D -f <configfile>
which doesn't daemonize it, which means you can read it's stderr.

Post Reply