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
-1 votes
1 answer
15 views

How do open port for a web server on Windows 7? [closed]

I just want to try to deploy a website on the internet on my computer for a test. I use operating system Windows 7. I have an ASUS RT N12 router. I use NGINX as a web server. Through the ASUS control ...
user avatar
0 votes
2 answers
27 views

Run a perl script in a browser via a link

I'm attempting to get a perl script up and running on Oracle Linux 8.5. My Apache server and virtual hosts work with static html. My test virtual host, fnu, has a very basic perl script named hw.pl in ...
user avatar
  • 1
0 votes
1 answer
23 views

403 after pointing A-Record of subdomain to IP of other server

I have two servers X and Y. Server X: I have a VHOST for the subdomain test.api.konfigurator.company.de pointing to a directory which simply has a index.html containing the word "it works!"....
user avatar
  • 410
0 votes
2 answers
35 views

Can I acess a web server located in another subnet? [closed]

I have a Laptop and a PC. My first laptop shares the same LAN as the PC, let's say they have 192.168.1.10(Laptop) and 192.168.1.20(PC) so I can SSH into it, ping it, etc… and vice-versa. Now, I have ...
user avatar
  • 1
0 votes
0 answers
20 views

How to optimise javascript delivery on wordpress / apache / AWS?

I'm down the rabbit-hole of website speed optimization. I have a site that's getting terrible marks from all of the usual suspects (PageSpeed and GT Metrics, specifically; it looks OK on Pingdom tools)...
user avatar
0 votes
0 answers
37 views

Performance, Security and Scalability of nginx proxy vs ssh tunnel

I'm wondering about the difference in performance, security and scalability for nginx and ssh tunnel for a web application. For my case, I have a VPS set up, whos only job is to forward the traffic to ...
user avatar
  • 147
0 votes
0 answers
16 views

traefik - BasicAuth

Problem: I wan't to implement basic Auth on some entrypoints (e. g.: Traefik Dashboard, Prometheus), but i can't get it to work Context: I've got a bunch of Docker Containers running between a Traefik ...
user avatar
0 votes
1 answer
22 views

icingaweb2 not reachable on apache

the icingaweb2 is not reachable, although it is running on the server with the apache and icinga2. I already have all the prerequisites, that are documented on the official site set up. However, when ...
user avatar
  • 11
0 votes
1 answer
53 views

Load balancing ISPs without double NAT [closed]

I configures my TP-Links ER605 multi-wans router to load balance between my two ISPs (that is working). But since my Web/NAS server is behind my router on the 192.168.2.0 network, any computers on ...
user avatar
0 votes
0 answers
50 views

Why does Nginx only respond on Port 80?

I tried to change nginx' port 80 to 81 in nginx.conf file but my sample site is not responding despite listening to port 81. The sample website only responds on port 80. Also , sample site on http://...
user avatar
0 votes
0 answers
27 views

What is wrong with this NGINX config that rewrites URLs is the user is not logged into WordPress?

I have an NGINX config which is supposed to redirect a user to the WordPress login page if that user is not logged into WordPress, but it is not quite working correctly. Instead, it redirects all ...
user avatar
0 votes
1 answer
21 views

Inventory of all vhosts across multiple webservers

I was tasked to create an inventory of all websites/webapps hosted on our infrastructure (couple thousand sites hosted on around 120 Linux VMs). Most of the sites are served by Apache (httpd 2.4) but ...
user avatar
0 votes
1 answer
53 views

Remotely IIS access using web management service (wmsvc)

I was able to remotely connect and access an IIS web-server using the WMSVC service installed. However, whatever rules add/remove start/stop...etc I need to do is working just fine, but adding a new ...
user avatar
  • 15
0 votes
0 answers
33 views

Apache HTTP Header - Security and Understanding

I have now read through the handbook of Apache and tips in online forums. But unfortunately I don't understand it at all. https://httpd.apache.org/docs/current/mod/mod_headers.html The optional ...
user avatar
0 votes
0 answers
46 views

EC2 instance crashing randomly early morning

I have a java application running on an ec2 instance. Nginx and mongodb is also running on the instance. The application is accessed through ELB which forwards requests to the instance. I have 2 ...
user avatar
1 vote
0 answers
80 views

Apache: <LimitExcept POST> not working (in .htaccess)

I am trying to set some controls in Apache via the .htaccess. This works: <LimitExcept GET> Order allow,deny Allow from all Deny from all </LimitExcept> while this does not: &...
user avatar
0 votes
1 answer
50 views

How to block .git Folder serverwide on NGINX?

