Questions tagged [web-server]

Refers to the software or hardware that make up a webserver, delivering content on a private or public website.

Filter by
Sorted by
Tagged with
0 votes
1 answer
45 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: ...
Bird87 ZA's user avatar
  • 113
2 votes
1 answer
119 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 &...
ITpro_LX's user avatar
0 votes
0 answers
75 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 ...
Legend ile's user avatar
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, ...
PortForwardingQuestion's user avatar
0 votes
2 answers
265 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 ...
J. Gwinner's user avatar
0 votes
0 answers
41 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 ...
user9503's user avatar
0 votes
1 answer
63 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 ...
learningtech's user avatar
  • 7,445
0 votes
1 answer
68 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. ...
Kenzo_Gilead's user avatar
0 votes
0 answers
20 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 ...
velici alex's user avatar
0 votes
1 answer
87 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 ...
user227963's user avatar
2 votes
1 answer
643 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 ...
Don Kirkby's user avatar
  • 1,474
0 votes
1 answer
81 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 ...
meekstay's user avatar
1 vote
0 answers
174 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 ...
Usman Rafiq's user avatar
0 votes
0 answers
144 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"&...
sysad noob's user avatar
0 votes
0 answers
34 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 ...
Mahesh's user avatar
  • 101
0 votes
3 answers
187 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=...
sroth79's user avatar
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 ...
Toxiro's user avatar
  • 123
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 ...
Prajwal 's user avatar
0 votes
1 answer
215 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 ...
Anonymous_Codesman's user avatar
0 votes
1 answer
112 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 ...
TommyPeanuts's user avatar
0 votes
0 answers
52 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    ...
BigMistake's user avatar
2 votes
3 answers
192 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://...
bsasealteam6's user avatar
1 vote
0 answers
116 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, ...
AnthonyShea's user avatar
0 votes
2 answers
216 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 ...
Stanislas's user avatar
0 votes
2 answers
111 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 ...
xhighway999's user avatar
1 vote
1 answer
122 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 ...
Sri's user avatar
  • 23
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 ...
Tony_KiloPapaMikeGolf's user avatar
0 votes
2 answers
133 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 ...
deconstruct's user avatar
0 votes
1 answer
270 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 ...
Thorsten Staerk's user avatar
2 votes
1 answer
868 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 ...
Lumi's user avatar
  • 199
0 votes
0 answers
202 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/...
Vector's user avatar
  • 145
0 votes
1 answer
265 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 ...
Rex_C's user avatar
  • 101
0 votes
0 answers
528 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 ...
Dennis Maecker's user avatar
2 votes
1 answer
215 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 -...
Rick Roy's user avatar
  • 247
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 ...
TheMortiestMorty's user avatar
0 votes
0 answers
483 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 ...
usert4jju7's user avatar
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) ...
Gregory Miermont's user avatar
0 votes
1 answer
149 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 ...
fsk5304's user avatar
  • 101
0 votes
0 answers
177 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 ...
Solus Bellator's user avatar
0 votes
0 answers
132 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 ...
12416_INDB's user avatar
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'...
Dan's user avatar
  • 281
0 votes
1 answer
902 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 ...
Alexandre Renchon's user avatar
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....
384X21's user avatar
  • 121
-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 ...
Martin819's user avatar
0 votes
0 answers
126 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 ...
BioRod's user avatar
  • 303
-2 votes
1 answer
166 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 ...
QF0's user avatar
  • 203
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 ...
rndm_acct1's user avatar
1 vote
1 answer
566 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 ...
Robert Seidel's user avatar
0 votes
2 answers
325 views

Traffic mirroring with nginx

Simply put using Nginx I am trying to mirror all the traffic hitting one of our apps, app A to a newly deployed test app. I know that there is the mirror module but I was wondering if there is any ...
Omera's user avatar
  • 15
0 votes
0 answers
35 views

why am I getting postfix loops back to myself error, BUT, only after I point the subdomain to the server?

so I have set up a new web server that is hosted in the cloud. The server is ubuntu, I am currently transferring 1 site (with 2 subdomains) to this new server. I transferred 1 site so far, lets say ...
Collin Short's user avatar

1
2 3 4 5
67