Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [webserver]

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

0
votes
0answers
21 views

Background process gets killed in ubuntu 16.04 server

I have a spring boot application and i'm running it as ROOT through this command: mvn spring-boot:run -Drun.jvmArguments="-Xms512m -Xmx1024m" > lms_logs.log 2>&1 & After a few hours ...
4
votes
1answer
60 views

Use rsync to clone one server to another?

I have two Debian 9 servers, server A and Server B. Server A is a LAMP stack server. Server A is slow. Server B is fast. I want to clone server A to server B without shutting down server A. How do ...
-1
votes
1answer
64 views

Can browse to an app at localhost.company.com but that isn't in /etc/hosts; where else could the redirection be?

✗ cat /etc/hosts ## # Host Database # # localhost is used to configure the loopback interface # when the system is booting. Do not change this entry. ## 127.0.0.1 localhost 255.255.255.255 ...
0
votes
0answers
13 views

How to change the MAC address of a Samba share?

The MAC address associated with my samba share is null: # nmblookup -A localhost Looking up status of 127.0.0.1 HOSTNAME <00> - B <ACTIVE> HOSTNAME &...
0
votes
0answers
36 views

Script can not write into dierectory

I have configured apache web server on fedora 29 , perl script that generates web page with current NIC information (state , speed , mac , etc.) and traffic graph. Script generates the web page and ...
-1
votes
4answers
51 views

How to determine which webserver is installed with no information? [closed]

I've recently taken over a project after a developer caused issues with the client. However, due to the lack of documentation (laugh) I have no idea where the website files are stored or what ...
0
votes
1answer
19 views

UFW deny specific port access over HTTPS?

We're running a dev server on some IP and have our API exposed on port 5000 and nginx listening on 80. However, the entire backend will crash when one makes an HTTPS request to port 5000. Thus, I ...
0
votes
1answer
24 views

nc server does not work if launched on startup

I wrote a (ba)sh script to write to a file the content received from a POST method: #!/bin/sh PORT=$1 FILE=$2 while true do echo -e "HTTP/1.1 200 OK\n\n" | ./busybox-armv7l nc -l -p $PORT | tr '[\...
0
votes
1answer
29 views

How large should an LVM snapshot be?

Preface to my Situation and Motivation I am trying to familiarize myself with Ubuntu Server edition as I set up a home server. I am setting up a small virtual network with a hypervisor for ...
0
votes
1answer
30 views

Connection refused to local ffserver

I am unable to send my desktop capture to a localhost ffserver: the connection to the local server is refused. # ffserver >/dev/null 2>&1 & # ffmpeg -video_size 1600x900 -framerate 20 -...
1
vote
0answers
37 views

A simple utility to backup of both database (MySQL) and document root into one file

In Ubuntu-LAMP with Bash I host a few personal websites. All websites are under document root (/var/www/html). This is how I currently create immediate backups on maximally-self-managed cloud ...
-1
votes
1answer
128 views

Missing /var/www directory

I created an CentOS 7 EC2 instance on AWS and installed nginx as my web server. However unlike Apache, it has not created a /var/www folder and instead created /usr/share/nginx/html. I'd prefer to ...
1
vote
0answers
163 views

sed: couldn't write n items to stdout: Broken pipe. What are these errors? [closed]

I have a bash script which executes a php code and sleeps for 60 seconds and repeat same thing again The php code does some json parsing and run bash scripts with shell_exec I know bash inside ...
0
votes
0answers
62 views

How to set up the directory of an anonymous vsftpd server

I have set up a vsftp server with anonymous access. vsftpd.conf contains the following: anon_root=/var/www/ftp/ secure_chroot_dir=/var/www/ftp local_root=/var/www/ftp After login in as anonymous, ...
0
votes
1answer
30 views

Using Docker Webmin Guest to administer Host

I'm running a Raspberry pi with HypriotOS. I want to be able to administer simple tasks via a GUI internal and remotely( mostly directory/ file sharing related) . I have docker installed and also a ...
1
vote
0answers
48 views

How to setup qemu networking for web app server on guest?

I am trying to setup a simple test system emulated under qemu. Problem is I seem unable to connect to web applications using the standard command line because applications usually listen to a well ...
0
votes
0answers
25 views

