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

learn more… | top users | synonyms

2
votes
0answers
23 views

Ubuntu and web server permissions

I am going to ask a question that has already been posted many times but even though I have read many guides and posts, I still have doubts. I have a server with ubuntu 14.04 on which I have a user ...
1
vote
1answer
23 views

login with apache user

I'm following this tutorial step by step,for Here we clone the repo into a chmodded /var/www/[site_dir] folder. Note that we switch to the www-data user before running the git clone command. ...
1
vote
1answer
34 views

Is granting write-only permission on log files to certain users a good practice?

Will it be safe to enable logging into a write-only log file on a production server? I imagine, that this would protect the log file from unwanted eyes. Are there any drawbacks of using this technique?...
-1
votes
2answers
52 views

How can I see the number of visitors in my website via CLI

How can I find out the number of visitors in real time in my website? I'd like to access to it via SSH, so it should be some CLI programs. In the worst case scenario I was thinking to analyse the ...
0
votes
0answers
12 views

Cannot start GlassFish 4.0 on RedHat 5.11

I successfully installed Java jdk1.7.0_79 and NetBeans 4.0 on my server Red Hat 5.11 Server with these instructions I run GlassFish using the command: [root@lts5srv1 bin]# ./asadmin start-domain ...
0
votes
1answer
62 views

How could I know my server's operating system? [duplicate]

I’m connected to my shared hosting server via ssh, and all I know is that it’s under Linux. I tried commands like: cat /etc/issue/ and lsb_release -a but got: $ cat /etc/issue/ No such file or ...
1
vote
0answers
12 views

MOD_PROXY with Squid

I am not entirely sure how to ask this question so it may have been discussed before. Attached below is an image of my image server setup. Here is how it works: A User visits my real estate website ...
2
votes
0answers
38 views

Virtual Machine failover with KVM [closed]

I'm trying failover of VM's in KVM Linux as a learning program. Scenario: 2 HV Bare metal (2 physical servers) having CentOS with KVM. On both the HV there are multiple web-server with guest ...
0
votes
5answers
53 views

find IP and PORT in use by Apache

How can I find which IP:PORT Apache web server is monitoring? There are some network commands, but they show the TCP port in use. The machine has multiple network interfaces and the Listen section in ...
1
vote
0answers
29 views

Port netcat request info to bash script

I have this super simple TCP server that takes requests and returns the output of handler.sh: #!/bin/bash while true ; do nc -l -p 1234 -e handler.sh; done I'd like to port the requested path to ...
0
votes
1answer
37 views

Shell to do action, when someone visited my webpage [closed]

Can someone make a script that beeps or does some action when a user visits my webpage (apache2)?
0
votes
0answers
54 views

Setting up 12X2TB Centos Storage Server

I'm having some issues setting up a storage server for an image hosting website. I used to order smaller servers but this time I decided to order a large storage server. I had the data center set-up ...
0
votes
0answers
52 views

Serve ASP.NET Webforms content on Ubuntu 16.04 from 2 different root directories using one XSP4 child process?

We would like to serve ASP.NET Webforms content on Ubuntu 16.04 from 2 different root directories using one XSP4 child process. In /etc/mono-server4, I created debian.webapp specifying root ...
0
votes
1answer
47 views

SSH connect to HOSTNAME port 22: Connection timed out

Using the "SSH Shell Access" in my Cpanel I have added my public and private key in the import key section and I also have authorised them. But I am getting this "Connection timed out" error on port ...
0
votes
1answer
57 views

How do I find the version of JQuery that is installed on a Linux web server?

All the methods I found on the Internet involved using a .jsp page and a web browser. I have Linux servers with no GUI desktops. I do not want to use the web browser on a desktop to view a .jsp ...
0
votes
0answers
34 views

How to install libav on Linux 14.04 Server?

I have setup a webserver with ubuntu 14.04 now I have to install Libav via SSH commands. Can you please help me with those commands? And Please do let me know how to I check that its properly ...
1
vote
0answers
21 views

Push same webserver config to multiple front ends

We are using a load balancer for our web servers (3 debian clones). I was wondering if it was possible to push the same config onto the three web servers and restart each instance all in one shot so ...
1
vote
0answers
41 views

