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
0answers
10 views

Apache failed to start with PrivateTmp=true after I changed the /tmp folder

Apache service cannot start and I know the reason but not sure how to fix it: Apache error: apache2.service - The Apache HTTP Server Loaded: loaded (/lib/systemd/system/apache2.service; enabled; ...
0
votes
0answers
15 views

Nginx Config with multiple vhosts and general part for every hosts

I have several subdomains in one configuration file. I was wondering if is there a way to set a general configuration part for every hosts and then configure each host separately. Like I have this ...
1
vote
2answers
49 views

Static website I am hosting cannot be reached and the server IP cannot be found

I recently used Google Domains to register a domain and have connected it to Google Cloud Console to manage a static website. I followed the Google Codelabs guide to set it up and faced no issues. ...
-2
votes
1answer
10 views

simple http server in python using cpanel [closed]

i have successfully deployed the web server using cpanel python app , but when i run the script i get this error : *returncode: 1 stdout: stderr: Traceback (most recent call last): File "/home/...
0
votes
0answers
11 views

Unable to connect to website on internal server within LAN [closed]

Complete noob with things like this so bare with me; all help is greatly appreciated. I have a server at home that I intend on hosting multiple websites i'll call website 1 & website 2. ...
0
votes
0answers
29 views

Execute batch file from server on client computers using php [closed]

Hi all my server is using windows server 2012 and hosting an intranet using joomla via the latest wampserver. I've been tasked with linking a portable program which is shared via UNC to the intranet ...
-1
votes
1answer
20 views

Apache web server is going in hung state from last four months

We are using Apache (http)web server 2.4.33 with linux OS. We found from last 4 months that our apache web server is suddenly going into hung state. Normally apache server generates the error log on ...
0
votes
3answers
46 views

Is it OK to have Hostname domain different than the Nameservers domain?

I was wondering if hostname domain and nameservers domain can be different on my server. I have always kept them the same but now that I am moving my server, I do not want my clients to have the ...
1
vote
1answer
19 views

AWS architecture for dynamic web server

I'm designing the architecture of a web server with some dynamically generated html pages and hosted in Amazon AWS. Obviously, I can do from scratch: create some AWS EC2 virtual machines and install ...
0
votes
1answer
25 views

NGINX: js/css not being in

while trying to setup a 404 webpage on one of my sites I couldn't find a solution for non-existing links containing a slash, for instance if i try to connect to https://supra.tf/anything, it will ...
3
votes
0answers
27 views

Optimizing IIS for serving static content over TLS

I am trying to fine tune an IIS 10 web server for the sole purpose of serving static files. I've disabled session state, disabled managed code, added all necessary public cache control headers with ...
0
votes
0answers
45 views

How to simulate a remote server that has a different public IP address?

I'm trying to set up 2 remote servers, each connected to the internet through their dedicated ISP router. In order to self-host email+web services and many more. My goal is to make them able to DNS ...
0
votes
1answer
25 views

Nginx proxy request to url specified in GET variable

I need Nginx to respond to a request like https://example.org/proxy/?url=https://othersite.com/path/file.php%%a=test123%%b=321tset or a similar method, like https://example.org/proxy/https://...
0
votes
1answer
35 views

Can both a web server and email server be referenced in the hosts and hostname files?

Environment: CentOS, Nginx, Postfix/Dovecot, Digital Ocean Droplet Question: Can both a web server and email server be referenced in the hosts and hostname files? Is it better to have a separate ...
0
votes
0answers
29 views

does nginx support use variables along with return?

does nginx support use variables along with return? I'm trying to declare a custom error string only for a specific group of HTTP errors, something like: error_page 401 403 404 502 /error.json; ...
0
votes
1answer
12 views

Expect-CT header: Is needed something special for report-uri?

I've was reading about the Expect-CT header (e.g. : Expect-CT - A new HTTP Security Header to be aware of ), For example in Apache: Expect-CT: max-age=0, report-uri="https://www.example.com/report" ...
0
votes
0answers
17 views

Syncing web servers over WAN without port forwarding

We have multiple locations (2 now, soon to be 3) with ProxMox servers that have containers (ubuntu server) on them set up as the following (but will have more web servers): Location 1: GitLab-server ...
0
votes
1answer
33 views

Failover cluster of 2+ servers for disasters with only 2+ physical machines

TL;DR: Question in bold below Here http://www.howto-expert.com/how-to-create-a-server-failover-solution/ is an (I assume) old blog post, explaining how to setup 2 server machines (one master and one ...
0
votes
2answers
55 views

Configuring an Ubuntu 20.04 server

this is the first time I am setting up an Ubuntu server. It is going to run a low-usage app for a company but I want to make sure not to leave any security issues out. 1) I installed a fresh Ubuntu ...
2
votes
2answers
47 views

