Questions tagged [webserver]

A web server is a program that responds to network requests over the HTTP or HTTPS protocol.

Filter by
Sorted by
Tagged with
0 votes
0 answers
15 views

How was my postgres docker container hacked / infected

My VPS have been infected by the kdevtmpfsi malware, twice. That's the problem, because I've taken every possible precaution after being infected for the first time, and I have no idea how I'm being ...
xpt's user avatar
  • 1,212
1 vote
1 answer
40 views

CentOS 7 with Apache 2.4 not serving content after change of root web directory

I'm trying to change an apache web service's root web directory /var/www/html to my custom directory /mnt/webfiles. However, after configuring the /etc/httpd/conf/httpd.conf parameters and restarting ...
user53815's user avatar
0 votes
1 answer
46 views

Can www-data control root files on Ubuntu web servers?

I have read about a bazillion posts about how to set up web server ownership, directory, and file permissions. I have heard use root. Don't use root, use www-data. Don't use that, use a different user ...
DontAsk's user avatar
1 vote
1 answer
51 views

How can I run Doccano as the root user without knowing my root password on EC2?

I use Doccano on an AWS EC2 instance running Ubuntu 22.04. To run Doccano, I use doccano webserver --port 8000. But now I'd like to have Doccano serve its webpages on port 80. Therefore, I have to run ...
Franck Dernoncourt's user avatar
0 votes
1 answer
51 views

"Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue?

I use Doccano on Ubuntu 22.04. I get the error "Can't connect to ('0.0.0.0', 80)" when asking Doccano to serve on port 80: what is the issue? Asking Doccano to serve on port 8000 works fine....
Franck Dernoncourt's user avatar
1 vote
1 answer
25 views

Linux Webserver not "Accepting" Connections

First off, thanks for any help anyone can provide, I greatly appreciate it! I have a basic network I have set up for testing. It has pfSense acting as a Gateway/DHCP/DNS host and two Linux machines ...
Twigg90's user avatar
  • 11
0 votes
0 answers
24 views

After web server move my simple PHP script stopped working

Here is what I'm having trouble with: I've had the below script running for years and it's been fine. But my web host moved / upgraded servers a couple of weeks ago and ever since the script has ...
Rik's user avatar
  • 1
0 votes
0 answers
34 views

What is the correct way of redirecting / rewrtiting traffic from HTTP to HTTPS in Ubuntu / Apache2?

I'm learning about website hosting, and more and more YouTube sources recommend redirecting traffic from HTTP to HTTPS these days. I've found two ways this can be done, and I'd like to ask which one ...
michal roesler's user avatar
0 votes
1 answer
47 views

Adding SSL certificates to HAProxy with certbot

I am trying to configure my Nginx server to act as my primary load balancer. I have done the necessary package installation with certbot but the problem comes in when I try to configure my haproxy.cfg ...
Santagotthejuice's user avatar
0 votes
0 answers
90 views

nginx on Debian returns 404 even though requested file exists

