
Effortless installation. Ready-to-run with easy maintenance. Explore now for a smooth experience!
Configuring and connecting to Lighttpd HTTP Server CarpaOS 3.22
- Run the VM through rhe Azure Portal. To connect to the Lighttpd Server, first, you need to know the server IP address. You can find it in the personal account of Azure. You need to select the virtual machine from the list. By clicking the item “Overview”, your IP is displayed in the “Public IP Address” line.

- To work, TCP ports 80 and 443 should be open. Check this, you can in Networking->Network settings of the VM settings.

- To manage the server, you should connect to a VM.
- With OpenSSH
In the Windows 10 operating system (starting with version 1809), an OpenSSH client is available, with which you can connect to Linux servers via SSH. If Windows 10 is suitable and the OpenSSH client is installed, you can start connecting via SSH. To do this, launch a standard Windows command prompt and enter the command “ssh user@*vm_ip*” (1), where “user” is the username that was specified while creating the virtual machine and “*vm_ip*” is the VM IP address.
Then type “Yes” (2) and enter a password (3) that was specified while creating the virtual machine.

- With the PuTTY application
To do this, you need the PuTTY application to connect via SSH. You can download it at the following link – Download
Run Putty, enter the VM address in the “Host” field (1), and click “Open” (2) to connect.

In the opened console, you will need to enter a username (1) and a password (2) that were specified while the VM was being created (you’ll not see the password in the console while entering it).

- To check that Lighttpd is up and running and get the list of all running Lighttpd processes, enter the command
> ps -a | grep lighttpd

- Use the next commands to manage the service
>sudo rc-service lighttpd start
>sudo rc-service lighttpd status
>sudo rc-service lighttpd restart
>sudo rc-service lighttpd stop
- To check server version, enter >lighttpd -v

- To get help, enter >lighttpd -h

- To test the Lighttpd configuration file, enter >lighttpd -t -f /etc/lighttpd/lighttpd.conf

- Entering http://*VM_IP* in a browser window opens a test server page.

Learn more – WikiStart – Lighttpd
