16 votes
Accepted

How Do I Change Pi-Hole's URL Path?

There are many ways that you could do this, but the easiest is to change the port that pi-hole is using. Edit /etc/lighttpd/lighttpd.conf and change the line that says server.port = 80 to use some ...
Moshe Katz's user avatar
11 votes

How Do I Change Pi-Hole's URL Path?

This is another way to change its port and the benefit is that it won't get reset any time you reconfigure pi-hole or update it. Add server.port := 8000 or your desired port to /etc/lighttpd/external....
Bananz0's user avatar
  • 111
8 votes
Accepted

Cannot connect to PiCamera when using it with Flask

I struggled for some time with this exact same problem. I believe that I've solved it, though I have to be honest, I don't understand exactly why it works. The key was turning off debugging in Flask. ...
Nick's user avatar
  • 96
8 votes

Performance comparison of RPi 3 web servers: Apache, Nginx, and Lighttpd

This should be a comment, but its a bit long. While I've not (yet) tested out various webservers on my Pi, I have previously run a lot of testing on webservers running on x86 server hardware. What I ...
symcbean's user avatar
  • 181
7 votes
Accepted

How to stop Apache from running a local web server on Boot?

To stop a service doesn't prevent the deamon to start the service on boot. For this you should deactivate the service to come up on all run levels A simple command for this on raspbian is update-rc.d ...
Joe Platano's user avatar
7 votes

Is the Raspberry Pi 4 Model B a fast web hosting server for a single website?

It depends on your website and you should look for the size of that and its content. However, after the first model raspberry pi, it would be possible to run your website on a raspberry pi. Because ...
M. Rostami's user avatar
  • 4,323
6 votes
Accepted

Use of Raspberry Pi 3 as a web server - is it a good choice?

when raspberry pi 3 handles 10 Thousand connection Very, very unlikely. If each connection were generating 1 KB/s of traffic, that's 10 MB/s, which is just within the 12 MB/s theoretical upper limit ...
goldilocks's user avatar
  • 58.9k
5 votes

GPIO Controlling Webpage

There are a few out there. The one that I like is by NeonHorizon (Daniel Bull) and is called BerryIO. You can download it from GitHub.
recantha's user avatar
  • 4,489
5 votes
Accepted

Ubuntu Server 18 Wifi Hotspot setup

Ubuntu Server uses Netplan to manage its connections. To create an access point using Netplan, you can do the following: 1. Install Network Manager sudo apt update sudo apt install network-manager ...
tttapa's user avatar
  • 986
4 votes
Accepted

Nginx "Out Of memory: Kill process"

You're obviously running out of memory. Without knowing what exactly you're running on your system it's hard to advise, but check out two main suggestions: 1. Configure your web server. Go though /...
Dmitry Grigoryev's user avatar
4 votes

Windows 10 IoT on RPi2 as a small HTTP / REST Web API Server

Also check out Embedded HTTP and WebSocket Server for UWP/.NET 4.5 https://www.nuget.org/packages/IotWeb/ (or on github)
Lee Richardson's user avatar
4 votes
Accepted

Getting Information from one Raspberry to another

As a beginner it may seem a bit taunting on how to actually transfer data, or how to ask the correct question on how to do it. The reason is because there are so many ways to do. A popular way to be ...
Piotr Kula's user avatar
  • 17.3k
4 votes

Is it possible to host a website on the Pi3 with 1GB ram?

100 concurrent sessions is actually quite a lot: considering a typical employer will spend about 5-10 minutes browsing your site, you'll have to advertise your site to thousands of employers each day ...
Dmitry Grigoryev's user avatar
4 votes

Is it possible to host a website on the Pi3 with 1GB ram?

Sure you can! It all depends on how you configure the Pi. I can see ye'old good LAMP answers already creeping up... I would strongly suggest to stay away from Apache traditional full PHP (CPU & ...
Piotr Kula's user avatar
  • 17.3k
4 votes

Raspberry Pi's local hostname doesn't work on Android phones

You're out of luck. Android doesn't have any support for Bonjour (aka mDNS, aka zeroconf networking). You'll need to discover your Raspberry Pi's IP address (192.168.xxx.xxx) and use that. It's ...
Dougie's user avatar
  • 5,311
