[SOLVED] Question about lighttpd

Hi everyone !
I’ve a noob question regarding latest version of dietpi using lighttpd,

So this is my default web server, I use node red, webmin, grafana on local network without having to do anything : the install did everything,

Now i’d like to host a page via lighttpd,

So i put my files in

var/www/mysite

but accessing localhost tell me connection is refused,

When I try to chek logs and config file in /etc or /var there’s nothing related to lighttpd, is it normal ? There’s also no lighttpd services runnings, but i thought it was preinstalled since in dietpi-software it’s my default web server.

Do I need to install lighttp ?

Since I host webmin and other services can’t I just host my page with the same web server as webmin or node red ?

Thanks in advance.

Heres a few command return :

dietpi@DietPi:~$ sudo journalctl -u lighttpd.service
-- Journal begins at Fri 2022-02-04 06:35:35 GMT, ends at Fri 2022-02-04 10:54:32 GMT. --
-- No entries --
dietpi@DietPi:~$ cat /var/log/lighttpd/error.log
cat: /var/log/lighttpd/error.log: No such file or directory
dietpi@DietPi:~$ /usr/sbin/lighttpd -tt -f /etc/lighttpd/lighttpd.conf
-bash: /usr/sbin/lighttpd: No such file or directory
dietpi@DietPi:~$

Yes the current

dietpi-software

dialogue is a little bit misleading. The initial screen is showing the preference only, that will be installed if required by a web application (like Pihole or Nextcloud). This doesn’t mean it is already installed.

As you don’t run an application that require a web server, you would need to actually install it by going into dietpi-software and use the search function. You could choose between Apache, Nginx or Lighttpd.

Thanks a lot Joulinar !

I love dietpi and the work you are doing on this forum is really excellent !

Have a good day, thanks again

yw :sunglasses:

We are aware that the preference system might be confusing and already start to think of alternatives to make it more clear.