Why are concurrent downloads faster

Many download managers like this, this and this support downloading a file over multiple parallel connections, one per thread. The concept is that each connection will download one part of the file ...
0
votes
0answers
95 views

Proper UFW rules for webserver being tunneled through Openvpn Server on EC2 instance

I have configured a webserver locally. I am running an Ubuntu 18.04 EC2 instance which is configured as an openvpn server. My webserver is successfully connecting/tunneling to my OpenVPN Ubuntu server ...
0
votes
1answer
31 views

ProxyPass not working - Apache2

<VirtualHost *:80> ServerAdmin callumokane123@gmail.com ServerName server.maniabots.xyz ProxyPreserveHost On ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ </...
0
votes
1answer
32 views

Nginx handle multiple htmls in different for different locations in same server

I want to deploy my react app's in nginx under the same server, serving different html's for different locations, I have tried below configuration but it din't work for me server { listen 8080; ...
1
vote
0answers
18 views

How do I use another version of Php for an app served under a certain path with Apache?

I am on Debian Testing so Php 7.4 seems to be the current one. This is fine with me since most of my Apache served apps are fine however two of them are broken. One is Wallabag and the other one is ...
-1
votes
1answer
28 views

why use both web servers and application servers in the same architecture? [closed]

I understand the difference between the two, but I don't understand why you would use both. What is the point of separating the work between the two types of servers and increasing the amount of ...
0
votes
1answer
58 views

My URL Rewrites/Reverse Proxy in IIS is not working as desired. Can anyone please double check my setup?

I have a base website (www.example.com) that is working fine. I would like to redirect a subdomain (jellyfin.example.com) to an alternate port on the same IP address that the main domain is residing. ...
1
vote
0answers
12 views

How to show webpage on localhost to enduser on nginx?

I am running two different service on an embedded device. One is at localhost:4444 and the other at localhost:8082.(the service at :4444 forwards a login attempt automatically to localhost:8082). I ...
0
votes
1answer
88 views

Where to give index.php properly?

I have /var/www/html/moodle as my website directory. When in mysite.conf the settings are as follows: DocumentRoot /var/www/html DirectoryIndex "index.php" mysite.com gives an Index of/ page since ...
0
votes
2answers
19 views

Apache not loading homepage

My site www.domainname.com loads apache2 'It works' page instead of the expected home page of moode which is located at /var/www/html/moodle. There is an index file index.php inside moodle directory ...
1
vote
1answer
80 views

domain doesn't work without [.www]

So I set up an Apache Webserver. Apache is handling the requests and guides them to the web framework flask. And i bought a domain and configured it with an A Record to my Server Ip. And now whenever ...
0
votes
0answers
19 views

Exactly what is the “Tunnel” that Nginx sets up to connect to a back-end server when using WebSockets?

I am a beginner to the world of web development and currently I'm trying to build a socket.io flask application with Nginx serving as the front end server to handle, among other things, the load ...
0
votes
1answer
51 views

Tunnel a local webserver to AWS Openvpn server and serve traffic from AWS IP address?

I am running a LEMP server locally behind my router. Everything is working as it should. Because I would prefer that my ip address isn't exposed to the world, I am attempting to tunnel the web server ...
0
votes
1answer
25 views

Service Records for http

Is it recommended to use SRV / service records resource records for http? Are there any significant advantages or drawbacks for using them in http?
0
votes
2answers
78 views

Ansible - what is the purpose of the key “run_once” in a task file.yml?