nginx on Debian returns 404 even though requested file exists I followed the official documentation (https://nginx.org/en/linux_packages.html#Debian) to install nginx on Debian. Install the ...
dwdq94's user avatar
  • 1
0 votes
1 answer
44 views

Nginx. Multiple sites on the same server causes error 500

I have two domains linked to the same server: domain1.com and domain2.com. When I try to configure two separate websites using these domain names, I encounter an nginx error 500. I have set up nginx ...
Antareo's user avatar
0 votes
0 answers
137 views

Ubuntu server process keeps shutting down after some time

I've been starting a web server process using nohup on a hosted Ubuntu 22.04.02 LTS VPS (virtual private server) to make it run in the background and keep it running even if the SSH session is ...
BullyWiiPlaza's user avatar
0 votes
0 answers
58 views

next js in litespeed webserver

I have a Next.js application installed on my VPS, and when I run it using yarn start, it starts on port 3040. I would like to know how to configure it to start on ports 80 and 443 instead. Thank you!
Hocine Djouamaa's user avatar
0 votes
1 answer
59 views

NGINX: Everyday server stops working at same time

I've got an NGINX server on a Debian OS(10) that is hosting a webpage. Every day at a specific time the server stops working for around 1-2minutes. This happens every day from 19.11 until 22.11(11 ...
zerocool's user avatar
0 votes
1 answer
137 views

how do you get the total size of wget recursive without downloading all the files first?

i have something large to download recursively the size is estimated to be > 150GB (someone told me this is roughly the size) right now i do not have the storage space so i need to figure out how ...
Trevor Boyd Smith's user avatar
0 votes
1 answer
180 views

Application server socket won't open in docker on my machine

Introduction I am developing a proprietary application that uses libevent with libevhtp to create a server socket for http communication. I wrote a Dockerfile to place this application in a docker ...
Alex's user avatar
  • 304
0 votes
0 answers
71 views

How to use command line to trigger/request a jsp web page?

My friend asked me when need to sync files and then open a webpage like: Http://foo.my_friend_server/request_to_sync.jsp then his program will start the sync operations. but I need to do this in the ...
Mark K's user avatar
  • 779
2 votes
1 answer
131 views

fail2ban keeps saying that the IP is banned and then it says it is already banned

Here is my fail2ban version v0.11.1 set up on a Ubuntu Linux 20.04 on an AWS EC2 planform. The jail.local file has the standard defaults from jail.conf but I only activate these 2 jails in jail....
Jack Stein's user avatar
1 vote
1 answer
225 views

Unable to connect to remote server after: sudo chown -R $USER:$USER /var/www

I tried gaining write permissions to change an HTML file on a remote server that runs Fedora using: sudo chown -R $USER:$USER /var/www After entering this line in the terminal connected to the ...
jjjjjjjjjjjjjjjjjjjjjjj's user avatar
0 votes
1 answer
42 views

could not find driver QueryException

Had this problem where my website couldn't load, and it was throwing an error: could not find driver QueryException Most answers hinted at uncommenting the ;extension=pdo_mysql.so line in the php.ini ...
Aseli Paul's user avatar
-1 votes
2 answers
690 views

How to extend /dev/sda5

How to extend the specified partition in ubuntu 22 dev/sda5 It will help a lot in my case if someone help Thanks
Egis's user avatar
  • 1
2 votes
1 answer
526 views

Is it better to have NO swap partition on a system which is installed on SSD and has 256GB RAM?

Of course, the purpose for swap is if your RAM runs out. But with 256GB RAM, I doubt this will happen. A greater concern is that the frequent writing of the swap partition could wear out the SSD. As ...
unixaddict's user avatar
0 votes
2 answers
59 views

Can I let users create an account on their own?

I teach a programming course with over 40 students. I want them to upload their projects to a Linux web server that I rent. So I want each student to create a user account on the server. I do not want ...
Erel Segal-Halevi's user avatar
0 votes
0 answers
68 views

How to check whether my network connection supports HTTP2, gRPC or WebSocket?

My ISP/AS/NAT is problematic since I think it blocks some transfer-layer protocols. I want to check whether my connection to my domain behind a CDN (e.g. cloudflare) supports HTTP/2, gRPC, QUIC or ...
Ragahito's user avatar
0 votes
1 answer
53 views

Calling the status pages in linux

I am currently working in a project which is Linux based. From Linux terminal I have connected to our web application. The web application consists of pages and data in it so from Linux terminal I use ...
Jeevan Jitu's user avatar
1 vote
1 answer
691 views

Tunnel 2 server

I am looking for a solution to tunnel two servers to each other. That is, in such a way that all data is sent from the source server to the destination server in an encrypted form and cannot be ...
Ali's user avatar
  • 11
0 votes
0 answers
19 views

Making requests across machines when hosting a server

I have access to two machines, let's call them as host1 and host2. Both machines are part of an university network which does not allow general public access to them. However, host1 has ports open to ...
Sayan Ghosh's user avatar
1 vote
0 answers
63 views

apache2 crit error file util_ldap.c, line 85, assertion "0" failed

I have simple webservice with one index.html file with hello world And I'm trying to make this website accessible only with LDAP authentication, but when I trying to access website errors start occur....
robotiaga's user avatar
  • 111
0 votes
0 answers
175 views

how to reverse proxy with caddy using digital ocean load balancer

Currently have a load balancer with IP: 164.90.xxx.xxx on digital ocean. This loadbalancer has droplet (server with IP 143.110.xxx.xxx) inside this droplet I'm running a node app runs on localhost:...
T D's user avatar
  • 1
2 votes
1 answer
88 views

Amazon Linux server upgrade

My company is needing to upgrade the OS of our EC2 instances from AML 1 to AML 2 since end of life is 6/2023. We recently released a significantly large add-on to our application, so we are talking ...
John's user avatar
  • 23
0 votes
1 answer
145 views

How does it works the "HTTP 101 Protocols Switching" in a client server communication?

I'm developing a web site that is served by the web server NGINX installed on a Linux platform. One of the service provided by the web site is base on a WebSocket backend server. To be more specific ...
frankfalse's user avatar
0 votes
0 answers
88 views

Ubuntu VPS in sleep mode/standby?

Exactly the same as this thread. Any ideas? I currently have a problem with my VPS (ubuntu 14.04.4). When I access it after hours the first time again via HTTP or SSH it takes a few seconds until it ...
Jamie's user avatar
  • 1
1 vote
1 answer
120 views

Ubuntu Server 22.04.01: Maldet, Successful login instantly closes, via SSH + directly

Problem: I ran a maldet scan and got a few hits, and now after rebooting, I cannot log in via SSH into my Ubuntu Server. That is, using the normal ssh login succeeds then instantly closes out. I ...
vegapunk's user avatar
0 votes
0 answers
44 views

How to configure Apache for Authentication

i've got a Netgear Readynas 212 and I'm trying to set up a directory isting for a share. Shares are located in /data/, where /data/share/ is the folder supposed to be listed. On the NAS initial Share ...
BlackArch.py's user avatar
0 votes
1 answer
37 views

Manage Bandwidth on a per client basis

I have a webservice where people can download large files (think ISOs). Now since there is usually more than 1 person downloading, I would like a way to manage the share the of the total bandwidth a ...
user2741831's user avatar
0 votes
0 answers
48 views

Determine dimensions of GIF image

How can I determine the image dimensions I need to use on my site at http://orcacomputers.com? I want to ensure I get the correct image dimensions for a file named patten.gif. I have an Apache error ...
powerhousemethod's user avatar
1 vote
0 answers
173 views

Turn a script do while to a systemctl service to intercept a tcp connection state

I made a little script that refresh browser, when web-server is down and connection is lost, with an infinite loop do/while true. I want to turn it in a service for a better and clean solution. The ...
Alessandro's user avatar
0 votes
0 answers
37 views

How to find out if the webpage loads slow because of a slow server?

A web-development company made us a website on Wordpress. The website runs really really slow on our server. They say that our server is slow. We say that their code is not optimized. How to probe or ...
Bostjan's user avatar
-2 votes
1 answer
129 views

Impossible to create an email address from the postfix admin

Good morning, I am doing a year-end project which consists in creating a postfix mail server, I arrived at the creation of emails except that when I want to create an impossble mail addendum I have ...
LucasGr12's user avatar
1 vote
1 answer
721 views

Second reverse proxy subdomain gives me weird SSL and upstream errors

My current situation is that I have an ubuntu server running docker. In that docker I run NGINX as reverse proxy, this works well for portainer, but when I try to add a second subdomain, with the same ...
Kwekkers123's user avatar
1 vote
1 answer
108 views

The most reliable way of testing XAMPP / Apache httpd performance [closed]

tl;dr What is the best / the most reliable way of testing and comparing performance of XAMPP / Apache server running on different computers and cloud services? If I need a high-level result (just a ...
trejder's user avatar
  • 731
-1 votes
1 answer
708 views

HTML not loading local images in any of my browsers in my system [closed]

Problem In my main desktop system running Arch linux, when I create an HTML file with a tag and an image like so: <img src="imagepath" alt="sometext"> the image does not ...
Yoquec's user avatar
  • 1
0 votes
1 answer
787 views

How to install LAMP stack for Pop!_OS

Is there a way to install the LAMP stack in a similar way to how the Windows WAMP installer works? I have been doing the installation manually. MySQL, PHP then APACHE then PHPMYADMIN is there not ...
Neil Meyer's user avatar
0 votes
0 answers
25 views

No loggin, no Ports except 21

Occasionally the server seems to freeze. But we find out, that FTP on port 21 is still available, while the Ports 80, 8080, 10000, our SSH-Port, which is not 22, and 443 are unavailable. Also the ...
Leander Sukov's user avatar
1 vote
1 answer
41 views

Default requirement for Linux-as-a-server system to have network operability under firewall

I'm new to Linux and more familiar with Windows I describe the situation with the latter so I can ask the proper question in given context. On Windows, if you run the local system firewall in strict ...
Digika's user avatar
  • 13
2 votes
1 answer
837 views

How to stream the linux framebuffer as video over http

I have an embedded linux system (yocto based) with a framebuffer UI (no X11) and a running web server. Now I'm asking how to "mirror" the screen contents to a web page. Think of it like a ...
Philippos's user avatar
  • 13.3k
1 vote
1 answer
297 views

Permission errors backing up entire system using rsnapshot over local server

EDIT: the solution to this problem is the marked solution underneath + enabling PermitRootLogin without-password in /etc/ssh/sshd_config I'm trying to backup my entire system to my local server, but ...
Gisbi's user avatar
  • 23
0 votes
1 answer
1k views

Apache server sometimes gets stuck for minutes with requests getting backlogged and waiting too much to be processed

I've got a production server with Apache 2.4.38 on Debian 10 and sometimes the web server doesn't function properly and doesn't immediately send a response to the HTTP requests it gets (All virtual ...
BitMonster's user avatar
0 votes
1 answer
46 views

analyse webserver execution time

I have 2 VMs which are almost the same, except for hostname and things that shouldn't matter (as far as I know). On these VMs I run nginx/1.14.2 as proxy with an Apache/2.4.38 webserver behind it ...
ulbiopro's user avatar
0 votes
1 answer
888 views

Increase SSH Connection timeout on server side without permissions

My goal is to increase my ssh connection timeout on my server, where I have limited permisssions. I do not have permission to even read /etc/ssh/sshd_config (nor append/write) and I do not have sudo. ...
NiRvanA's user avatar
  • 15

1
2 3 4 5
12