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

learn more… | top users | synonyms (1)

54
votes
3answers
11k views

How do you do load testing and capacity planning for web sites?

This is a canonical question about capacity planning for web sites. Related: Can you help me with my capacity planning? How do you do Load Testing and Capacity Planning for ...
99
votes
4answers
74k views

What permissions should my website files/folders have on a Linux webserver?

This is a Canonical Question about File Permissions on a Linux web server. I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. ...
18
votes
7answers
13k views

How to use DNS/Hostnames or Other ways to resolve to a specific IP:Port

This is a Canonical Question about DNS/Hostnames resolution to IPs/Ports Example 1 I'm running a web server on port 80 and another on port 87. I would like to use DNS so that www.example.com ...
10
votes
2answers
3k views

Sharing Domain name between domain controller and webserver

In our network the name of the network domain is also the domain of the organisation's website (say, example.com). Externally people can enter example.com to visit our website but internally this ...
25
votes
13answers
3k views

Server Hosting from your House - $200 to $300 per month range

I'm a developer lacking some infrastructure knowledge. What is the fattest pipe I can get to my house in the $200 to $300 range? I'd like to host a few servers at my house. Then if my company gets ...
5
votes
13answers
2k views

What are the Benefits of Server Hardware? [closed]

What are the benefits of using Server Hardware versus just placing server software on top of Desktop Hardware? I've been running a small time webserver for a couple of websites, a blog and a ...
13
votes
1answer
5k views

deleting linux cached ram [duplicate]

I have a webserver that has 8GB of ram and is running a pretty intensive php site (1 site) that does file manipulation, graphing, emailing, forums, you name it. The environment is far from static ...
2
votes
1answer
1k views

How much free memory should I have on my webserver? [duplicate]

I have a webserver that's currently hosting two Wordpress sites and some java-based collaboration software. The server has 2G of memory and is currently using about 1.8G of the available memory. ...
2
votes
3answers
797 views

Can I have web server on a home network with 1 public IP address? [closed]

I've got a fairly standard home network with a modem from my ISP, which is connected to a router which then provides NAT to about 3 PCs and laptops. There's a possibility to obtain one public IP from ...
27
votes
6answers
17k views

How to best defend against a “slowloris” DOS attack against an Apache web server?

Recently a script called "slowloris" has gained attention. The basic concept of what slowloris does is not a new attack but given the recent attention I have seen a small increase in attacks against ...
18
votes
6answers
17k views

Why would a server not send a SYN/ACK packet in response to a SYN packet

Lately, we've become aware of a TCP connection issue that is mostly limited to mac and Linux users who browse our websites. From the user perspective, it presents itself as a really long connection ...
10
votes
4answers
32k views

How can I see what version of SSL a web server is currently using?

I believe I have disabled SSL 2.0 on my web server (Windows Server 2003). To make sure that it is now using SSL 3.0, how can I check this? What is the correct way to disable 2.0 and enable 3.0 on a ...
5
votes
3answers
4k views

What are these weird access requests?

I using WAMPServer on my computer for testing and development. I forgot and left it online for a few days and I notice a bunch of random requests that aren't even from my IP. Here are some examples. ...
3
votes
2answers
790 views

Is there a big difference between CentOS 6.4 to 6.2 and should I up/down-grade?

We have two separate managed web servers. One is running CentOS 6.2 and is used as a production environment for a number of sites. The second one runs CentOS 6.4, and hosts some internal applications, ...
27
votes
9answers
28k views

How to reduce memory usage on a Unix webserver

I'm currently using a Joyent Accelerator to host my webapps, and it's working fine, however I need to reduce costs so I'm downgrading my current plan and that imposes some new memory limits (256M rss, ...
13
votes
3answers
12k views

When to turn TCP SACK off?

I've been looking at Linux tuning params and see some configs where SACK is turned off. Can anyone explain this? This would be tuning for a busy web server.
14
votes
2answers
813 views