How to install Parse Server on CentOS Server?

I've got a server: CentOS 7.5, Intel i7, 16GB RAM, 120GB SSD Is it possible to run Parse Server on it? If so how can I install it from WHM & Cpanel? I searched about it. But most of the articles ...
1
vote
0answers
295 views

Subdomain of localhost is not working. Apache 2.4.25 (Debian) Server at subdomain.localhost Port 80

Apache 2.4.25 (Debian) Server at Port 80: Subdomain of localhost is not working localhost is working. localhost/site1 is also working. site1.localhost is not working Changed DocumentRoot from /var/...
0
votes
2answers
53 views

web browsing from unix and it's automation [closed]

I wanted to know about the scope of web browsing through unix . I went through the following questions : Is there a way to use curl interactively? Or is there an interactive curl/wget shell? ...
0
votes
2answers
46 views

iptables allow everything, is it safe?

The os is Ubuntu Server 18 and I am running a web server on it. Is it safe to accept all traffic on all ports? iptables -P INPUT ACCEPT iptables -P FORWARD ACCEPT iptables -P OUTPUT ACCEPT I tried ...
1
vote
1answer
60 views

find command of nobody runs on every fresh boot in the morning - debian stretch

Folks, find executed by nobody runs automatically on every fresh boot (in the morning when I boot the system). I guess it is to do with updatedb. How can I confirm my assumption and stop this from ...
0
votes
0answers
9 views

Mapping of urls on linux

I am having trouble figuring out which urls of the running OpenCPU correspond to which folders on the server: https://www.opencpu.org/api.html#api-endpoints I think it is using apache for it, but I ...
0
votes
0answers
71 views

OpenBSD relay, https proxy for multiple domains

I'm trying to make a proxy for 3 web servers (running on the same machine as the proxy). A have successfully configured relayd to redirect a request to correct port by their host header, but I cannot ...
1
vote
1answer
131 views

Error on Setup nginx to multiples ReactJS app on the same server?

I'm building an solution with multiple modules. Each module is a ReactJs app, and i trying config nginx to publish it on the same domain. For examples: http://application-domain/auth http://...
0
votes
1answer
33 views

Need script for Ubuntu reset? Random server crashes, 3 different servers, all at the same time? [closed]

I manage a number of websites for a bunch of clients. I use Vultr.com $5 plan 1 CPU 1 GB Virtualmin Basic websites with infrequent use. Although it does look like I got a lot of visits from bots. ...
1
vote
1answer
32 views

WebSocket Protocol stumper [closed]

I am writing an embedded WebSocket server and working directly from the relevant RFC. My server responds properly to the upgrade request from the browser and the browser, in its example javascript, ...
-1
votes
1answer
30 views

Does Winscp have a local file on my pc I can reference from my web server? [closed]

I've been using Winscp to transfer files back and forth, but for certain applications it would just be a lot simpler if I just had a "file" I could reference for the app to my web server without ...
1
vote
1answer
54 views

writing small web service for embedded device based on debian [closed]

We are developing embedded device which will integrate with some of our services in future. This device have limited set of functionalities and user defined mods for particular use cases. Based on arm ...
0
votes
1answer
14 views

Securing my Web Server with NAS

I have been researching about the security threats to a web server. It makes me want to secure my own on my Raspbian OS system. What are the list of things that are recommended or optional to install ...
0
votes
1answer
13 views

Apache open custom page depending on ip

I have a apache. There is a config file: <VirtualHost 0.0.0.0:80> DocumentRoot /var/www/html LogFormat "%{X-Forwarded-For}i %b %{%d/%m/%y}t" bandwidth ErrorLog /var/log/...
1
vote
0answers
348 views

NGINX does not seem to redirect correctly and gives me a 404 error

I have a mern application where the front-end seems to be working fine while the back-end does not work at all. The back-end should work on 127.0.0.1:3000/api but given the following error message it ...
1
vote
2answers
51 views

Why can't I connect to mysql via the browser but via the terminal with php?

I would like to display a MySQL table in the browser with PHP and created the file demo-db.php <!DOCTYPE html> <html> <body> <?php $servername = "localhost"; $username = "...
0
votes
0answers
13 views

git on cpanel pitfalls

