Skip to main content

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
37 views

OpenVPN on server to tunnel back-end connection

I need to configure a Linux server (probably CentOS) to run a web application online. Elements in the flow: mywebapp, reachable at the url https://mywebapp.example.org thirdpartwebserv, reachable at ...
user31929's user avatar
  • 119
-1 votes
0 answers
42 views

Finding PHP memory leaks on production

I'm an IT systems administrator. We maintain and develop a website that is built on WordPress with PHP 7.4 and NGINX. We have plenty of custom PHP code. The main problem is that we are running low on ...
Sebestyeng's user avatar
0 votes
2 answers
88 views

Vue: nginx setting works in development mode, fails in production mode

I have a nginx configuration like this: server { server_name lionchortle.lol; location ~ ^/vue { proxy_pass http://localhost:8085; } location ~ ^/vue/ { proxy_pass http://...
parsecer's user avatar
  • 165
0 votes
0 answers
79 views

Websocket server - working for local connections but not remote?

I am running an embedded Jetty server on Ubuntu (22.04.3), listening to port 8734 (arbitrary number), and testing it with wscat. The following command connects fine if run on the same machine: wscat -...
Daniel Winterstein's user avatar
-1 votes
1 answer
59 views

IIS - terminate connections on server-level exceptions

I'm working on some Security Technical Instruction Guides (STIGs) and I have a new rule with the following discussion text: The web server defines a set of exceptions for every HTTP status code. Each ...
DerHaifisch's user avatar
0 votes
1 answer
49 views

I can't log-in to the webserver via LDAP

We using a VM for a web server running with apache2 regulating a specific service. Both SSH-login and logging to the front end were regulated by our LDAP-server. A few weeks ago, some changes were ...
Assa Yeroslaviz's user avatar
0 votes
1 answer
44 views

How to assign different ipv6 for each domain in nginx?

I have a KVM VPS running Ubuntu 22.04 and using nginx as the webserver. I have a IPv6 /64 block so I added the extra IPs in the control panel. I also already added AAAA records on my DNS server. I ...
TravelWhere's user avatar
0 votes
0 answers
27 views

Images from file system are loaded very slowly when on VPS, faster on localhost

My / endpoint returns eleven DTOs, each DTO having a String field imagePath, which looks something like this http://localhost:8082/api/get_image/imagename.png (when on VPS, the imagePath looks like ...
parsecer's user avatar
  • 165
0 votes
0 answers
121 views

nginx set up reverse proxy from subfolder to a port

I'm trying to set up a Nginx reverse proxy and I'm slowly losing my mind trying to figure it out. I have my Nginx server listening at 80, and it performs great. I have a page with a form where I want ...
bitwise's user avatar
0 votes
1 answer
269 views

Slow download speeds when downloading from IIS server

Hi am trying to troubleshoot "slow" files download from IIS server. I am testing locally connected to 2.5 gbit switch from my laptop. I have two virtual machines, same hardware, one running ...
Carlo's user avatar
  • 123
0 votes
0 answers
64 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 ...
Tmanok's user avatar
  • 197
0 votes
1 answer
184 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
187 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
242 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
99 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
3 answers
718 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
92 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
106 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,549
0 votes
1 answer
89 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
45 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
124 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
3 votes
1 answer
1k 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,534
0 votes
1 answer
141 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
235 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
198 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
42 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
415 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
23 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
52 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
277 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
152 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
62 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
273 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
152 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
253 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
195 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
171 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
41 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
211 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
326 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
1k 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
248 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
426 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
631 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
267 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
41 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
525 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
34 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
205 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
197 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

1
2 3 4 5
67