4 votes
Accepted

Can you configure a pi zero so it gets internet and ssh access from both PC and Android?

It should not be a problem to use OTG gadget mode on the USB connection to create an ethernet connection to your PC. It is part of the PC to route its internet connection to the RasPi and well known ...
Ingo's user avatar
  • 42.1k
3 votes
Accepted

Apache "404 not found error"

I just figured it out, what I did is I added this line Require all granted between the directory tages to the etc/apache2/conf-avilable/serve-cgi-bin.conf. Then I added the following line to the /...
Julia_arch's user avatar
3 votes

Auto update website on Raspberry Pi

For the second part: Doing an unattended upgrade can have interesting side-affects. As in a system failure. Not recommended. Instead, I would recommend running a periodic cron job to see what your ...
dave58's user avatar
  • 345
3 votes

How to get Python to work with Lighttpd?

The accepted answer did not work for me and it also ignores the pre-configured packages that are available for Lighttpd. The correct way to install Python on Lighttpd for the Raspberry is: First ...
NDB's user avatar
  • 269
3 votes

What should be done to secure Raspberry Pi?

Several posters have mentioned the importance of keeping your Pi up-to-date, but most resources I've found simply suggest manually running apt-get from time-to-time, which seems like a poor approach. ...
dimo414's user avatar
  • 752
3 votes

Is it possible to host a website on the Pi3 with 1GB ram?

Yes, you can definitely do that. Raspberry Pi 3 is surprisingly capable. I recently put up a self-hosted website on a Raspberry Pi 3 running Nginx, PHP5 and MariaDB with HTTPS and WordPress. Security ...
hcheung's user avatar
  • 845
3 votes

Getting data from C++ app to LAMP stack

Should I set up a RAM disk, or is there a more direct way for the data to make its journey? In this context RAM disks have been superseded by tmpfs, which is simpler to use and probably already ...
goldilocks's user avatar
  • 58.9k
3 votes
Accepted

Getting data from C++ app to LAMP stack

Since you are already running a LAMP server, I would write the data to your MySQL database, where it can be read via PHP and displayed. The MySQL website has example code for writing to a MySQL ...
Steve Robillard's user avatar
3 votes

Water level indicator using a transistor

This answer intended to answer your specific question, but also to provide an example of an engineering approach to the problem. How to detect water There are many ways that water could be detected ...
Edward's user avatar
  • 961
3 votes

Presenting HTTP service securely with HTTPS

Right, I got there in the end! Using Apache 2.2.22 SSL Proxy Configuration Install Apache2 sudo apt-get install apache2 Enable Apache2 Modules for Proxying & SSL sudo a2enmod proxy sudo a2enmod ...
James Finch's user avatar
3 votes

Performance comparison of RPi 3 web servers: Apache, Nginx, and Lighttpd

I have chosen the lighttpd option, for the following reasons: lightweight one of the easiest to install runs on my RPi2 for the last two years without any problems (24x7) needed a good and simple to ...
JohnBR's user avatar
  • 31
3 votes
Accepted

How to install onlyoffice document server on raspberry pi?

This is a futile endeavour. The System requirements for Document Server include: CPU: dual core 2 GHz or better → while Raspberry Pi 2 & 3 have quad-core processors, they're ~ 1 GHz ARM quad core....
scruss's user avatar
  • 9,068
3 votes
Accepted

Roughly how much users could handle a RaspBerry Pi3b+ as server for standard Wordpress personal blog?

If you test a web server locally on a Pi 3 serving up cached static content, it should be able to do at least hundreds of pages per second. By "static content" I mean pages whose content is not ...
goldilocks's user avatar
  • 58.9k
3 votes

Tiny OS with wifi and web server?

You could start with a basic Raspbian from debootstrap that just needs about 276 MB storage. It's a bare but running Raspbian with no applications installed. But you can use apt to install from the ...
Ingo's user avatar
  • 42.1k
3 votes

Host MP3 streaming website on raspberry pi

There exist some projects out there to achieve something like what you want. Volumio is an example of that. Another one is RuneAudio. Depending on where you want to store your music, I would suggest ...
David's user avatar
  • 693

Only top scored, non community-wiki answers of a minimum length are eligible