A remote server running cpanel and wordpress has some out of date plugins. Can I grab the content and just download it? Something like: https://wordpress.org/plugins/wp-git-deploy/ will that ...
0
votes
1answer
68 views

How to setup a domain name for my website hosted on ubuntu?

I have created a django website and instead purchasing a hosting service, i have hosted the website on my own PC having public IP. Hence now i can access my website through my IP address. Next step ...
1
vote
0answers
399 views

Apache mod-security gives “Loaded PCRE do not match with compiled!”

I've got a webserver installed with Apache and PHP with mod-security. The problem is that mod-security seems to be incompatible with the PHP installation. I get the following result in the apache ...
0
votes
0answers
146 views

Caddy server only listening on port 2015

I just noticed my website wasn't serving anymore, so I went to investigate. There's nothing in the logs that indicates anything is wrong, and yet the server is not responding to requests on any of my ...
1
vote
1answer
32 views

I can't access my website using tomcat

I'm trying to create my own website using JSP, Tomcat... I'm trying to install Tomcat in Ubuntu (in my Cloud Instance) but I can't access my website. I trying to install Tomcat 9 and I'm using ...
0
votes
0answers
53 views

Best practice with symlinks, localhost wiki

What I think I want to do is to use a symlink so that I can diddle the innards of a Dokuwiki website I have hosted on localhost: The website is installed and seems to be working well on /var/www/html/...
0
votes
0answers
38 views

setting proxy network setting on embedded linux

How can I make proxy settings in my embedded linux board to give intervet access to that board? Board: Zynq702 os: kernel 4.9 (petalinux)
3
votes
1answer
3k views

What are the correct permissions for a systemd .service?

I need to create a service for a web server called daphne I would like to know what are the correct linux permissions for this. or if exists a general rule for whatever systemd service?
0
votes
0answers
100 views

Installing cPanel on a load-balanced environment?

I have a cluster set up on AWS Ubuntu under 2 load balancers. Is there a way to install cPanel on the servers so that it will still work under the load balancer? I know cPanel doesn't currently have ...
0
votes
1answer
232 views

vsftpd files readable by www-data

How do I setup vsftp so that I could have folder where I upload files and those files are readable by www-data? I have created ftp folder at /var/www/test. Made a user and added it to www-data group ...
2
votes
2answers
2k views

Why isn't Android's Captive Portal detection triggering a browser window?

I have a Raspberry Pi that is hosting a simple website using nginx. The RPi is acting as a Wireless Access Point - users can connect to its wireless network, the RPi gives them an IP (it runs a DHCP ...
0
votes
1answer
88 views

What should I do to run CloudLinux on DigitalOcean?

I used CentOS as a DO Droplet platform. Now I want to use CloudLinux. As it turned out, DO currently doesn't support custom kernels, so how to do it? How to configure WHM?
0
votes
1answer
57 views

add a header to incoming http request in a server

I have a ubuntu 16.04 server. It runs nginx webserver for the frontend part. Also the backend application runs in the same server. Now the requirement is to add header to incoming http requests. And ...
0
votes
0answers
25 views

lighttpd configuration - adding another application under the HTTPS section

Background: On our webserver, we currently have two applications - one is accessible via https (called webapp1 for our discussion), and another that's currently accessed via http - called widgets. I ...
0
votes
1answer
325 views

Ubuntu Linux set default folder permissions for specific directory?

My web server is running on Ubuntu Linux. The user www-data is able to create directories inside the /data/ directory but the permissions on a newly created directory is 345. How can I make the ...
0
votes
2answers
40 views

open source logs analyzing and collector [closed]

I have a lot of Linux servers which working as web servers I am searching for an opensource software for log analyzing and collecting all server logs such as web access, web errors for each site also ...
0
votes
0answers
26 views

Using unix accounts for nginx password protected directory

So I have a web-server running nginx on Debian 9. I have a private directory and my .htpasswd file configured with some usernames and passwords, but I'd like to use the unix accounts on the server ...
0
votes
3answers
705 views

NGINX Redirect to Domain Name spoofed locally with DNSMasq

I have a Linux VPS serving data on the internet that has a legitimate Domain name and SSL Certificate ( from GoDaddy.com ). I will refere to this server as "www.myserver.com". I also have a local ...