Questions tagged [web-server]
Refers to the software or hardware that make up a webserver, delivering content on a private or public website.
3,310
questions
0
votes
0
answers
16
views
How to verify backend servers are reachable as part of keepalived health check?
I'm currently configuring a high availability setup using Keepalived to manage failover between Nginx servers. As part of this setup, I need to implement a health check script to verify that Nginx is ...
-1
votes
0
answers
20
views
cookies are not being, recongnized / regenerated, after some period of time
Authentication in Laravel doesn’t work some time after the deploy in a specific environment
I have 2 web platforms built with Laravel that work perfectly fine both on the development environment as ...
0
votes
1
answer
48
views
Allow user to pull in `www-data` owned folder
I have a github workflow, that runs whenever a branch is merged to main:
jobs:
deploy:
name: Deploy to Production
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: ...
2
votes
1
answer
125
views
Nginx webserver not available with global IPv6 Address
Recently I changed my ISP, which doesn't give out any public IPv4 addresses (CGNAT) without a monthly charge, which is the reason that I am changing the configuration of my webserver (Ubuntu 22.04 &...
0
votes
0
answers
91
views
Apache 2.4 random chrome ERR_EMPTY_RESPONSE
Firstly, I would like to say I am somewhat a rookie to apache configs. I have worked with it a little bit but definitely not enough to the level of many apache professionals. Due to this, some ...
0
votes
0
answers
95
views
Issue moving Ubuntu/Apache webserver from Comcast to AT&T router
I've hosted a simple Ubuntu web server for years on port 443 via a Comcast router with port forwarding enabled without issue.
I now have to change to AT&T, the router they provided is a BGW320, ...
0
votes
2
answers
294
views
Is it better to redirect root to www or www to root?
This may be a 'fashion' question, but is it better to redirect:
https://www.example.com -> https://example.com
or
https://example.com -> https://www.example.com?
I always assumed it was better ...
0
votes
0
answers
52
views
Changing nginx default log format sometimes doesn't work
I've recently set up fail2ban to work with my custom nginx logging format (called "main"), I have all my sites logging to a different *.access.log file. I still had to change the default ...
0
votes
1
answer
70
views
Apache says certificate not valid for 192.168.0.44, but it is valid for 192.168.0.44
I am having trouble creating an SSL certificate for a website that is served by Apache. When I visit https://192.168.0.44 via FireFox, I get the error message:
Websites prove their identity via ...
0
votes
1
answer
71
views
After setting CORS, endpoints of web services are not retrieving data
Well, maybe I am not providing enough information to you all. Hope you can help me, give a clue or hint, or guide me how to advance.
I have an application that is consuming data from a web service. ...
0
votes
0
answers
21
views
-CGI script not getting executed
0
I'm trying to make a simple form where you can introduce you're name and upon hitting the submit button you get redirected to a page where it says "Hello name_that_was_submited!". I did ...
0
votes
1
answer
94
views
Can I use my letsencrypt wildcard cert on BOTH my webserver and DoH server?
I use letsencrypt wildcard certificate on www.mydomain.com and it works all fine.
Since it is a wildcard, I can validate SSL on *.mydomain.com.
Now I have a recursive resolver running unbound that I ...
3
votes
1
answer
702
views
Traefik routing to two ports in one docker container
I want to serve two web servers from a single docker container, and expose them through two ports using a Traefik proxy server.
I found an example docker compose file that serves two web servers from ...
0
votes
1
answer
85
views
How can I tell what source IP address is used when our .NET Core application server makes a request to an external IP address restricted server?
I've been using Fiddler Classic to capture the traffic from our IIS web server on which runs a .NET core application which makes requests to an external IP address restricted servers (both test and ...
1
vote
0
answers
185
views
The Site cannot be reached - Docker - Gunicorn
I have have a Docker container running on Linux Machine. When I tried to access it on Browser it says
This site can’t be reached 10.xxx.xx.xx took too long to respond.
Try:
Checking the connection
...
0
votes
0
answers
151
views
proxy causes "Name Error: The domain name does not exist" Apache2
When I activate a proxy by entering the address in /etc/environment, the website I host on my webserver becomes inaccessible with the following error message (snippet):
<div id="content"&...
0
votes
0
answers
35
views
strace restart apache server does not log accept/accept4 syscalls
We are using the following command to gather syscalls for apache server start (run as root):
strace -e trace=open,close,read,write,connect,accept -f -o /home/sacumen/syscalls_start_apache.txt ...
0
votes
3
answers
209
views
Apache redirect http://%{HTTP_HOST}:%{SERVER_PORT}/%{REQUEST_URI} to https://%{HTTP_HOST}%{REQUEST_URI}
I am attempting to redirect
<VirtualHost *:5555>
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteCond %{SERVER_PORT} =5555
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=...
0
votes
0
answers
22
views
Distinguish if users accessing url from LAN or WAN (nginx) [duplicate]
Is it possible to distinguish between two users (with unknown IPs) that access the same URL, one from the internet (WAN) and one from the local LAN? If not, is it generally not possible or does it ...
0
votes
1
answer
38
views
Can someone help me out in lighttpd server facing issue in mod rewrite and 404 error in cms
I am beginner in lighttpd I am facing problem in cms script because of htaccess as htaccess dont work in lighttpd I had enabled mod_rewrite in lighttpd.conf file
and due to this I am facing 404 error ...
0
votes
1
answer
221
views
Cloudflare Origin Server Exposing IP with DNS Only SRV Record
I have a domain registered with Cloudflare with an associated A record which point to the IP of my server (origin server), as well as an A record for a subdomain (service1.example.com) for a TCP ...
0
votes
1
answer
116
views
PHP mail.add_x_header not showing in log
On Ubuntu 22.04 I have the following in /etc/php/8.1/apache2/php.ini (and have restarted Apache), and in /etc/php/8.1/cli/php.ini:
; Add X-PHP-Originating-Script: that will include uid of the script ...
0
votes
0
answers
53
views
Where does .env (which contains the client secret) go?
I have a React app with a Node.js server.
Here is the directory structure:
.env
app
.env
.gitignore
build/
node_modules/
package copy.json
package-lock.json
package.json
...
2
votes
3
answers
201
views
Lightweight HTTP to HTTPS redirect
We are running a Proxmox server, which I have configured using IPTables to redirect port 443 to the proxmox port 8006. What would be the lightest way to redirect anyone trying to access http://...
1
vote
0
answers
118
views
nginx Failing to Serve Static Files to Flask
I've tried numerous solutions of other posts, but nothing seems to work for me, I always get a 404 error, when trying to let nginx serve static files of my flask application. On my local host server, ...
0
votes
2
answers
220
views
What is the best way to redirect port 80 connections to port 8080 with ipv6?
As I understand it, IPV6 is supposed to get rid of this whole port forwarding requirements. However if I want to host a web server on port 80 with something like python or javascript i'd still need to ...
0
votes
2
answers
121
views
Slowdown in Apache with HTTP/2 when Requesting Small Thumbnails (60KB) via Reverse Proxy to HTTP/1.1 Backend
I am currently running an Apache server with HTTP/2 enabled as a reverse proxy for my web application. I have noticed a significant slowdown when requesting a large number of small thumbnails (each ...
1
vote
1
answer
126
views
What steps can I take to troubleshoot why my server is not accessible over HTTPS after enabling SSL with Certbot?
I'm looking for assistance in diagnosing and resolving this issue. What steps can I take to troubleshoot why my server is not accessible over HTTPS after enabling SSL with Certbot? Are there any ...
0
votes
1
answer
38
views
Point many domains to a single simple web form, using nothing but domain records configuration
Context: A friend of mine has a business selling domain names. As I work in IT as a C# developer he came to me with his request. Although I know little of these kind of things.
Request:
He wants to ...
0
votes
2
answers
138
views
Apache Httpd: Logging Access for Non-privileged Users
I’m wondering if it is common for Apache HTTPD admins to allow read access or read access to copies of /var/log/httpd/${vhost}_error_log?
I administer an Apache web server for a University CS ...
0
votes
1
answer
275
views
NET::ERR_CERT_AUTHORITY_INVALID and I am webmaster
I set up my own webserver and installed some user-generated ssl certificates, however, now, when I visit the site (using https), Chrome displays the error message
NET::ERR_CERT_AUTHORITY_INVALID
What ...
2
votes
1
answer
910
views
Apache GZIP for images - any reason?
JPEG, GIF, PNG and WEBP images are already compressed. Is there any reason to serve them up using GZIP compression, regardless of whether or not the client says it may accept GZIP compression?
curl -H ...
0
votes
0
answers
209
views
Migrating an ISAPI classic application to IIS 10 on Windows Server 2022 Standard - path info calls failing
Now migrating an ISAPI classic application to IIS 10 on Windows Server 2022 Standard.
The application uses path info to call many different functions in the ISAPI app. Calls are now failing with HTTP/...
0
votes
1
answer
275
views
Getting a timeout error on a newly created Apache2 web server
I created a new Debian 12 web server through Vultr. I have uploaded my simple little website up to the /var/www/html directory and when I try to navigate to the ip address, I get a The connection has ...
0
votes
0
answers
543
views
Web interface in Docker container not accessible
I am currently setting up a system that is composed of different Docker containers that somehow have to communicate with each other.
One Docker container is dedicated to a XMPP server (prosody). This ...
2
votes
1
answer
220
views
How can I troubleshoot an iptables rule that is preventing internet access from my server?
So I am facing a strange issue, not able to make any sense. Hope someone here can help me understand. I have my iptable rules set like this
root@COV0495:~# iptables -S
-P INPUT DROP
-P FORWARD ACCEPT
-...
0
votes
0
answers
37
views
Where do I store web server login credentials?
I am building a web server that will accept requests from mobile devices and route to 2 different SQL Server instances. For extra security, I want the mobile devices to have to log in twice - log in ...
0
votes
0
answers
493
views
proxy pass/redirect not working on Nginx reverse proxy
I am trying to achieve the below with nginx -
I have 2 docker containers running on a server once container runs nginx on port 80 & takes requests from AWS application load balancer. Then based on ...
0
votes
0
answers
32
views
Learning reason of incorrect redirect in Nginx
There's a web app url of which may vary - it's either .com or my..com depending on if a user is logged or not.
However, there's an element on the main page (that can be accessed via .com or my..com) ...
0
votes
1
answer
154
views
Apache child processes are launched more than ServerLimit and threads are executed more than ThreadsPerChild
The following version of Apache is used. (MPM : event)
httpd -V
Server version: Apache/2.4.37 (Red Hat Enterprise Linux)
Server built: Jun 15 2022 08:27:14
Server's Module Magic Number: xxxxxxxx:xx
...
0
votes
0
answers
178
views
Multiple users chrooted to single directory when using SFTP
Heyho,
so, while experimenting with setting up my own webserver on a Raspberry Pi, I've come up with something that should be quite simple in my opinion, but seems to be quite hard (or I can't find ...
0
votes
0
answers
140
views
Apache sometimes hangs while responding to requests
I have an Apache web server working in windows environment. It is working smoothly, but sometimes even when on low load, is fails to serve the said requests but quickly loads the page when user ...
2
votes
2
answers
71
views
Online monitoring / dashboard service for multiple metrics
I know there are services like Uptimerobot and Pingdom that monitor web service uptime.
I'd like to easily monitor web availability as well as backup status, eg if a backup ran/ completed properly. I'...
0
votes
1
answer
915
views
nginx reverse proxy https to http
I have a Linux server, on which I created a public web app (as a test) accessible here: http://tropo.gps.caltech.edu:9384/jsserve
It works as intended. As you can see, it is served on port 9384 with ...
2
votes
1
answer
2k
views
How to configure streamlit to serve an app to www?
streamlit app is running in a centOS stream 8 virtual machine. Access from intranet is fine but fails with "streamlit please wait.. page" when accessed from www via subDomain.companyDomain....
-1
votes
2
answers
71
views
Server authorization based on token with expiration
I'm trying to be able to create video streaming over HTTP which would specific authorization method described below, but I'm not sure how to approach this.
Currently I'm using the Motion package which ...
0
votes
0
answers
129
views
Purchase a ssl cert for a domain without a webserver
My company has a legacy web application where there is a link to help documents. The link is https://help.example.com. The Apache server for the domain https://www.example.com decommissioned so only ...
-2
votes
1
answer
173
views
Does Amazon have a web server named 'AmazonS3'?
Note that I understand what "Amazon S3" is; I'm asking only about the software that handles the HTTP interface.
If I check the HTTP headers for github.com, for example, one of the response ...
0
votes
1
answer
49
views
Apache HTTP Server - 2.4.5* / Is it Possible to Use Cluster Scenario for WebLogic Server Installed On 2 Different Machines Using Apache HTTP Server?
There are 2 different scenarios.
Scenario-1:
Let's assume that WebLogic is installed on 2 different servers. Server IPs: 192.168.0.111 and 192.168.0.112. These servers are not clustered (ie each ...
1
vote
1
answer
577
views
how to setup pimcore on vps server via docker compose yml
I am really exhausted to get pimcore running on my vps server.
I tried several OS like Unbuntu 18 / 20 or CentOS 7. I tried to install pimcore via composer. But there I always get some errors, when I ...