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
2
answers
333
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 ...
0
votes
0
answers
70
views
What's the recommended way to use GeoIP2 with a varying mirror list?
I want to setup a webserver, where every HTTP request is directly redirected to a nearby mirror. So far we used the unfortunately no longer supported Perl module Apache2::Geo::IP together with Apache'...
1
vote
0
answers
25
views
Apache2 Configuration Issue - Deny from external IP, allow by hostname
I've been messing with this for a couple days now and can't seem to get it to work. I have 2 sites enabled via their own config files. site1.conf & site2.conf
Each sites has rewrite rules from ...
-2
votes
1
answer
842
views
How browsers deal with ports? [closed]
Suppose I've a website created which is hosted, and running on port 5000. Now you are on a web browser (let's say chrome) visits the webpage.
so does chrome sends a request from your PC to my server ...
0
votes
1
answer
1k
views
Nginx cache does not set the "X-Proxy-Cache" header
So I´m currently trying to implement caching on my NGINX webserver.
For now I have a single conf file in my sites-enabled directory linked, which looks like this:
proxy_cache_path /var/cache/nginx ...
0
votes
1
answer
554
views
no "ssl_certificate" is defined in server
Trying to get my routine webserver set up, and running into this roadblock, no matter what I try it's not working, something i've done hundreds of times and i'm out of ideas.
Typical webserver setup, ...
0
votes
2
answers
814
views
Nginx reverse proxy only specific sub directory and pass through everything else
I have development situation where i have a domain with multiple services:
https://somewebpage.com
On this service there are multiple project as subdirectories
https://somewebpage.com <- landing ...
-2
votes
1
answer
39
views
Server with scalability for real-time collaboration and editing [closed]
I am here, to ask for absolute input. I have setup a local Apache Server with PHP 7.2 (currently), I am aware newer PHP exists. I know PHP and Python, I also know Node.js (server/back-end).
With Node....
2
votes
2
answers
1k
views
My Nginx webserver does not correctly serve content with accented characters in files names
I just created a new web server using a Linux box and NginX. It seems to be working correctly for most content.
I just converted a site which used to be on a Windows Server box and for the most part ...
0
votes
2
answers
313
views
Can a Linux web server which hasn't been restarted for years be secure?
The content of /proc/uptime reports:
48973211.37 1627573879.70
48973211 seconds mean the server is up for 567 days without a restart.
Since then many serious security fixes have been applied to the ...
1
vote
0
answers
71
views
Apache2: mod_ratelimit only allowing half the speed
I'm trying to limit the file download speed in a directory
I've got the following .htaccess
<IfModule ratelimit_module>
SetOutputFilter RATE_LIMIT
SetEnv rate-limit 4096
</IfModule>...
1
vote
0
answers
135
views
Apache 2.4 "client denied by server configuration" caused by Require expr - even though the request succeeds
Our apache error log is littered with messages saying client denied by server configuration, even though the htaccess configuration is working as intended.
Here is the relevant bit of the htaccess:
...
1
vote
0
answers
37
views
Structuring and serving files after a build
So this is my first self-hosted site and server, so go easy on me please! XD
I've been developing locally using webpack and vanillajs. My server is hosted on digitalocean with ubuntu. I build locally, ...
1
vote
2
answers
96
views
Filter CGNAT IPs from Log
I want to identify heaavy users on a web API I would like to ignore CGNAT IPs . I looked at https://www.rfc-editor.org/rfc/rfc6598 Is this mandatory or can an ISP use any given IP ?
Is there a List ...
0
votes
1
answer
493
views
IIS serving files - strange behavior
I will try to explain the problem as best I can.I have an IIS server that is accessible from outside and users use it to download files (.zip, .iso, etc.).
With smaller files, this is not noticeable, ...
0
votes
0
answers
263
views
Forwarding (local) RTSP/HLS traffic via VPN to expose on WAN IP of VPS
I feel like I am overcomplicating this extremely by wanting to do it securely, so a fresh look at this would help a lot.
I have a webcam that I want to publish / embed on a website. My current setup ...
0
votes
1
answer
108
views
Nginx: Accessing website by domain name will throw ERR_TIMED_OUT
Steps I did:
I've Debian VPS and I've bought domain "marek-prusa.dev" on Google Domains.
Steps how I configured my webserver with domain name "marek-prusa.dev".
I've created marek-...
1
vote
0
answers
2k
views
Specify IP address for V2ray + nginx
There's an Ubuntu server configured with nginx and trojan proxy with x-ui. The nginx listens on public IP address port 443 and x-ui on 127.0.0.1 and can be on any port. trojan proxies also listens on ...
0
votes
2
answers
268
views
How Can I add Cookie value or Session ID Value in ErrorLogFormat of Apache?
I want to add the 'my_session' cookie value in the Apache error log.
I have added an access log 'LogFormat' as below:
<IfModule mod_ssl.c>
<VirtualHost *:443>
LogFormat "...
0
votes
1
answer
435
views
Allowing and restricting access to specific URL in Apache 2.4
I am new to apache. And I want to restrict access to this URL(https://testserver.com/admin.php) for public IP addresses. And I want to allow access to the same URL for specific IP addresses.
I am ...
0
votes
1
answer
114
views
Does number of static pages on a web server's storage affect it's performance?
Imagine Website A Running on server A has 100 Static Pages and Website B Running on server B has 1000000 Static Pages, Both use the same tech (Software, Hardware E.T.C.) to run.
Does Server B use more ...
0
votes
1
answer
421
views
Does FileZilla Server require a public key to work?
I've installed FileZilla Pro Server to host my FTP/SFTP site.
If I try to log into the SFTP server using FileZilla client, it works just fine.
But we have another company trying to log in and they are ...
0
votes
0
answers
53
views
nginx, two websites on two ports to two URLs instead?
I have experience with IIS but not with nginx (on Windows).
I have two websites on a server as follows;
http://servername:port1000
http://servername:port2000
and would like the following:
http://site1....
0
votes
0
answers
30
views
A web server that takes contents from another one, and serves it with slightly modified HTML
I have a web site a.com (please note: I own and run it). I want to be able to run a slightly modified version of it on b.com . The contents would be identical; however, I would apply some minor ...
-1
votes
1
answer
69
views
What is the web server software announcing itself as "VDL/1.0"?
I am looking at an old web form located at: http://www.teleservices.lyon.fr/etat-civil/naissance/
Of course, it is obsolete, bogus, without TLS, etc.
But I don’t recognize the web server publishing it....
1
vote
1
answer
34
views
Webserver cannot be reached from outside, but updates are available and URLs are resolved
I'm having trouble with my web server. It cannot be reached from outside, and I don't know how to proceed.
OS: Ubuntu 20.04
ufw is not running
executing ufw status on the server yields Status: ...
1
vote
2
answers
10k
views
How can I forward-proxy https requests with Nginx?
I am running a local web app on my dev machine. And I want to reach my local web app from a test machine (a phone).
I set up Nginx to listen on port 8888. My test machine can reach my dev machine at ...
0
votes
1
answer
44
views
Increase in spams through website contact forms after change of server
I recently moved my website from Hostgator to an Amazon Web Services' EC2 instance. From a few days later people/bot started posting spam messages in the forms that are on the website.
Is there ...
0
votes
1
answer
384
views
How to redirect/block IP access to Nginx
I am hosting a Website on some EC2 Instances behind an Elastic Load Balancer. The Website can be reached via the public IP of the Load Balancer. This public IP is changing frequently so I have to ...
0
votes
1
answer
700
views
How can I make my nginx web server reachable from outside its local network?
I am trying to reach a subdomain of my website from outside its local network.
I can successfully ping it (ping my.subdomain.com):
PING my.subdomain.com (ser.ver.ip.add) 56(84) bytes of data.
64 bytes ...
0
votes
1
answer
276
views
Will a web server get blacklisted for port scanning?
As I understand it, port scanning is an activity that can be a precursor to malicious activity, as one of the things it is used for is to scan for open ports that one can attack.
In that train of ...
0
votes
0
answers
43
views
Ubuntu server resets to work only locally
This is maybe a very stupid question as I am very new to this. Just lost so much time looking for the solution, but couldn't find any so far. So any tips would be appreciated.
My problem is with web ...
1
vote
1
answer
402
views
Routing HTTP/HTTPS traffic from one Linux server to another Linux server
The DNS for the domain.com is pointing at Server1 (it has a public ip address).
The webserver is running on Server 2 (no public IP address, but connected to Server1 via OVPN).
Is it possible to route ...
1
vote
1
answer
326
views
Pointing a sub domain to an ip with a port (apache)
I've been having an issue for a while and none of the answers for similar posts have been working.
My Issue:
I have a domain running on a linux server (using apache): example.net;
I have a second ...
0
votes
0
answers
861
views
Why is the use of limit_req_zone not limiting requests by clients as expected on Nginx?
Background:
I've been trying to use rate-limiting on Nginx following this NGINX rate-limiting in a nutshell article, but I have an unexpected behavior when using the $binary_remote_addr option. The ...
1
vote
1
answer
971
views
Is there a simple way in Azure to redirect all HTTP(S) requests to a "server down" status page?
I have a web server (Windows/IIS) hosting various web applications running as a VM on Azure.
Now, I'll need to do some maintenance on the web server, which will involve shutting down and reconfiguring ...
0
votes
1
answer
60
views
Can apache return multipe ErrorDocuments for the same response code depending on a header value?
So let's say I have a 403 page but if the request header has a custom value in it - I want to return a different 403 with a bit more information in.
So the normal 403 location may be /error_403 and ...
1
vote
1
answer
84
views
Apache2 - Redirect to external Server for several domains
my goal is to setup a webserver, that redirects http requests to another server.
For example, when an URL/Domain changes.
I want to create an CNAME Record for the old domain to the redirectserver (...
0
votes
1
answer
44
views
How to create a local host that can be accessed through everyone on the same internet?
I've had an Apache Virtual Host working for a couple of month where workers on the office wifi could type in something like www.XYZ123.com and was able to access the website through their browser.
Now,...
0
votes
2
answers
4k
views
Connection issue with nginx and php-fpm on ubuntu 22.04 LTS
I am not able to contact my website which has been set up on a freshly installed ubuntu server 22.04 LTS. Unfortunately, my connection attempts time out with error 522 and I have no idea where to ...
0
votes
0
answers
174
views
Random IIS Failures
I have a 2 node IIS cluster using Microsoft Network Load Balancing under Windows Server 2019 hosting multiple websites/application pools. The cluster ran without problems for a year. However, ...
0
votes
1
answer
360
views
NGINX secure_link returning 403
I´m using the following serve block to serve some mp4 files using NGINX secure link.
server {
listen 80;
listen [::]:80;
root /var/www/cdn;
index index.html index.php ...
0
votes
1
answer
1k
views
Apache webserver's ServerName and/or ServerAlias should be registered on LAN's DNS server?
If I create an Apache webserver into my LAN, with 2 VirtualHosts, both on port 80, should I register their ServerName and/or ServerAlias on my LAN's DNS server?
That's what I did (using in this ...
0
votes
0
answers
182
views
AWS t3.medium web traffic
I have a ecommerce website running on t3.medium instance. Is there a way to find out how much web traffic can be handled by same in numbers? So if our web traffic increases do we need to buy another ...
1
vote
1
answer
15k
views
Nginx 404 Not Found when entering a specific url path
What I am trying to do is to prepare this machine to serve my web application. It works without any problems when I serve it via npm start.
I have a domain, let's say, example.com on which I installed ...
1
vote
2
answers
463
views
is Microsoft IIS Media Services still maintained?
any articles i find about IIS Media Services seems to be from 2012 and not much for updates since then. Is that because it's been working well since then? or because it's no longer being maintained? I'...
0
votes
1
answer
606
views
Proper way to put http-server into background
I'm using raspbian on a pi Zero to serve a simple static HTML page with an index.js and some styling.
I'm using the npm package http-server I've installed it globally.
https://www.npmjs.com/package/...
0
votes
1
answer
979
views
Can I validate client certificates signed with different root certificates in nginx?
Preface: I'm new to certificate validation
I've configured an nginx website as a reverse proxy, which validates client certificates.
Without all the other specifics, this is the config that I used:
...
1
vote
2
answers
495
views
How to restrict apache Guacamole access to certain IP addresses?
How to restrict apache Guacamole access to certain IP addresses?
We want to allow access to ONLY to our office Ip address. Not able to find anything on this topic in the config files.
0
votes
1
answer
1k
views
Apache does not start
I am trying to start Apache on my Webserver but I keep getting this error: httpd.service: Failed with result 'protocol'.
Any solution would be appreciated.
Edit: Log Entries
Jun 3@ 63:41:59 racknerd-...