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
10 votes

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

If your looking for a simple REST service for a windows universal app, take a look at this github project: https://github.com/tomkuijsten/restup There is also a nuget package for it: https://www....
Tom Kuijsten's user avatar
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,285
6 votes

Does Atlassian JIRA run well on the Raspberry Pi?

JIRA will run with a 6-8 second load time on a Raspberry Pi 2 Model B. This is probably too slow for most people and, as such, I was only loading JIRA to see if it could actually be done. Also, the ...
Marius's user avatar
  • 69
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.3k
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
  • 961
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

PWM control of motors with PHP front end

Will I need to have a Python script You do not need python, you just need something with a module that wraps one or more of the following C libraries: pigpio wiringPi libbcm2835 All of which ...
goldilocks's user avatar
  • 58.3k
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
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,251
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
  • 41.7k
3 votes

How to upload program from web server to Raspberry Pi?

I don't think you need to run a web server to accomplish something as simple as uploading files to your Raspberry Pis. You can use something like sftp or rsync to copy files between your main machine ...
npp1993's user avatar
  • 193
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
  • 732
3 votes
Accepted

Mysterious filesystem issues setting up web server

The first thing you need to do when starting from a new install is expanding the disk to utilize all available storage. For reasons of compactness and compatibility, the default images provided for ...
Phil B.'s user avatar
  • 5,033
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

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
  • 825
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.3k
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
  • 951
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

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