Questions tagged [web-server]

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

62 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
0answers
116 views

Configuration for NASA ISLE deployment

NASA has released an open-source version of it's lab inventory system known as ISLE: https://github.com/nasa/isle I went through the local setup using Vagrant but I was wondering if it would be ...
2
votes
0answers
192 views

PHP stopped working after installing sendmail on raspberry pi

My PHP is not working after I installed sendmail on the raspberry pi. PHP is still installed. I checked using php -v on the command line. My lighttpd server is just not serving php. I've tried ...
2
votes
0answers
4k views

Embedding live video stream to a html5 webpage; both camera server and webserver hosted on pi

I have a USB camera connected to my pi. I'm also hosting my personal website on it. How do I create a separate page on my website with authentication and display the live feed from my port 8081 on it?
2
votes
0answers
774 views

Running a webserver unikernel on RaspberryPi

Is there anyone who have tried to install a webserver unikernel on a Raspberry? In both cases, is it something possible and could one run an efficient webserver from it? What are your thoughts on ...
2
votes
1answer
71 views

R Pi as web server for Code Igniter

Im trying to use R Pi 2 as web server for a simple system created using CodeIgniter. I was able to install LAMP, php7, mysql, phpmyadmin. Localhost shows the installation was successful. I tried to ...
1
vote
0answers
42 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
19 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 ...
1
vote
0answers
53 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
0answers
887 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
0answers
104 views

Issue with controlling GPIO via Flask web app

I am currently building a project in which I am using a Flask web app to control various different components with the pi's GPIO. The issue i am currently having is stopping the execution of code that ...
1
vote
1answer
1k views

Setting up an SSL certificate on a web-server hosted by a Raspberry Pi?

I'm developing a bat detector and I've set up the Raspberry Pi to operate its own Apache Web server on its own access point. The idea is that client devices can then connect to the access point to ...
1
vote
0answers
78 views

Certbot in Raspbian Jessie: It doesn't work

I'm using a R-pi 1 Model B+ but my problem is more of a software thing. I'm using my pi as an experimental server and I'm excited about making a certificate for it so it's "secure". Well, I'm using ...
1
vote
0answers
1k views

RPI-Cam-Web-Interface: Permission denied. Already enabled the camera

I followed this tutorial. At step #23, I used the exact same setting option. And pressed Ok and Start Now. But it just kept repeating: mmal: mmal_vc_component_create: failed to create component '...
1
vote
0answers
209 views

Httplistener on Raspberry Pi

I have an asynchrone Webserver in C# and it runs perfect on Windows. I get a Request every 20 ms and its answering directly. I published my solution for linux-arm with the command: dotnet publish -...
1
vote
0answers
1k views

CGI with nginx getting 502 bad gateway error

I want to use my RPi to source some data wirelessly. I'm working from Derek Molloy's Exploring Raspberry Pi. Step 1: get nginx working. I wrote my own index.html file and can get to it over my local ...
1
vote
0answers
234 views

live web server for seeing raspberry pi 3 camera

I have tried looking through some tutorials, but I can't find one that puts ALL the pieces together for what I am trying to accomplish, and explaining it in a crystal clear way for a noob. Here's what ...
1
vote
0answers
74 views

Installing mysql installed other software and changed icon set

Raspberry Pi 3 running NOOBS with Raspbian Pixel installed. So i'm trying to setup a webserver on my Raspberry Pi 3 and did that. Then i added MySQL. Running sudo aptitude install mysql-server php5-...
1
vote
0answers
1k views

Owncloud Not Accessible by Ip on Local Network

Okay, its so late its early now, so Stack Exchange is my only hope for solving this. I followed the instructions listed on this blog post at pimylifeup.com to create an Owncloud webserver for myself. ...
1
vote
0answers
522 views

Response timeout for webserver from public IP - Raspbian