how do i perform root actions from non-root account?

I want to be able to restart services from a php-script. running under the www-user account. What's the preferred way to perform these actions? I recon I can place create a file with que'd commands, ...
9
votes
2answers
689 views

/home/vhosts/ or /var/www/

Some web servers I've come across use /home to store the site files: /home/vhosts/www.example.com/ Others use /var like: /var/www/www.example.com/ What's more clean and "Linuxy"? Should we all ...
6
votes
6answers
14k views

What about Windows 7 as a web server?

We have to replace our server (2003-based), and we was thinking that it's time to switch to Windows 2008 r2. Then i saw this: http://technet.microsoft.com/en-us/library/cc753473.aspx We only need ...
27
votes
5answers
2k views

Linux hardening - web servers

What are your checklist/routine when setting up a Linux web server? What do you recommend to achieve maximum security? Is there any preferred way to perform repeated maintenance?
28
votes
8answers
3k views

Securing PHP webservers

PHP applications have a reputation for higher than average security problems. What configuration techniques do you use for making sure the application is secure as possible? I'm looking for ideas ...
16
votes
4answers
22k views

number of nginx worker processes

I'm setting up nginx to serve a Drupal install, and I seem to find conflicting information on the nginx worker processes setting. One site says you need two, one says you need five, one says one per ...
26
votes
7answers
10k views

Why is Nginx so fast?

How does a site like rambler serve dynamic content so fast? Even faster than Yahoo (which has a server in my country- SE Asia; rambler does not). Is this purely Nginx’s capability? Where should I ...
22
votes
1answer
1k views

What are the basics of running a Web Server?

This is a proposed Canonical Question about Beginning Web Server Administration. Assuming that you are a beginning SysAd, are new to WebOps, or a small team with little or no experienced Web ...
8
votes
7answers
1k views

Good book for building high performance web sites?

Any recommendations for a book about building and running high performance, high-availability web sites on Linux?
15
votes
1answer
3k views

Why is setting Nginx as a reverse proxy a good idea?

I have a Django site running on Gunicorn with a reverse proxy through Nginx. Isn't Nginx just an extra unnecessary overhead? How does adding that on top of Gunicorn help?
7
votes
4answers
3k views

Experience in migrating from Apache to nginx?

I'd like to get some feedback about a migration From Apache to nginx. My goal is to reduce the memory footprint of the web server. Currently, I use the following modules.features on Apache: multiple ...
5
votes
4answers
273 views

Hosting a server for websites, ftp and random use at home? [closed]

I'm wondering what's the best option for me if I want to move all my hosted websites (from a hosting company) to a server at my own home? Basically, the needs I have are: be able to host websites ...
13
votes
11answers
3k views

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 ...
3
votes
3answers
1k views

How do high traffic sites service more than 65535 TCP connections?

If there is a limit on the number of ports one machine can have and a socket can only bind to an unused port number, how do servers experiencing extremely high amounts (more than the max port number) ...
3
votes
5answers
608 views

Good starting resources for system administration

I'm a PHP web developer and I'd like to start learning more about system administration and was wondering if anyone had any good resources/starting points to look at. I have an old computer I can ...
0
votes
4answers
661 views

Is there a static, server-side vulnerability/virus/malware/BadThings™ scanner?

We run a shared hosting webserver with the usual LAMP stack. It is up and running since many years ago (uhm, Apache-1.3 and PHP-3 days?) and went through many iterations. We strive to have good ...
0
votes
1answer
99 views

What options do I have, to replace Apache web server? [closed]

I need a web server that runs php and does not create so many processes (today I checked the running processes list and there were like 90 of them called 'httpd', 300kb each), I only know these but I ...
5
votes
3answers
5k views

Linux web servers that support websockets?

I'm currently having a lots of difficulties trying to play with socket.io which needs websockets support from the server (reverse-proxying). I was wondering, is there any other web servers out there ...
4
votes
9answers
1k views