In a task file whose role is to install php on a remote server(s) someone uses this module (after the one dedicated to the installation) to update the fresh install : command: php update.php --...
0
votes
0answers
12 views

Set a redirect in Apache to render folder static files instead of html file

I have been following this tutorial here to install swagger on my project. I created a folder with the static js/css files along with the index.html file and added .dist folder to the folder. I got to ...
0
votes
0answers
10 views

How to disable Hosttech Website block

I am hosting a website on www.hosttech.at. The page was blocked because it had a malware. Before removing it, I created a backup of the page. After fixing it, the site was unblocked successfully. But ...
0
votes
0answers
12 views

server response time for SSH git clone operation

I found the git server application prints server response time in log only after below step completed during an git clone operations. ( I am using Bitbucket server) Example : Receiving objects: 100% (...
0
votes
1answer
69 views

nginx mask or convert query string to different url

I want to convert or mask a url with query string to another url. From: https://www.example.com/world/web/?q=hello To: https://www.example.com/world/web/search/hello I have tried everything on ...
0
votes
0answers
16 views

Nginx Load Balancer traffic redirection

we have following nginx config : nginx config snippet In the ../conf.d/ folder we have different config files for domains and subdomains. Let's say aaa.conf, bbb.conf, ccc.conf. Nothing unusual in ...
0
votes
2answers
31 views

How to 301 all urls except homepage and one other url to homepage in nginx

I've recently reduced a site from a huge wordpress blog to a single page (homepage) and one other page. I'd like to 301 redirect all pages which aren't the homepage or /confirmed to the homepage. I'...
0
votes
0answers
9 views

Sockets available per process is lesser than available sockets

The number of socket per application is set to 1000, however at the system level the sockets are more than 1000. Now consider at the application level all the 1000 sockets are consumed. For any new ...
0
votes
0answers
51 views

How to configure redirect of HTTP to HTTPS and keep end-to-end SSL via Apache Proxy

I'm currently testing the following scenario in our lab environment to make our production web sites more available. I want to be able to update/reboot a single server without taking down any of our ...
0
votes
0answers
18 views

Nginx static website with wordpress blog routing

I have a problem with nginx config and after spending hours of trying different solutions I still can't make it work. I have a root folder /var/www/x where I have my static website placed, lets say ...
0
votes
0answers
20 views

How Connect Webform To Ansible Or BASH/Python, To Start a Server Service

I'm a newbie with servers. My webmin service often stops after I'm done using it, so I have to SSH in to restart it. BUT that could be a security advantage. So I'd like to use an Ansible script (or ...
0
votes
0answers
75 views

PHP environmental variables are null through the web server

I am using docker to create a container with the centOS in which I have a nginx web server. I have a bunch of environmental variables that were declared in the docker-compose file(e.x. APP_ENV=docker)....
0
votes
0answers
13 views

Nginx: reverse proxy for multiple ports does not work

I'm trying to use Nginx reverse proxy port 80 to port 5000 and port 8080 to port 8081. I've configured ssl so GET http://DOMAIN:80 with redirect to port 443 - this works fine. I'v configured another ...
0
votes
0answers
20 views

Nginx: How to reverse proxy each port to another specific ports?

I'm trying to configure an Nginx server to reverse proxy port 80 to port 5000 and port 8888 to port 9999. The server_name is the same for both proxies. I tried to use the following configuration but ...
1
vote
1answer
87 views

Changing the hostname of a debian server using a subdomain

I own a domain name mydomain.example, which I use CloudFlare for DNS. The domain is configured to point to my website hosted on GitHub. In parallel, I have a Debian VPS from OVH, and I would like ...
0
votes
1answer
12 views

How to view a log file realtime (similar to “tail -f”) via web

I have a server that runs a number of tasks. Each task has a log file. I have a webserver that lets you see these log files, but it just copies the contents of the file to the browser and the user ...
0
votes
0answers
42 views

nginx site shows blank page. No errors

Background I'm trying to get an nginx /php-fpm7 site up and running on an alpine linux server. Problem No errors appear when i navigate to it. Cert is good. And the in the /var/log/access.log ...

1
2 3 4 5
62