I'm at a loss on this one. I am trying to forward traffic to my pi located beneath two routers. My network is structured like this: Public IP 56.xx.xx.xx router 1 (LAN Range 192.168.0....
0
votes
0answers
39 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
41 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
35 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
18 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 ...
0
votes
0answers
114 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
248 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 ...
0
votes
0answers
98 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
0answers
296 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
25 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
71 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
0answers
137 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
2answers
222 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
47 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 ...
0
votes
0answers
233 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 ./...
0
votes
0answers
131 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:...
0
votes
0answers
311 views

Raspberry Pi mysql_secure_installation ERROR 2002 (HY000):Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

As said in the title mysql_secure_installation gives this error,I've tried finding a sock file anywhere associated with mysql,no trace,my.cnf has no path written for the sock,neither mysql nor mariadb ...
0
votes
0answers
61 views

How to access Raspberry Pi webapp on remote devices, with RasPi as accesspoint

I'm working on a remote car to use outdoors. I'm controlling motors with relays using a flask webapp running at localhost. I can access the webapp when raspi is on my home network, by loading it's ip:...
0
votes
1answer
133 views

Apache Server on Phone Hotspot

This might be too hard to answer if you can’t actually test a server on a hotspot, but can I make an Apache server on a hotspot and if yes, will the phone that is making the hotspot be able to access ...
0
votes
0answers
242 views

RPi_Cam_Web_Interface doesn't works and shows wrong HTML site, how to fix?

I wanted to stream from my RPi to a website that I can access over the IP address. The best solution seems to be RPi_Cam_Web_Interface. I followed the instructions on the elinux.org that seems to be ...
0
votes
0answers
857 views

php file not executing python script when called through browser

I have an apache2 webserver running on the pi. I have a php file that uses exec() to run a python script. Everything works well from the command line. when loaded through the browser, the exec() ...
0
votes
0answers
140 views

Get bluetooth button input with php

I'm new to raspberry development but I'm experienced with the web languages (PHP,html5,javascript and css). I want to develop a simple counter that will be increment when the pression of a wireless ...
0
votes
0answers
103 views

HTTPServer / FTPServer loop colliding with callback thread

I am building an alarm application. I have a few PIR sensors and webcams. The application contains a webserver I use to manage the alarm from a mobile application done with kivy.The webcams upload ...
0
votes
0answers
905 views

Can't access to motion from internet

I'm trying to make a server with motion , lighttpd and cgi scripting bash, everything is fine excepted from outside of my network (internet). Those are my files and log. Somebody can help me please? I ...
0
votes
1answer
34 views

problems with the external network

I was able to use the site with the name that I put in the no-ip locally until I go to move the ssl certificates and the port configurations in my router and simply stop, nor by the ip of it enters ...
0
votes
0answers
505 views

Can't connect to Nginx webserver on LAN

I cant connect to my Nginx web server when on my LAN, I have tried using both the internal and external IP's to do this I keep getting told connection refused. By this I mean that if I try to connect ...
0
votes
0answers
248 views

Failure on apt-get

I have a remote site where I have a brand new raspberry pi that I would like to setup as a web server. I want to use nginx, and so I ran sudo apt-get install nginx. This should be something incredibly ...
0
votes
0answers
2k views

Water level indicator using Raspberry Piand Bottle Server

I want to create a Raspberry Pi water level monitor system using HCSR04 ultrasonic range sensor. The HCSR04 is placed on the roof of water tank. Then the distance is measured and the the distance is ...
0
votes
0answers
457 views

Animated GIF won't work on raspberry pi

i'm building a local website that displays an animated GIF. The website is opened using chromium web browser. i'm sure that the GIF itself is working because I've tried to open it in different ...
0
votes
0answers
2k views

Upgrade OpenSSH to V7+

I'm using my raspberry pi as a home web server and, whilst I know it's never going to offer up enterprise level security, I would like to make it as secure as possible. scanmyserver.com has indicated ...
0
votes
0answers
610 views

How to access a website hosted on a laptop's localhost

i have connected my raspberry pi B+ to my laptop via an ethernet cable. i am on an ubuntu machine and i have shared my internet connection through the network configuration of the laptop. so wifi-> ...