Questions tagged [web-server]

These questions relate to using the Pi as a web server, including installation and configuration.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 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
0answers
21 views

How to setup webserver?

Good day, I know this has been asked A LOT, but everything I've tried doesn't work at all. I've tried using Geany and python code to create the webserver as well as apache2, but neither of them work. ...
0
votes
1answer
24 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
1answer
28 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
0answers
13 views

Raspberry omv python script

I have installed omv and I have create a public file which inside I have put a python script. How I can run this script with ssh to see if is all okay? thank you in advance
0
votes
0answers
27 views

How to automatically install software on raspberry pi VM

I have previously posted this question here in Super User but I thought I'd try posting it here too. I am trying to create a web server running on a Raspberry Pi in a container. Due to processor ...
0
votes
0answers
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
0answers
55 views

How to display video stream captured on rasbperry pi camera on an external website?

I am trying to capture video stream using raspberry pi camera and display it on a web page hosted on a CentOS server. This is what I have tried: On the CentOS server, I am listening using: nc -l 11337 ...
0
votes
1answer
48 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
2answers
37 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, ...
0
votes
1answer
49 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
0answers
48 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 ...
0
votes
0answers
19 views

Set up wifi on raspberry similar to google mini

I'm looking for a way to send my raspberry to a colleague and easily have him connect to it to his local wifi headless. I read about writing a wpa_supplicant.conf file for a particular wireless ...
-1
votes
1answer
53 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 ...
0
votes
1answer
201 views

Using a Raspberry Pi as an Wifi access point redirect to a HTML website stored on a Harddrive connected via USB [closed]

I would like to code a very simple web site in HTML / CSS / Js that is stored on a Hard Disk ( cause it’s heavy with some media video) connected to my raspberry pi 4 and give local access to this ...
1
vote
0answers
57 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
0answers
22 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
1answer
51 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
0answers
152 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 ...
0
votes
0answers
23 views

I want to run a python file on my python script from an app on my iphone, how can i do this?

I have experience with flutter and would love to use it to create an app that can run a python file on my raspberry pi. However, I am very new to raspberry pi and need to learn it for uni assignment. ...
1
vote
2answers
106 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
2answers
160 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
0answers
350 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
1answer
102 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
1answer
85 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
1answer
94 views

Two USB cameras and ASP.NET Core

I want to build a project based on Raspberry Pi 4B and I would like to hear opinion someone's more experienced with this platform (as I am mostly SW and did some projects with Arduinos) if it is ...
0
votes
1answer
247 views

Best way to expose a web interface without connecting to a Wifi

I've multiple small projects on raspberry pi zero w in mind. They are all some 3D printed part that will have some led, sensors, ... Usually, they will work independently, and some of them will be ...
0
votes
2answers
44 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 ...
1
vote
1answer
2k 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
0answers
153 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
1answer
2k 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 ...
0
votes
1answer
441 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
1answer
44 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 ...
1
vote
1answer
43 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
1answer
110 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
1answer
542 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: ...
1
vote
0answers
55 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 ...
1
vote
1answer
26 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
2answers
229 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 ...
0
votes
0answers
49 views

raspberry pi apache web hosting not working externally

Hi i have been working towards hosting a web page on my raspberry pi with the BT wifi service the problem is that i cannot host my web page externally i tried to do port forwarding but my raspberry pi ...
4
votes
1answer
5k views

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

I'm thinking of purchasing a Raspberry Pi 4 Model B to host my WordPress website. The website has 4 pages and 2-3 plugins. Will it be fast? Here are some specs for the Raspberry: Broadcom BCM2711, ...
1
vote
0answers
88 views

Create website to control RaspberryPi remotely [closed]

I wanted to home automation for a long time. Basically what I want is a website through which I can control my raspberry pi GPIO pins and also read and display data from them on my website. I will ...
4
votes
2answers
8k views

Ubuntu Server 18 Wifi Hotspot setup

I've switch my Rpi 4B (with raspbian) to ubuntu server since will be used as a portable WLAN web-server. My main objective is to set up an hotspot to access the local websites in the raspi. I got ...
0
votes
1answer
2k views

Running a python script from a webserver

I made a Webserver using my Laptop and a few PHP-HTML-Javascript programms. Right now i am able to connect to these pages and everything works just fine. My problem is that i want to run a Python ...
3
votes
1answer
60 views

Web Browser keywords to automaticly redirect to local websites?

I have set up a website on my raspberry pi for our local network. My parents are gonna be using it too so I want when they type for example "picam" in the browser that they get directed to the IP ...
-1
votes
1answer
74 views

How to publish results on the Web from local MQTT non-Internet network?

I'm making a project where I have a local no-Internet MQTT network (scheme below). Devices (except for RPi 3B+) needs to work outside so I can't provide them Internet access. The purpose of RPi 3B+ ...
3
votes
2answers
274 views

Hosting LAMP on SD-card in RPi now - would like to move whole database and website to External USB 3.0 SSD

.I am hosting this website on the RPi 4 - 4GB Ram model. I'm guessing the google PageSpeed insights ranking score is kinda ok right now (it ranges in the middel with a score of 56) - try and test it ...
0
votes
2answers
3k views

Will SD-card in an RPi 4 always be faster than USB 3.0 writing/reading to an installed web-server?

Setup: RPi 4 with LAMP on IT sucks DK My SD card is quite quick sure (it's a Class 10 too and all) but my question is this: Would there be increased performance if I hosted my web-server files on a ...
2
votes
1answer
572 views

Hosting a Website or Websites Using Raspberry Pi 4

Say that I have a website that gets approximately 5-10k hits per day, and I want to run a full LAMP Stack and phpMyAdmin to manage the mysql databases. Would 1 Raspberry Pi board suffice to handle ...
2
votes
1answer
79 views

Moving to a new house

At home i have a raspberry pi as a webserver for my personal project and in the next couple of months i'm moving with my parents to a new house. What are the things i should check before moving the ...

1
2 3 4 5
7