I have a question about blocking the .git folders server wide on a NGINX system. At the moment I'm playing around a little with NGINX, I actually use Apache. In Apache, it's actually no problem to ...
user avatar
0 votes
0 answers
17 views

Redirect to a different URL just for 1 share using NGINX as a file server

I have a Nginx web server running on RHEL 7.8 server and is running NGINX as a file server. I have a requirement as below Whenever a user clicks on folder/google it should redirect as below, the only ...
user avatar
0 votes
0 answers
62 views

Auto sync folders on linux server

My problem statement is how to auto sync /home/username/script folder to /var/www/html. So whenever files under script folder are updated then it will update them in destination folder, and also chown ...
user avatar
0 votes
0 answers
17 views

Apache2 change default page [duplicate]

I've got a question regarding Apache2 web servers. I want to have a documentation server which needs to be available by domain. Let's say my domain is mydomain.com, and I have a server with Apache2 ...
user avatar
  • 13
0 votes
1 answer
28 views

Wildcard redirect https://www.*.abc.com to *.abc.com nginx

I would like to redirect all traffic from www.*.abc.com to *.abc.com without www prefix . i have 1000+ subdomains on the same application which use only one nginx virtual host file in sites enabled ...
user avatar
  • 1
1 vote
1 answer
29 views

Getting requests for suspicious php files

I am getting weird GET requests on my (non php supporting) web server for some curious looking php files. Was just wondering whether these are harmless requests of certain browser tools or attempts ...
user avatar
  • 111
0 votes
0 answers
37 views

Reach LAN Web Server from Amazon ec2 OpenVPN AS Instance. Possible?

Here's my desired end state: From a WAN connection (my phone, a PC that I happen to be using outside my home, etc.), I want to be able to enter an URL (https://example/myapp) that my web server (nginx)...
user avatar
0 votes
1 answer
20 views

Hosting Google VM on web

sorry for the rookie question, I'm just starting with Google Cloud and web developement. I have a Flask application, works perfectly locally, and also when deployed to a VM in GC. However I can only ...
user avatar
1 vote
0 answers
17 views

Can Application Experience service recyle an AppPool?

I'm experiencing the mysterious recycling of an app pool once in a day or two. The event log says "An administrator has requested a recycle of all worker processes in application pool 'API'",...
user avatar
  • 223
0 votes
0 answers
53 views

Which HTTP Status Code is most appropriate for a non-cooperation response?

I'd like to send an HTTP response that indicates my server is not willing to cooperate with the requester, as a sort of (voluntarily-imposed non-legal) sanction. For example, ACME Corp stole your ...
user avatar
0 votes
1 answer
34 views

Serve new subdomains dynamically

I have a service example.com that needs to allow users to host a few files in their own subdomain userpage-userabc.example.com, similarly as does Github with userabc.github.io. I currently use Apache, ...
user avatar
  • 529
0 votes
0 answers
26 views

Nginx wordpress rewrite rule

I'm trying to move a website from apache2 to nginx, the old server with apache has a rewrite rule like this: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule .* - [E=HTTP_AUTHORIZATION:%{...
user avatar
0 votes
0 answers
318 views

100% CPU usage from iowait caused by Nginx, not solved by turning sendfile on and directio off

I run a webservice that performs some basic image processing operations. The webserver first accepts image uploads from users and temporarily stores them. A backend server then downloads the image ...
user avatar
0 votes
0 answers
20 views

How to configure a domain on Apache (using apache2.conf or .htaccess) to point to a file that must be downloaded?

I have a domain (let's call it mydomain.com). I already configured the apache on my server, so when I open mydomain.com, the apache landing page appears. Fine. I put a file (let's call it myfile.zip) ...
user avatar
0 votes
1 answer
22 views

Rerouting requests from site.org/old to site.org/new in nginx

I have a site deployed at www.site.org. I have routes at www.site.org/old/article and I want to automatically redirect people to www.site.org/new/article. Ideally this would work as a wildcard to ...
user avatar
1 vote
1 answer
70 views

Can a server offer more than one TLS certificate?

Let's say I have a TLS certificate for a domain but I'm not sure if all user agents potentially connecting over HTTP would accept it. Can I obtain another certificate, signed by another certificate ...
user avatar
  • 133
0 votes
0 answers
141 views

Not found 404 with apache and bootstack

the last two day I was trying to run bookstack with an apache webserver, which is hosted localy on my system. I'am not familiar with apache and bookstack. So this was my first try to host a local ...
user avatar
0 votes
0 answers
23 views