Static ip definition for wlan0 not working

I am setting up a web server on my raspberry pi. I want to connect it to my router via ethernet (static ip) but if the ethernet is disconnected I want it to automatically start using the wifi (static ...
-1
votes
1answer
43 views

Debian, ftp user with access to /var/www

I want to have ftp user who have only access to /var/www and work on all of files, but the problems arise when I give permission to /var/www, exactly chown. I try with chgrp but then I cannot edit ...
1
vote
1answer
22 views

Multiple website on a single droplet with no Apache/Nginx

I have a single droplet at Digital Ocean and I host my website there. It's a standalone application with a built-in webserver. I want to host another website on that droplet as well. It'll also be ...
0
votes
1answer
48 views

Rental server refuses SSH connection; won't allow authorise me to download my SSH key

I am attempting to connect to my rental server via ssh to install MemSQL for a project. I have written the following in ~/.ssh/config: HOST eHosts HostName e9.ehosts.com Port 2222 User orderof3 But ...
1
vote
0answers
34 views

Running web server without root access

Excuse the probably simple question, I don't know much about running web servers. I' am trying to run some software on a compute cluster I have access to on my school campus (so I don't have root ...
1
vote
0answers
62 views

Why my server cannot serve more than 400 concurrent connections

I have an Ubuntu 14.04 LTS, kernel 3.13 in a Intel Xeon + 8Gb box. It has apache 2.4.7 configured in mpm worker with up to 4000 workers. The max bandwidth allowed by the ISP is 100Mbps. If I test ...
0
votes
1answer
26 views

Where should I put a standalone web app which doesn't require an external web server?

I have a stand-alone web app, it's an executable file. At this point it doesn't require nginx or apache in front of it because it has a built-in webserver. Where should I put it on a server? In the ...
0
votes
2answers
42 views

Website is active but domain name not showing on WhoIs lookup from Linux command-line

I am trying to lookup the WhoIs entry for the following domain: anorien.csc.warwick.ac.uk However, while typing the URL directly into the browser displays a web-page, when I type: whois anorien.csc....
0
votes
3answers
52 views

How to run an executable file (web app) 24/7 and restart automatically when it breaks down? [closed]

I have an executable file on a server which is a full-fledged standalone web application. When I login to a server via ssh and run the file, the website become visible in the internet. Obviously, ...
1
vote
0answers
30 views

Ubuntu VPS in sleep mode / standby?

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 reacts, sometimes it is even too long, so it ...
0
votes
0answers
105 views

how to Install oracle 12 on Debian jessie server

I want to install Oracle version12 on a server Debian Jessie but I can't find any tutorial or the commands to follow. How can I install it?
4
votes
1answer
85 views

OpenBSD httpd.conf conditionals

Note: this question is about the built-in OpenBSD http server named httpd and its configuration. It does not apply to any other web servers. Is it possible to make runtime conditional configurations ...
0
votes
1answer
30 views

When enter http://my_server_IP_address don't see Apache HTTP server default page

I just launch a VPS instance use CentOS 7 x64. I follow this tutorial for installing Apache HTTP Server sudo yum install httpd sudo systemctl start httpd.service but when I use my browser (at ...
0
votes
2answers
31 views

Automatic block threshold ips on linux server

What is recommended way to auto temporary block the IP addresses that have excessive hits on my Linux Server? Let's say I have IP addresses that have 6154 hits per day and I want to auto block such ...
0
votes
2answers
39 views

XMPP domain issues (prosody)

I'm running an XMPP server on a raspberry pi on my home lan. I have a domain registered to point at my router's external ip and the ports are forwarded on my router. However, I can't use the external ...
1
vote
0answers
69 views

Fedora 23 Server 64-bit install fails to complete on virtual machine in Windows 10

While attempting to install Fedora SERVER from an iso: Fedora-Server-netinst-x86_64-23.iso the installation stalls completely on Creating ext4 on /dev/sda1. I am using VMware Workstation 12 Player ...
0
votes
0answers
47 views

Fresh Install of OpenVPN Access Server Connection Refused

I have a fresh install of Debian Lamp server, everything works perfectly (Web server, mysql etc). Note: Before I proceed with OpenVPN installation I took a snapshot of my server. Then I wget the ...
0
votes
1answer
41 views

Backup mysql database via sftp

I have recently messed up my debian server and I have only sftp access for my files. I rescue almost everything except of my database. I have no longer direct ssh access, other than in rescue mode, ...
0
votes
0answers
38 views

How to make a text file readable for only a local PHP file on server — not to everyone on web?

I have a PHP script that takes some sensitive data, hashes it, and then compares it against hashes in a text file on the server. Both the text file containing hashes and the PHP script are located in ...
1
vote
1answer
60 views

ELI5: Setting up a server that can host multiple websites [closed]

I would like to set up a server. this is just for practice. I don't know how to set up a server that can host multiple sites. does 1 websites equivalent to a 1 pc or server? for example. I had a 1 pc ...
0
votes
0answers
8 views

apt-get/yum install “wwwserverhere” - with automatic letsencrypt.org?

Is there any "apt-get install wwwserver" or "yum install wwwserver" that by default uses letsencrypt.org and automatically only servers sites via HTTPS, redirecting from http? It would largely help ...
0
votes
0answers
55 views

Multiple Ubuntu Server Backups

I am soon to be dealing with multiple Ubuntu 14.04 Server Installations, none of which I will have physical access to. Some will be Digital Ocean Droplets, and some Mini-Server builds. I will have ...
0
votes
0answers
14 views

Granting access to web deployment directories to a number of users [duplicate]

I have a webserver with a web deployment directory on /var/www. The file and directories are set up with apache:www as owner and group and the permissions are 664 and 775 respectively. Whenever ...
0
votes
1answer
30 views

Domain forwarding/masking

We have to redirect/forward all HTTP(S) requests from one web server A to a web server B (which will show the downtime info) only if the server A is not accessible. Can we use DNS forwarding for this ...
0
votes
1answer
62 views

rsync complication on sync

We have 2 Web Server node Primary and secondary, if the primary is down by any reason secondary will act as Prim. Now if we talk about the codes we which is on both the host. we should be ...
1
vote
0answers
60 views

make ACL to work perfectly

I know there are plenty of questions and answers about ACL and permissions, but to be honest they are so weak to make any coherent understanding! it's just like a mix of unorganized information. Hope ...
1
vote
1answer
110 views

iptables rule explanation

I was looking to update iptables in our webserver which would prevent DoS attack to an extent. 1) Related to web traffic, below are the iptables rules i found. iptables -I INPUT -p tcp --dport 80 -...
0
votes
1answer
30 views

What simple web server script will accept text on a LAN?

I want to dump iphone notes (text) to my Linux box, but don't want to route the data through the Internet. I can get a LAN IP via WiFi on the iphone and the LAN is firewalled, so I should be able to ...
3
votes
2answers
96 views

Give /var/www files access to www-data and my user?

Any folder than I want my php code to be able to save in or any file I want it to be able to modify has to be owned by www-data. This is annoying because everything I create or want to edit without ...
1
vote
1answer
69 views

How do I upgrade PHP on CentOS 6.7 for CiviCRM 4.7 / WordPress?

Is there any kind of "official" repo for upgrading PHP beyond the stock PHP 5.3.3 found in CentOS 6.7? I'm trying to utilize the SCL repo's, but finding all sorts of peculiarities that seem to point ...
0
votes
0answers
38 views

Some Issues on External IP Port Forwarding in Django Server

I want to run a home server. I managed to make my local IP address static, then created port-forwarding as below (which is enabled): However, when I make it on 80, it forwards to modem management ...
0
votes
2answers
234 views

Installing ownCloud with NGINX and SQLite

I have a distro based on Debian Jessie running on an ARM device. How can I install a simple, secure ownCloud 8.2.2 installation that uses NGINX and SQLite without installing Apache and MySQL? Many ...
2
votes
0answers
48 views

SSH/web servers in Linux containers improve security?

Scenario: A 'gateway' machine functioning as a router and firewall, connecting a small LAN to the internet. The machine also runs a webserver (hosting a simple website) and an SSH server, providing (...