Questions tagged [web-server]
These questions relate to using the Pi as a web server, including installation and configuration.
353
questions
-2
votes
0
answers
20
views
Raspberry PI pico W. Remote control of on-board programs
This is a general question about remote control of the Pico W. I have followed the instructions from the RPI Foundation to create a simple web server on the Pico W that reads the temperature and ...
0
votes
1
answer
22
views
Build file sharing server with Raspberry Pi Pico + HDD to load files via ethernet cable
I'm in need of creating a server for hosting PlayStation 2 games. I've heard the Pico is able to achieve 10Mbps of transfer speed, and since I need 8Mbps, 10Mbps is more than enough. So my first ...
2
votes
1
answer
88
views
What to set PICOHTTPS_CA_ROOT_CERT in picohttps example in RPi Pico C - SDK
I'm trying to make a request to an ip using RPi pico w, using the picohttps example provided in here.
Now for that we have 3 needed parameters in picohttps.h file - SSID, SSID_Password, ...
1
vote
1
answer
487
views
Simple http server in c++
I am writing a multiplatform program in c++ that should run on AMD and Raspberry Pi 4.
On AMD I installed cpp-httplib-dev like this: sudo apt-get install libcpp-httplib-dev
and then the code like ...
0
votes
0
answers
216
views
Pi5 Bookworm - Caddy resulting in 403 Forbidden
trying to run BirdNET-pi (https://github.com/mcguirepr89/BirdNET-Pi) on my new Pi5.
This is a sound analyzing program which is accessible via webinterface.
This is working on my Pi4 (Bullseye Lite), ...
0
votes
2
answers
131
views
How to create a HTML Server that multiple mobile phones can connect to directly on a Raspberry Pi Pico W?
Raspberry Pi Pico W can act as a webserver but it needs to first connect to a wifi router. How to make it so that multiple mobile phones can connect to it directly without the need for a router and ...
0
votes
0
answers
140
views
web page show GPIO pin status (on or off) automatically
How do I read a raspberry pi GPIO pin value and say show a red or green button on a web page reflecting the pin's current status, and have this automatically update when the GPIO pin's state changes?
0
votes
0
answers
38
views
How to run 2 python scripts parallely based on priority?
I am trying to run script1 which detects an object and actuates an output and another script (script2) for establishing connection using http to actuate the same output through web.
I want to run both ...
2
votes
0
answers
626
views
Responsive web interface for Pico W
I'm working on a project where I need to control a device remotely using a web page (on a phone) as a remote control - think of it as steering controls for a remote control car. This device also has ...
2
votes
1
answer
610
views
Apache2 with flutter web app in localhost
I've got a Pi 4 with Raspbian 10 and apache2 2.4.38, with default option.
I can put a "hello world" index.html in /var/www/html/ and access it in Chromium (http://localhost), or from another ...
1
vote
0
answers
1k
views
nginx refuses connection to localhost:80 [closed]
I'm setting up nginx on a Raspberry Pi 4 under Raspbian 11 (Bullseye) but it's refusing connections on http://localhost:80/
This site can't be reached
127.0.0.1 refused to connect
However, it looks ...
0
votes
1
answer
109
views
Can I turn a Raspberry Pi server on and off safely? [duplicate]
I want to host my own onion website on my raspberry pi. I managed to get it setup and it worked perfectly. However, I do not want to keep my Pi running all the time. I would like to turn it off ...
1
vote
0
answers
45
views
Stream video from one Pi to a web server on a different Pi, then process video (for motion detection)
I would like to stream video from one of my Pi's (192.168.1.3) to a web server that is hosted on a different Pi (192.168.1.4). It's supposed to kind of replicate a cloud video surveillance system. At ...
0
votes
1
answer
37
views
Can i host and stream a website off one raspberry pi?
I am looking to create an active score board for my sports club clubhouse where captains upload the scores,potentially via an app, and it appears on a monitor at the clubhouse.
My question is... would ...
0
votes
0
answers
91
views
multile websites using lighttpd? I.E. just 2 for now
i am using bullseye on a pi 4.
would like to understand the configutaion files on how do i set up 2 websites to be accessed from the Internet?
1
vote
1
answer
197
views
Share RPi IP with mobile device to access Web Server
I would like to connect a mobile device to the Raspberry Pi 4 Model B if possible without special software on the mobile device and start a script on the Pi from that device. My approach is to set up ...
0
votes
0
answers
257
views
Node.js RPI 4B problem with GPIO
I started doing the Node.js and RPI tutorial from w3schools.com. I created a server to control an LED with a button on a prototype board or via http but the LED does not light up. It seems to me that ...
0
votes
0
answers
98
views
How to setup GPIO on a Flask production server?
I am coding a web application with Flask and I come across with a problem where I cannot setup my gpios on my public production server. It throw an error 500 Internal server error. I've realized ...
0
votes
1
answer
828
views
Server- How to allow only selected IP addresses to connect to Pi?
Disclaimer: I don't have in-depth knowledge of networking, so please pardon me if my question doesn't make sense at some places.
I wish to make my Pi a web server on the internet and restrict access ...
1
vote
1
answer
53
views
RPi4 is not detected by the modem after a certain time (ethernet connection)
I try to use a RPi4 B as a server (to setup netxcloud, PiHole, etc). To do this I connect it to the modem via ethernet connection as showed in this picture :
At first it works, the RPi is detected as ...
0
votes
0
answers
14
views
Blog posts not saving
I am running an apache2 web server with my website bullyhomested.com and trying to add blog posts using rapidweaver and alloy3(elixir) but they don't show up. There is an example post that is supposed ...
0
votes
1
answer
505
views
Isolated webserver using wifi on pi zero
I have a pi zero with WiFi which I have written some simple GPIO stuff on it. I want to operate it from my mobile phone, isolated from home network.
For that I want to have a php webserver that can ...
-2
votes
2
answers
436
views
Can I use my raspberry pi as a server without having it connected to my router? [closed]
Basically I want to be able to connect to my raspberry pi from outside my house, it has a java server on it (it should be accessible from anywhere) but I don't want people to go through my router, ...
-1
votes
1
answer
2k
views
Using raspberry pi connected via USB network as host. What IP address is it running at?
I have set up a headless raspberry pi zero W to allow SSH via a USB connection. I now want to be able to host for example syncthing on the pi.
Under which IP address should this be accessible?
The ...
0
votes
0
answers
257
views
Pi 3A+ keeps loosing connection randomly
I'm trying to set my rPi 3A+ as a local server running a docker container that is constantly logging info from a service. (It's running Teslamate)
I've been having trouble keeping it connected to my ...
-1
votes
1
answer
186
views
Having set up a Pi 4 to operate as a webserver over LAN, why isn't my pi 4 accessible over the internet after configuring port forwarding?
as the question states, I have successfully set up a very basic webserver using a raspberry pi 4 that I can successfully connect to in my LAN by just being on the same network and entering the private ...
1
vote
1
answer
1k
views
Using a Raspberry Pi as an access point redirects to an HTML website stored on a hard drive connected via USB [closed]
I would like to code a very simple web site in HTML/CSS/JS that is stored on a hard disc (because it’s heavy with some media video) connected to my Raspberry Pi 4 and give local access to this website ...
2
votes
0
answers
468
views
HTML webpage not displaying picture!
I have a headless Pi Zero that's connected to the internet through the USB ethernet gadget from my computer.
Through SSH (with Powershell), I'm running a Python3 script on the Pi which will start an ...
1
vote
0
answers
29
views
PHP Handler for my LAMP server
I have a Pi4 4GB and i am using a Samsung Fit USB 3.0 32GB as Hard Drive.
I have set up a LAMP Server and i would like to know what handler will work better?
Apache 2.0 or PHP-FPM 7.3? or any other ...
0
votes
1
answer
113
views
Access RPi's Web Server Connected to Smartphone Hotspot [closed]
I built a web server with Flask and I am able to access my website on my LAN. Instead of connecting my Pi to my router, my plan is to connect the Pi to my smartphone's hotspot, for portability.
I don'...
0
votes
0
answers
375
views
Node JS server on RPI stops responding when not in use for a while
I'm running a Node JS server on an RPI.
The Node server is handled by PM2.
It works fine... unless it's been sitting around waiting for hours / days, and then it either responds after a long delay (30 ...
1
vote
2
answers
290
views
Local web server mirroring
I have a simple IP camera supporting only one client at a time, which is a raspberry Pi. I would like to set up a new web server on raspberry which will be performing something like a mirror to this ...
0
votes
2
answers
2k
views
PHP module is not being installed into /etc/apache2/mods-available
I'm trying to serve a website running Apache2 alongside PHP on my Raspberry Pi 1.3.
I have already installed Apache with sudo apt install apache2 -y followed by sudo apt install php libapache2-mod-php ...
0
votes
0
answers
586
views
Raspberry Pi - Captive Portal without internet display html page
I need to create a Captive Portal with a Raspbery Pi.
I would like to do that:
The client connect to the WiFi (without password)
Automatically will auto-redirect to a webpage, just to read a message
...
0
votes
1
answer
356
views
Why can I run a python script accessed per php file that is accessed per cmd WHILE I can't run the same thing accessed per browser?
Hello ladys and gentlemen :)
I got a python script py.py that switches a GPIO (works perfectly when accessing per cmd line).
I got a php file php.php in which I access the py.py file (works perfectly ...
0
votes
1
answer
185
views
Want to use my pi as a webserver and run OpenVpn for traffic from the pi
Just for an experiment I'm configuring my pi to run as a webserver (nginx, php). I've got this working and I forwarded port 80 to my pi. This also worked.
Although as soon as I enable OpenVPN it ...
0
votes
1
answer
214
views
Two USB cameras and ASP.NET Core
I want to build a project based on the Raspberry Pi 4B and I would like to hear the opinion of someone more experienced with this platform (as I am mostly SW and did some projects with Arduinos) if it ...
1
vote
1
answer
804
views
Best way to expose a web interface without connecting to a Wi-Fi
I've multiple small projects on Raspberry Pi Zero W in mind. They are all some 3D printed parts that will have some led, sensors.
Usually, they will work independently, and some of them will be moved ...
0
votes
2
answers
74
views
Scheduling a interactive session to start at bootup to access python script having dynamic web server [closed]
I remote onto a PI and run a Python script using simpleHTTPServer which continues to run as long as the PI is active. The command I run is:
sudo Python3.7 /home/pi/myscript.py 80
In conjunction with ...
2
votes
1
answer
4k
views
Is it possible to run a NGINX server alongside with Pi-hole on a Raspberry Pi 1 B?
I already have Pi-hole 5.0 and PiVPN installed. I plan to install an NGINX server to serve one PHP script for personal use.
Here's the example script:
//voicefax2text.php on myserver.com
<?php
$...
0
votes
0
answers
423
views
How can I send input from my laptop mic to raspberry pi?
I have a raspberry pi 3 and it is hosting a web server and want to send audio input to it from my laptop mic to the web server that it is hosting for some task to be accomplished. Problem is, it is ...
0
votes
1
answer
4k
views
Can't connect to a remote MySQL Database
I am running 2 Raspberry Pi3 (STRETCH, JESSIE) and a web server (PHP5, MySQL, PHPMyadmin, Apache2) on stretch. I have everything working as expected. However, I need to be able to connect to my MySQL ...
-1
votes
2
answers
1k
views
Using Raspberry Pi as web server - but with web content on external drive
What would be the best way to set up a Raspberry Pi as a webserver, but with the hosted files on an external hard drive? I have a Raspberry Pi 3 Model B+ which I would like to use as a web server. The ...
1
vote
1
answer
107
views
Problem with mariaDB, HSF+ and Raspbian on a Raspberry Pi 4
I'm making a full LAMP using a Raspberry PI 4 w/ 4GB RAM, Apachie2, MariaDB 10.3.22 and PHP and a 4 Teribite HSF+ USB drive. Initial setup worked fine till I attempted to change to data store of ...
2
votes
1
answer
129
views
Can you configure a pi zero so it gets internet and ssh access from both PC and Android?
For college, I have been tasked with a project where I have to give wireless connectivity to a sensor, and to collect the wireless data on the field and present it to the user I would like to use a ...
0
votes
1
answer
141
views
How to manually install Ubuntu Server
I'm interested in buying Raspberry Pi 4. I'd like to create simple server for testing my applications and storing data (home cloud). I wonder if I can manually install Ubuntu Server like on standard ...
1
vote
1
answer
1k
views
Wordpress error: "PHP installation appears to be missing the MySQL extension which is required by WordPress."
I tried to created a LAMP web-server with Wordpress following that guide: https://projects.raspberrypi.org/en/projects/lamp-web-server-with-wordpress/6/. But when I used this command to install MySQL: ...
2
votes
0
answers
127
views
What is the real-world performance of a Raspberry Pi 3 webserver?
On https://cheapskatesguide.org/articles/raspberry-pi-webserver.html, it says, "I recently had the opportunity to observe the performance of a Lighttpd web server running on a Raspberry Pi 3 while ...
2
votes
1
answer
73
views
how to accessing gpio from another computer web server
i'm doing a project for face recognition with raspberry pi. but i want my web server is from my laptop and my raspberry pi just accessing the web app. the point is, all of stuff is done in my laptop ...
0
votes
2
answers
294
views
Bluetooth audio not working from webserver
I created my local website for a magic mirror project. This project includes my google calendar, weather ifo, timers, internet radio, ...
For the timers and internet radio I would like to hear the ...