Server Layout for Web-, API-, Database-, VPN- and SIP Server

i have the possibility to redo our Server Infrastructure - i need your advices and best practices to design a good foundation for future expansion. As we are a quite small company with a very limited ...
user avatar
5 votes
1 answer
2k views

My browser will not display http://[sub.]example.com

When I go to http://sub.example.com in my browser I get a "connection refused" message or an "invalid certificate" error but I don't even want to connect over https. As far as I ...
user avatar
  • 5,244
0 votes
0 answers
76 views

Airsonic: no connection / refused to connect error

Hello StackExchange Community, I have had this issue with the Airsonic WAR for a while now, MySQL completely broke on my server, I managed to fix all services except Airsonic. My server is running ...
user avatar
0 votes
1 answer
29 views

What is the order in which apps respond when I visit DOMAIN:PORT on my VPS?

I have owned a VPS running Ubuntu for nearly half a decade, and I have a working knowledge of the networking aspect - but there are many holes in my understanding. When I visit DOMAIN:PORT I ...
user avatar
  • 113
0 votes
0 answers
14 views

I have a windows webserver running IIS and was having issues allowing only one ip address acsess

I have a windows webserver on my second machine and have three machines all routing traffic in a daisy chain. I want to allow only my third vm acsess to the webserver running on (192.168.61.2)and the ...
user avatar
  • 1
0 votes
0 answers
361 views

How to enable SSL and setup reverse proxy on IIS for a website that was using a custom port

we have a legacy website like http://hrsys.com:9199 which is a C++ web application. We have upgraded the app server to Windows server 2019 and IIS 10. Stilly, we want to issue a business SSL ...
user avatar
  • 1
0 votes
2 answers
48 views

Pros/Cons of running separate user accounts for an administrative subdomain?

What are the pros/cons of creating a separate account for an administrative subdomain rather than adding a subdomain under the same account? Specifically, but limited to: Server load/process ...
user avatar
  • 1
0 votes
0 answers
44 views

How to define www.*.abc.example.com wildcard domain in nginx server block?

I want to define my own domain something like this - www..abc.example.com in nginx server blocks . i have tried to do like this - www(.).abc.example.com * & it throws error like - nginx: [emerg] ...
user avatar
  • 1
-4 votes
1 answer
51 views

Does every application needs web server? [closed]

Server is just a machine with web server software(like nginx, apache etc). When we host a website in hosting services like GoDaddy or cloud services, does they provide web server software for every ...
user avatar
  • 97
1 vote
0 answers
53 views

Nginx, webP, and a strict content security policy (SCP) on a LEMP Server

I am attempting to create a strong and secure content-security-policy in nginx, running a wordpress based LEMP Server. I believe I am using the ngx_pagespeed.so module, and have implemented FastCGI on ...
user avatar
  • 63
0 votes
0 answers
109 views

Change nginx temp & log folder on Windows

I installed nginx on Windows but when i execute it from a directory that's different from the folder that resides nginx.exe i get the following error: nginx: [alert] could not open error log file: ...
user avatar
0 votes
2 answers
679 views

add CORS policy on NGINX server

i'm having difficulties adding CORS policy to my NGINX server. I have pointed DNS server to server but the problem in CORS policy is not working. When accessing subdomain.domain.com everything works ...
user avatar
0 votes
0 answers
289 views

How to configure wildcard subdomains together with some fixed names in NGINX?

I have example.com and the following use cases: SSL only www. will be redirected to example.com (no www.) example.com will reverse proxy to :3000 fix1.example.com will reverse proxy to :3001 fix2....
user avatar
1 vote
1 answer
91 views

rewrite and force redirect on rewrite origin url in nginx

I have this instance where a html search <form> forces it to go to /search/index.php?q=term and would like to use something like /search/term instead. This is how the config looks like right now:...
user avatar
  • 147
1 vote
1 answer
55 views

How to host an app for multiple customers?

I built a web app with NextJS that I sell b2b, where users (my clients customers) can check in to a location. They provide their name and get a check in number. The app shows client related ...
user avatar
0 votes
0 answers
118 views

successfull log4j exploitation or just normal traffic

First, thanks in advance and sorry if I'm asking some really silly thing, this is not my expertise :) I have a webserver just for testing my things. Last week I checked if it was vulnerable to log4j ...
user avatar
  • 1
1 vote
1 answer
162 views

Directory traversal fix for nginx config

I discovered that my website has this issue and I wasn't able to fix this. I tried several things like to checking if parent prefixed locations for Nginx alias directives end with a directory ...
user avatar
  • 33

1
2 3 4 5
65