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
2answers
56 views

What folder contents are okay to delete from sda2 /var folder

We have some 30 + websites hosted on a dedicated server . The Server disk partions are /dev/sda2 and dev/sda3 Dev/sda2 has only 20GB space in it and we are frequently running our of space literally ...
1
vote
1answer
18 views

User Creation From Web Server

I'm creating a web app which will allow me to setup shared hosting environments. Everything has to be done programmatically and i'm questioning whether i'm approaching things in a completely insecure ...
-1
votes
0answers
22 views

Tomcat is continues running, but stops responding

We are using aws (4 Core + 16GB RAM) running Ubuntu 16.04.4 LTS (Gnu/Linux) as host 1) Web Server to host our java web application 2) WebSocket server (Provided in Tomcat) 3) TCP server (built ...
0
votes
1answer
16 views

curling ESP8265 status Is:no such file or directory

I'm on OSX Mojave 10.14.6 I'm a trying to flash a newer firmware via OTA on an ESP8265 SoC embedded on a smart switch. I created a network with specific SSID and PSW. The ESP is connected to the ...
0
votes
0answers
20 views

Using htaccess and htaccess file to configure a folder to be accessible via web only by specific user

I do apologize in advance for my dumb question because I am a beginner in Linux and CentOS. How can I use an htaccess file and htpasswd file to configure the new folder to be accessible via the web ...
0
votes
0answers
16 views

Subdirectory frontend to root backend

I’m looking for some help with figuring out the best way to handle routing URLs with subdirectories to applications hosted on the root of a webserver. Say I have URL domainx.com/path1, I want users ...
0
votes
1answer
34 views

How to intercept HTTP request before passing to any web server like APACHE or NGINX?

I would like to send a custom response before any request hit to any web server like APACHE, NGINX or any other. I heard about Content-filtering and Packet-filtering. So I am not looking for the ...
0
votes
3answers
33 views

Command to search in files in different dirs but with similar file extension

newbie question here. I am trying to look after a few linux machines but although they are seem similar, they somehow manage to be so different from one another. So for example a mysql log file on ...
0
votes
1answer
37 views

What is an easy way to create a simple server to forward HTTP requests and return the response from the forwarded address?

I would like to quickly run a simple server locally which can receive an HTTP request, forward it to another http address, and return the response from that other address. I've been trying to figure ...
0
votes
0answers
12 views

Manage MQTT server from web interface

I need to create MQTT server on Internet and allow it to serve for devices I have created. For this reason I need to create web page that will allow to create new user logins for device owners. ...
0
votes
1answer
27 views

Remote webservice over ssh

Want to access remote webserver. The setup is like this: LinuxDesk --> jumpuser@sshserver --> sshuser@webserver Above all of them are linux servers. web service is running on 8080 port. How to ...
0
votes
0answers
17 views

which directory is unsafe for deployment?

I'm going to deploy a Django web-application, with Nginx as the webserver And I wanna deploy it on /opt/ directory. My question is: Which permissions should I set to /opt/ and which I shouldn't. In ...
1
vote
1answer
79 views

make a proxy with two servers

I want to implement a proxy which has two (A and B) servers in the middle. traffic goes from my computer to server B and then to server A and then gets the data. I found that with this configuration ...
1
vote
0answers
19 views

python web application with very different cpu load on two identical virtual machines (Linux)

I have two virtual machines, call them A and B. Both images have Ubuntu 18.04 with kernel 4.15.0-66-generic #75-Ubuntu SMP, x64 arch, 1 core Intel(R) Xeon(R) CPU E5-2660 v2 @ 2.20GHz; A has 2 GB ...
0
votes
1answer
24 views

HAproxy + Varnish Cache configuration

need some help here. I have HAProxy that's load balancing 2 servers. HAProxy - 192.168.1.20:80 Server 1 - 192.168.1.18:80 Server 2 - 192.168.1.19:80 Now I would like to configure Varnish Cache to ...
0
votes
0answers
18 views

cockpit dashboard without login

We have bunch of Linux servers, and currently using cockpit and cockpit dashboard for monitoring the server. Our stack holder states that it would be great if we can provide the cockpit-dashboard to ...
0
votes
1answer
81 views

How to disallow 'cd ..' for a chroot user

I wanted to restrict a user from accessing files (just outside his directory), so I used chroot, and made the restricted directory as his landing directory upon logging in. But, If I do cd .. that ...
0
votes
0answers
10 views

Webserver Request Forwarding

This is a bit of a complicated request. The short of it is, I want to access a website that is generally public, while I am behind a firewall that blocks it. NOTE: the traffic will be almost ...
0
votes
1answer
187 views

Can gzip compress application/octet-stream

Particularly in web, is it possible to compress application/octet-steam, I am serving video files from AWS to a web app and data transfer is very expensive at high scale
0
votes
0answers
19 views

definition: “Transparent Interface”

Ideally, a server provides a standardized transparent interface to clients so that clients need not be aware of the specifics of the system (i.e., the hardware and software) that is providing the ...
0
votes
0answers
8 views

is there an uwsgi api for controling state of emperor's subprocesses?

I'm building an application which should control web app hosting (principally python web apps). I first chosen to use supervisor to control the starting, restarting, and stopping of these different ...
1
vote
0answers
115 views

selinux preventing init_t access to httpd_sys_content_t

I have a systemd service file that runs a script. It is getting blocked by selinux: type=AVC msg=audit(1570329687.437:218): avc: denied { execute } for pid=1079 comm="(index.sh)" name="make_index....
-1
votes
1answer
21 views

Make webserver on vps only accessable to vpn member

I've set up a openvpn server (Port 1194) on my vps that has also a webserver (Port 80 and 443) on it. How can I isolate the webserver from the internet so that only members of my vpn can access it? ...
0
votes
1answer
230 views

What would cause my linux server to throw “too many open files” errors out of nowhere?

My hosting company migrated my server to a newer machine a week or so ago and aside from a small ORDERBY issue on one query, things were running very smoothly. Last night, out of the blue, I started ...
0
votes
2answers
159 views

How secure is 666 as file-permission for a socket-file on web server

As a beginner, I am trying to deploy Flask web app, on a vps server, using Nginx as a reverse proxy and Uwsgi as HTTP server. After creating a socket file in the web-app's root directory, which is ...
0
votes
0answers
45 views

Setting up a server with a NAS using a macbook pro 2011

I am interested in setting up a server using my macbook pro (late 2011 with SSD and 16gb RAM). I have 2 major uses for this system: I want to use the server as a computing environment, ideally to run ...
0
votes
1answer
135 views

iptables ports redirect does not work

I am trying to setup a webserver running on localhost:8082 and redirect port 80 to it. I have done it using the prerouting redirect nat table but it does not seem to work, the packets arrive to the ...
-2
votes
3answers
56 views

Web server in ubuntu [closed]

I am new to linux server development. I want to create a webserver for our college so that it can be accessed by everyone over internet in our android app. Anyone please answer whether i can ...
0
votes
0answers
32 views

Which server name should one use for ServerName apache config?

Which server name should i use for ServerName apache config if i am hosting multiple subdomains on the same host. Trying to get rid of this warning in the /var/log/apache/error.log file AH00558: ...
0
votes
0answers
17 views

How to find out the user ID of the command/request sender when we use any IPC (Inter Process Communication) in PHP?

Currently, We use socket for Inter process communication between two process , the application is written in PHP. Our scenario is, there is a server (server.php) and multiple PHP clients. We want ...
0
votes
1answer
342 views

Install Postfix using Mailutils on Ubuntu 19.04 server for sending out mail only

I followed this tutorial: https://computingforgeeks.com/how-to-install-and-configure-postfix-as-a-send-only-smtp-server-on-ubuntu-18-04-lts/ I'm trying to setup a send only mail from my Ubuntu 19 ...
-1
votes
2answers
130 views

a user per Apache2 website (Debian)

I have very little experience in Gnu/Linux. I am now configuring a VPS (Debian 10), on which I want to create more than one, Apache2, virtual host. All virtual hosts directories will be located in /...
1
vote
0answers
21 views

How to make redirect go to alternate web page if Shift key is being held?

I am trying to make a secret alternate redirect on a web page that redirects to an alternate page when holding down the key, otherwise it redirects to the regular redirect page. Example/Clarification:...
1
vote
0answers
17 views

Hardware ready net-to-old-device solution in linux

I'm not sure how to word my question, but here goes. I have a setup in which a linux PC is supposed to communicate with my custom hardware with the serial port. I installed "Damn Small Linux V4.10" ...
0
votes
0answers
47 views

How to Warm up the Server Cache without using sitemap?

I need to write a script which Warm up the Application Cache with the website Pages when my server restarts so that when a User visits the website, the pages will be served from Cache leading to a ...
0
votes
1answer
322 views

Ubuntu server second network card is disabled

I have a physical server that has two network cards. One of them is on the motherboard (card A) and the other is a new one that I added by myself (card B). this command: lshw -class network show ...
1
vote
0answers
19 views

Access port on server from outside

I got a debian 9 Server where I host a webpage with some applications (owncloud, gitlab, seafile). When trying to access the page from outside I can just call the page itself but when accessing the ...
0
votes
0answers
20 views

How to query Docker nameservers?

When I try to update my Ubuntu 18.04,I encounter problems Err:13 https://get.docker.com/ubuntu docker InRelease ...
0
votes
1answer
38 views

How to host webserver with domain name? [closed]

I bought a domain with Namecheap and want to host the server by myself but with the domain name. How do I do this? Whenever I search on Google I only get useless results telling me things I don't ...
0
votes
0answers
12 views

how to migrate servers on premise in cloud whithout overlapping and changing IP

I'm trying to migrate 100 servers located in two large subnets from premise (192.166.1.0/24 and 192.166.2.0/24) to cloud. the servers have different operating systems (windows server - redhat ...) and ...
1
vote
1answer
32 views

Monitor http server

I want to check the web server health status. If did get http-response in 2 minutes then the server should restart. I am using the below command to check the status - curl -s -w "%{time_total}\n" -o /...
0
votes
2answers
63 views

Node.js and PHP on port 80 on same server

I have a node.js site running on port 8080 of my Linux server. I also have, on the same sarver, a PHP site (bugzilla) running on port 80. So my current configuration is: http://example.com:8080 (node....
0
votes
1answer
36 views

What is better to install to virtualization on ubuntu? [closed]

i have home server and i want virtualize all my hosts (web,radio, tracker, file server etc) to use more then one OS. So for host OS i want install Ubuntu-server on HDD 500gbx2 Raid 1. i want to ...
0
votes
0answers
9 views

Can I create a Eclipse or Intellij project via a weblink?

I'm looking for a way to create a new Eclipse or IntelliJ project via a link or a button on a website. So for example a link where I can pass a pre-defined name for the project and all that stuff. Is ...
0
votes
1answer
53 views

Redirect all non-root routes to index.html on Amazon Linux 2 and Apache

An Amazon Linux 2 instance is using Apache to host an Angular 7 app. The Angular 7 app includes not just index.html, but also several .js files and a subdirectory named assets. What specific ...
0
votes
2answers
1k views

Run Selenium Python script without headless mode on Linux Server

I have a script that I want to run on Linux server That script downloads CSV file from amazon after log in. I have achieved the goal with Chrome web driver (Chromium) using selenium in Python. My ...
-1
votes
2answers
87 views

Client to Client Communication

I need to connect to a Raspberry-pi from an Android, over a long distance (so via the internet). My aim is to switch a controller circuit from a remote location, by using internet and android app. ...
1
vote
1answer
46 views

Multi-jail /var separation

I'm setting up multiple jails in FreeBSD to serve dynamic websites. The host environment has a webserver that dispatches connection based on HTTP Host header, and each jail has a /var/lib/www-db ...
0
votes
1answer
117 views

What is the equivalent of localhost in Debian using nginx?

Every nginx config guide I find is about setting up the server for, say, example.com. But I don't have a domain name, and I want to set up a local DNS, something like localhost in Windows with Apache ...
3
votes
1answer
284 views

How to use asciinema offline?

How can I record and play asciinema screen recordings in a LAN without internet connection? The tool uploads the recordings per default to the asciinema website but I want to keep it local and run ...

1 2 3 4 5 10