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
-1
votes
1answer
40 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
32 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
34 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
17 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
28 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
26 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. ...
0
votes
0answers
71 views

Ubuntu Server 20.04.1 32bit vs 64bit on RPi3 Model B

I want to use my RPi3 Model B as web server (classic LAMP stack + python, maybe other things too) where I will host my own web-based projects. I'm now deciding which OS to run; I have tried following ...
1
vote
1answer
65 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
0answers
59 views

Optimal Settings For LAMP Server

I have a Pi 4 B(4GB) and Pi Zero W. I have on both a LAMP Server for my office and run from there my web app(around 10 web pages). It is a small office and 1-3users at the same time. I want someone to ...
0
votes
2answers
30 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
115 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
0answers
21 views

HTTPS bandwidth bottleneck?

I'm using my Raspberry Pi 3 as an HTTPS server at home. When downloading a large file via HTTPS over the LAN, transfer speed tops out at 11MBps (Megabytes per second). The USB hard drive with the file ...
0
votes
1answer
37 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
49 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
49 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
91 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
28 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
694 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
78 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
611 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
220 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
34 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
36 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
78 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 ...
0
votes
0answers
36 views

uv4l camera stream to public webpage

I need to display camera live from RPi in public server, where Rpi is in local network and no port port-forwarding can do. I have installed the uv4l package with webrtc and able to run the sample http:...
1
vote
1answer
277 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
44 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
20 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
183 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
36 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 ...
3
votes
1answer
3k 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
56 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 ...
3
votes
2answers
3k 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
855 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
52 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 ...
0
votes
1answer
40 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
179 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
2k 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
403 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
72 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 ...
0
votes
1answer
54 views

Using Pi as a web server locally - how to set up pages after nginx install?

I have just followed the Setting up an NGINX web server on a Raspberry Pi tutorial on the RPi Site. Now, I'm going to follow a tutorial on setting up say a Django webpage. What I'm not clear on and ...
0
votes
0answers
150 views

Can't get my express server up running on a Raspberry Pi zero

I am having trouble trying to get my express server to run on my Raspberry Pi zero w. I used the express-generator and ran npm start and this was the output: myapp@0.0.0 start /home/pi/MyApp node ./...
1
vote
1answer
689 views

Cant access my raspi web-server from outside my local network

So I've been working on this problem for days now. I have the needed ports forwarded plus more opened just in case, I've tried changing ports.conf to listen to a different port for testing and still ...
1
vote
1answer
181 views

Makes OpenVPN a local Apache Webserver accessable from outside?

I am running Apache on my Pi. It's only accessable from my local network. Now I want to install OpenVPN on the same Pi. Is Apache accessable from outside, when I enter the static ip in my browser (...
0
votes
1answer
57 views

Raspberry pi failing to take still

I am developing my remote camera robot with flask on raspberry pi zero w. Where is mjpg-streamer used for video stream and picamera python lib used to take high resolution stills. And I having very ...
1
vote
0answers
539 views

Does Raspberry Pi 4 worth for hosting a website?

I want to create a personal website as a freelancer. I was wondering if a raspberry pi 4 (1gb ram) is a good choice. I mean, a host can cost up to 50-100€/year, depends on the performance of the ...
1
vote
1answer
25 views

Springboot and ServoBlaster

I am trying to control a servo from a web service. I have used Springboot and ServoBlaster library. Although these ways to handle the servo work as a standalone application, nothing of the above ...
1
vote
1answer
331 views

Flask app takes 60% CPU on Raspberry Pi Zero W

I am developing Flask rover app on Raspberry Pi Zero W. And I having problems with CPU perfomance. I used flask profiller to find weak spot in my app, but everything seemed normal. I have Raspberry ...
0
votes
0answers
95 views

Pretend HTTP Request from localhost

I have set up my RPi 3 as Access Point to use a web-App, which is hostet by a flask server on the Pi. My HTTP-requests are generated by Swagger Codegen. The defined host is set to http://localhost:...

1
2 3 4 5
7