Stack Exchange Network

Stack Exchange network consists of 175 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
15 views

Log python http server output to file

I want to start a python webserver in the background and log all of its output to file. Instead the the servers output appears in the terminal. Even tho i guess this is pretty basic ... I've got no ...
0
votes
0answers
22 views

Backup configuration for Ubuntu Server

How can I make a restore point for a Ubuntu Server 18.04? I have a clean install of the Ubuntu Server OS and before installing any Web Server I want to perform a backup and if something goes wrong ...
0
votes
1answer
27 views

How can I use TLS on a local apache development server (on localhost) [duplicate]

I am trying to set up a development environment that mirrors my live server, but behind the firewall. Until fairly recently my shared hosting site didn't offer TLS/SSL so it wasn't an issue/option, ...
0
votes
0answers
21 views

execute scp command as wwwrun

i would like to copy files using scp with ssh-keys after a php script is run in a browser. So the user executing the scp command is wwwrun.
2
votes
1answer
32 views

How can I give a Linux FTP server a domain name?

I have a computer running Arch Linux headless with SSH server and proftpd server. It's for a personal use. But it's a bit annoying to run the IP address every-time to connect to it. Can I give it a ...
0
votes
1answer
43 views

Disabled nginx service, But the IP is still accessible

I have disabled nginx.service and have restarted my Ubuntu 18.04. $ systemctl list-unit-files | grep ngin nginx.service disabled $ systemctl is-active nginx.service inactive But ...
0
votes
0answers
7 views

Milter for Sendmail not sending data over socket - very little documentation, any ideas?

I have configured Milter for sendmail on a virtual machine. I can send an email in my test environment, it is currently accepted by Sendmail and relayed to my exchange server (including when I enable ...
1
vote
1answer
28 views

Web Server access via second interface

I’m trying to access a Web Service (port 8080) on my Raspberry Pi via both of the following interfaces (which have static IPs): Ethernet (eth0, 172.22.0.99, connected to a Netgear router). Wi-Fi (...
0
votes
1answer
88 views

The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sources

I am planing on hosting my laravel application on my RaspberryPi that's connected locally. I have my DynDns domain setup and everything. Now i just need to get PHP7.2 on my raspberry and from what i'...
0
votes
0answers
33 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
114 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
67 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
16 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
37 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
58 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
20 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
27 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
69 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
92 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
39 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
369 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
343 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
171 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
79 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
72 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 ...
1
vote
0answers
470 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
93 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
101 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
77 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 ...
3
votes
1answer
138 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
283 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
34 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
31 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
59 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
15 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
429 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
55 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
72 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
502 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
183 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
33 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
68 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
41 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)
4
votes
1answer
4k 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
1answer
133 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
310 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 ...