Questions tagged [web-server]

Refers to the software or hardware that make up a webserver, delivering content on a private or public website.

3296 questions
15
votes
4 answers

Free open source alternative to pingdom?

is there an open source alternative to pingdom for simple monitoring of uptime that I can host myself? Should report responsetime and latency for web servers with alert of downtime. I'm looking for something simple to setup so Nagios, zabbix, munin…
grm
  • 425
  • 2
  • 4
  • 10
14
votes
16 answers

Suggest a lightning fast, feature-light, secure Linux web server to serve static content

The list of must-have requirements: be able to serve static HTML pages and files (images, compressed archives, ASCII text files etc) over HTTP. be Resource conservative. It uses what's needed to send data over the network in form of memory and CPU,…
Deleted
  • 1,832
  • 8
  • 23
  • 31
14
votes
4 answers

Install an antivirus on a web server, is this a good idea?

I just got a dedicated server with Windows 2008 Standard Edition and am trying to do the necessary configuration to run my web app on it. Was wondering, is it a good idea to install an antivirus on the web server? In the app, users can't upload any…
Mee
  • 845
  • 5
  • 15
  • 24
14
votes
6 answers

What purpose does an empty gif (1x1 pix) file serve?

I've seen a few random pages mention using empty gif images to somehow increase performance. I've also found the nginx has a module for just this purpose. What I can't figure out, is exactly how serving this small file is supposed to boost…
Sean
  • 243
  • 1
  • 2
  • 6
14
votes
3 answers

How to share domain name with multiple servers?

I have a website on shared hosting and would like to setup another host (semi-dedicated server) and use the same domain name as the shared hosting. Is it possible to have two separate servers share the same domain name? If so, how? Thanks!
chobo
  • 309
  • 2
  • 3
  • 6
14
votes
5 answers

Should Windows Web Servers be members of an Active Directory Domain

In terms of security and manageability - What is best practice? Should web servers Be added to and managed from an Active Directory domain or Be part of a 'web server' workgroup that is separate from the 'resource server' active…
David Christiansen
  • 325
  • 1
  • 2
  • 10
14
votes
2 answers

How to detect in PHP, if it is running on Apache, Nginx or some other webserver?

First I know this variable : _SERVER["SERVER_SOFTWARE"] In one of my application, I want to check from PHP script which webserver it is running on. Basically it will be a wordpress plugin which will help Bloggers tweak some configure. I have created…
rahul286
  • 1,647
  • 5
  • 20
  • 25
14
votes
3 answers

Where should the web server root directory go in linux?

I see that Apache and Nginx both use var/www as their web root - but that directory is not covered in the Filesystem Hierarchy Standard. I also see some servers with the web root in the /home/username/www directory. So where does the web root go? Or…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56
13
votes
1 answer

Location directive not working

For my NGINX server I have a virtual server set up just to dish out static content. At the moment I'm trying to set it up so that images have an expiry date. However, when I create a location directive for this, everything just results in a 404. My…
Jesse Brands
  • 233
  • 1
  • 2
  • 8
13
votes
4 answers

How to play traffic against a shadow network?

Sorry if this is a newb question... I've heard stories of Netflix and Twitter being able to duplicate web traffic amongst two separate infrastructures: one is the authoritative/trusted one that goes back to the user; and the other is a 'shadow' or…
Nelz
  • 141
  • 5
13
votes
2 answers

Make apachebench(ab) send HTTP1.1 request?

I'm trying to use ab to test my webserver, but it only supports HTTP/1.1 (reject requests that have HTTP/1.0 in the first line). The -k switch only adds a header with connection: keep-alive. Is it possible to make ab send HTTP/1.1 request?
Wei Shi
  • 233
  • 1
  • 2
  • 6
13
votes
11 answers

Chinese Hacker-Bots attempting to exploit our systems 24/7

Our sites our constantly under attack from bots with IP addresses resolving to China, attempting to exploit our systems. While their attacks are proving unsuccessful, they are a constant drain on our servers resources. A sample of the attacks would…
George
  • 293
  • 3
  • 11
13
votes
2 answers

/etc/hosts , /etc/sysconfig/network and hostname?

I need to do the hostname changes on a centos server which will serve www.myserver.com What do I need to do in /etc/hosts, /etc/sysconfig/network and with the hostname command? In /etc/sysconfig/network do I need to write this…
benjisail
  • 1,331
  • 5
  • 19
  • 32
12
votes
1 answer

Benefits to having a sole email VPS server

I have around 5 websites hosted in a VPS server, and for some reason I bought another VPS server recently just to host the emails for those 5 websites. I would like to know the pros and cons of having a separate email server isolated from its web…
samayo
  • 277
  • 3
  • 5
  • 17
12
votes
1 answer

I have 23 Web Servers - I need to wipe all the servers - without loss of service on any sites hosted across them

Okay so it's a challenge and I'm having trouble planning it mostly due to lack of experience. However it's become a task in my job and I'm doing it mostly solo with an extra hand. I'm comfortable with Linux and all these servers are Debian or…
Mud
  • 133
  • 7