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 ...
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....
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....
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. ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
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
...
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)
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 ...
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 /...
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 ...
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 ...
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 & ...
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 ...
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 ...
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 ...
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 ...
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 ...
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. ...
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 ...
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 /...
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 ...
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 ...
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 ...
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
web-server × 353raspbian × 69
apache-httpd × 40
python × 39
networking × 36
server × 33
php × 28
pi-3 × 22
gpio × 21
node.js × 17
pi-2 × 13
ssh × 12
wifi × 11
camera × 11
mysql × 11
security × 10
web × 10
web-interface × 10
lighttpd × 10
pi-4 × 9
debian × 9
internet × 8
webcam × 7
nginx × 7
pi-3b+ × 6