Looking for server monitoring app… nothing fancy.. for Windows [duplicate]

Possible Duplicate: What tool do you use to monitor your servers? We are looking for a tool to keep an eye on our web servers (http, file exists, connects) and our smtp, pop servers. Also ...
2
votes
1answer
145 views

third level domain and debian

I have a very basic knowledge of how a web server works. I wish to learn how to set a third level domains test1.mysite.tld such that it points to a web server subdirectory /var/www/test1/. ...
2
votes
2answers
1k views

Webserver logs: “Morfeus F***ing Scanner”

I've just found these accesses in my web server log files: ::ffff:218.38.136.38 109.72.95.175 - [10/Jan/2011:02:54:12 +0100] "GET /user/soapCaller.bs HTTP/1.1" 404 345 "-" "Morfeus Fucking Scanner" ...
2
votes
2answers
3k views

.htaccess allow from hostname?

Ubuntu 9.10 Apache2 Hi Guys, Long story short, I need to restrict access to a certain part of my web site based on a dynamic IP source address that changes every now and then. Historically, I've ...
1
vote
2answers
718 views

Nginx fails to parse config because of scgi_params

I'm trying to install libtorrent, rtorrent and rutorrent. I'm at the stage of installing rutorrent, and their wiki says I have to put this location block in my config file: location /RPC2 { ...
1
vote
2answers
3k views

How to configure Apache to act as an SSL proxy to an application server?

I have one physical server that runs: an Apache (httpd) server another web server (let's say Tomcat for sake of argument) on port 1234 Can I configure the Apache server to act as a proxy for SSL ...
1
vote
5answers
2k views

How necessary is a static IP when running a webserver from home

I'm considering hosting at home not through a third party. Some of the content will be software that need to run reliably 24/7. Currently I buy the domain then redirect it to the IP of my webhost, so ...
0
votes
2answers
256 views

Hard drive on server which hosts public_html folder is full. What to do?

The dedicated server is running Cent OS, has 2 x 1TB hard drives. One domain is hosted on this server. I've been uploading files to the public/html folder no problem, but I've reached the maximum ...
0
votes
1answer
255 views

Serving a page whose URL ends in a slash with nginx

I want to make nginx serve an HTML file for /foobar/. I tried 2 configurations and neither worked. In Apache you do it like this: AliasMatch ^/foobar/$ /home/admin/foobar/foobar.html My first ...
0
votes
3answers
218 views

configure server to handle a lot of requests

I have a website and we bought some advertisement on neobux.com. We bought 1000 views hoping to get more users on the website. We have a VPS with 1gb ram and 1gb burstable running apache. When we ...
0
votes
2answers
390 views

how to publish web service on internet

I developed web-services in c# and published on IIS now i want to take this web-services out of Intranet to Internet i am looking for what are possible solutions for this. I am very much beginner to ...
0
votes
3answers
114 views

Selecting a webserver configuration

I have a website, which has grown from 10 visits per day, to 100 per day in couple of months, and now to about 800 unique visits per day. So far, I have been using a VPS with 512MB RAM, and shared ...
0
votes
3answers
1k views

Problem with php and apache

I am having trouble using the php module with apache2. At the moment, testing with a phpinfo script, only php code is displayed as though it were text, no output at all. I have the line LoadModule ...
-1
votes
1answer
347 views

Is there any chance of IP getting blocked?

I have my dedicated webserver in US I was installed sitemap script and was running the same. but frequently the script was stopped many times. and also parallel I was opened FTP port too. both are ...
11
votes
6answers
10k views

How is session stickiness achieved across multiple web servers?

How many web servers does StackOverflow/ServerFault have? If the answer is 'more than one', then is does it achieve Session Stickiness while DNS polling?
16
votes
4answers
39k views

nginx support for .htaccess / rewrite rules? Differences from Apache?

I've been working with Apache http servers for quite some time, and finally making the move to static-content servers alongside the others dynamic-content machines. I was wondering, does nginx ...