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)

5
votes
3answers
1k views

Can you rely on Nginx as your only webserver for php/mysql

Can you rely on Nginx to be your only webserver. I know in terms of performance it works well, but how does it do in terms of security. I know Apache is stable and has ModSecurity. This is not the ...
10
votes
8answers
9k views

Should I completely turn off swap for linux webserver?

Recently my friend told me that it is a good idea to turn off swap on linux webservers with enough memory. My server has 12 GB and currently uses 4GB (not counting cache and buffers) under peak load. ...
3
votes
1answer
1k views

Running Multiple Publicly Accessible Web Servers on a Single IP Address

I have three separate web servers with three different internal IP addresses on a network with only one public IP address. Each web server has security restrictions such that I cannot just run all of ...
1
vote
6answers
392 views

Website Recommendations [closed]

I would like advice in starting a new website that will be relatively high volume. Will need a database. I want a system that will grow with volume by adding hardware. What would be the ...
9
votes
5answers
8k views

How to get nginx to redirect from www to non-www domain?

Let's say I want to redirect from www.example.com to example.com and I want to do this using nginx. I looked around and did not see any good documentation on this so I figured I would ask and answer ...
8
votes
2answers
9k views

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

How to set up Development, Staging, Production, and QA environments

I am in the process of setting up new servers for an organization. What are the standards or best practices for setting up a new environment with Development, Testing, Staging, and Production (or I'm ...
9
votes
2answers
4k views

Any disadvantage to short DNS TTL? [closed]

Any disadvantage to short DNS TTL?
6
votes
7answers
6k views

Equivalent to denyhosts, but for HTTP requests?

My web server (apache2) is continually pounded by malicious bots, asking for URLs like these: ...
5
votes
4answers
1k views

Setting up SVN server for multiple users over http

The SVN annotate feature is quite powerful and makes quick work of who to track down for a particular feature on a particular line of code. This feature is rendered slightly more limited (but still ...
4
votes
5answers
6k views

Server not sending a SYN/ACK packet in response to a SYN packet

Using iptraf, tcpdump and wireshark I can see a SYN packet coming in but only the ACK FLAG is set in reply packet. I'm running Debian 5 with kernel 2.6.36 I've turned off window_scaling and ...
4
votes
5answers
3k views

Best way to use large IP blacklist to deny access to a web server?

Is there efficient and easy way to use IP blacklist (like this one, but perhaps 2-3 times larger, which can't be simplified to CIDRs much) to deny access to a web server (either lighttpd or Apache) ...
7
votes
2answers
2k views

Why are NginX and Lighttpd not affected by Slowloris?

I am investigating the vulnerability to Slowloris and I think I understand how and why this sort of attack works. What I don't understand is why Lighttpd and NginX are not affected (according to the ...
5
votes
2answers
679 views

What is the proper way to set up the Apache document root in terms of privileges?

I have just installed Ubuntu 9.10 server edition on my machine and I wish to run my own personal local server with other users in the same LAN. First, I was wondering what folder directory structure ...
3
votes
2answers
2k views

Securing Apache Solr in production

I am setting up Apache Solr 4.1 that will be used to index data for a web app. Only the web app should have access to the Solr. Users and other clients will not talk directly to Solr. What are some ...
3
votes
1answer
3k views

How to setup Python with Lighttpd and FastCGI (like PHP)

Running Lighttpd on Linux, I would like to be able to execute Python scripts just the way I execute PHP scripts. The goal is to be able to execute arbitrary script files stored in the WWW directory, ...
3
votes
10answers
3k views

What is the best way to configure the number of workers in Apache?

My site receives a lot of traffic for 2 hours during the day (2000 hits per minute). The rest of the day receives less traffic(500e hits per minute). I have been experimenting with the MaxClients ...
2
votes
8answers
1k views

Any tool to benchmark web server performance

What I wanted to know is if there is any easy tool for me to run in Centos linux to know how good the box is. Disk IO, CPU, Memory ...not only the data but their performance under high usage, high ...
2
votes
2answers
358 views

Automate creation of subdomain(xyz.serverfault.com)

What’s the best way to automate creation of subdomains (like Basecamp)? My requirement is somewhat similar to Basecamp where users request for a subdomain from a page and I create it for them from ...
1
vote
2answers
716 views

Is it possible to balance load between multiple Nginx load balancers without using a hardware load balancer?

I plan to balance load between my app servers using a separate Nginx server as a software load balancer. But actually, it's because a load balancer in front of the app servers allows me to update an ...
-1
votes
4answers
343 views

cPanel Open source alternatives

The cPanel license is around $500/year, so I'm considering open source (preferably free) alternatives. After brief searching, I found ISPConfig. Anything else that people use and are satisfied with? ...
8
votes
1answer
1k views

What causes a 400 Bad Request error for null (“”) and why would our nginx logs have so many?

Daily logs from Logwatch regularly report 400 Bad Request, null: 1744 Time(s) from our nginx logs. The log entries look like: 123.123.123.123 - - [25/Jan/2011:14:44:19 -0500] "-" 400 173 "-" "-" ...
6
votes
6answers
913 views

Site Goes Offline Every Day At Midnight - No One Knows Why

Seems every day a website I manage has been going online and offline between 12a and 12:25a. I have no idea what is causing the issue so I am seeking guidance on where to start. It is a Wordpress ...
5
votes
2answers
2k views

apache webserver unresponsible with server-status showing all child processes waiting for connection

My setup: i have 3 nearly identical webserver machines serving the same high loaded dynamic website with simple load balancing over dns. The service has been working for over two ears with the same ...
4
votes
2answers
3k views

Issues with setting up SSL on Glassfish v3

I am currently setting up SSL on glassfish and having some issues connecting to the server. http://javadude.wordpress.com/2010/04/06/getting-started-with-glassfish-v3-and-ssl/ I have followed this ...
3
votes
2answers
4k views

Nginx $document_root$fastcgi_script_name vs $request_filename

I can't notice any difference if in my config file I set fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; Or: fastcgi_param SCRIPT_FILENAME $request_filename; What do ...
3
votes
2answers
3k views

IIS7 hundreds of connections in CLOSE_WAIT

I have a .Net application on my IIS7 server it was working fine until I had to move it to another server. I moved the exact same code to the new server and I noticed that after some hours the ...
2
votes
2answers
3k views

nginx better than apache for dynamic content? [duplicate]

Possible Duplicate: Apache or NGINX for PHP? Hi, i have searched for this around the web and i can't find the right answer for my question. basically i want to know if i can get better ...
2
votes
2answers
2k views

SSHFS Server for Windows?

Is there a sshfs SERVER for MS-WINDOWS ? I have a working sshfs client (dokan Win64), but I can't share a windows drive over internet.
0
votes
1answer
115 views

How can I run a second site in Azure while sharing the domain?

I have a site running on Azure built in ASP.NET MVC. Part of the site is effectively a marketing site with mostly static pages, the rest is the dashboard that our users log into to use the product. ...
0
votes
1answer
56 views

Questions about migrating a web server

I am about to migrate my web server. I am using Ubuntu Server on both systems. I've never done this and I need to know what I should look out for. Can I just copy the var directory? I have many ...
0
votes
2answers
155 views

Update a DNS to a for a dynamic IP

I want to use my schools connection as a place to host a small webserver but one problem I have run into is anytime my server reboots I am given a new IP inside the schools range. All of the ...
0
votes
3answers
123 views

Hot linking images

Not sure if this is the right stackexchange site to post this question, but I wanted to know if it is possible to get a list of all websites which are hot linking to images on my website, and how to ...
0
votes
6answers
680 views

Recommendation for notification service when web server is down [closed]

Can anyone recommend a good third party service that can notify you when your webserver is down?
8
votes
5answers
1k views

Do you use different wallpaper or background colors for dev, production servers?

I want to make it easier to distinguish between server's connected via rdp, without draining resources too much. Do any of you use any wallpaper, and if so, can you show any examples? Or do you use ...
7
votes
1answer
1k views

When should you use and not use Etags?

I was just looking at our site on WebPageTest.org and one of their recommendations for speeding up a website is: ETag headers should generally not be used unless you have an explicit reason to ...
6
votes
2answers
5k views

apache2: why <LimitExcept> parameter results “deny not allowed here” error in virtualhost tag?

I have asked the same question to stackoverflow but then I thought it might be more related to here. in apache's httpd.conf between VirtualHost tags I put <LimitExcept> expression like follows: ...
4
votes
4answers
8k views

Are PHP session files ever deleted?

I see there are thousands of files in my "/tmp" directory (a CentOS machine) and almost all of them are PHP session files. I'm worried about the possible impact this might have on my system. Are those ...
3
votes
1answer
234 views

Apache upgrade strategy

I'm on CentOS 6.5 and Apache 2.2.15. I wanted my httpd to be up to date so I did: yum update httpd After that it is still version 2.2.15, but latest version is 2.2.22. I also see security updates ...
3
votes
2answers
7k views

Apache URL rewriting in reverse proxy

I'm deploying Apache in front of a Karaf-hosted application (Apache and Karaf are on separate servers). I want Apache to operate as a reverse proxy and also to hide part of the URL. The URL to get ...
3
votes
4answers
113 views

Standard configuration of a webservers filesystem [closed]

i looking at trying to make my web server easier to manage, backup and replicate. I have websites, config files, ssl certs, vhosts scattered all over the place. It seems logical that they should all ...
3
votes
3answers
407 views

Why is DownOrNot and JustPing reporting that my website is down?

I was pinging my site with DownOrNot and it is reporting that my website is down from ALL locations: http://www.downornot.com/qweop Then I pinged it with JustPing and it is reporting that my website ...
3
votes
5answers
1k views

Which Is a Good Starting Point For Beginner? Apache, Nginx or Cherokee?

Any of these web server software i.e., Apache, Nginx and Cherokee is suitable for my website at the moment. And I am learning sysadmin to be able to manage my server (and not for a job). For a ...
3
votes
3answers
4k views

Change how Nagios determines if server is offline?

I'm new to nagios and my server is on a network which does not allow the server to be pinged. Is it possible for me to check if the server is up another way? e.g via SSH or HTTP? How would I do this ...
3
votes
2answers
4k views

Access keystore on Sun ONE Webserver 6.1 for 2048 bit key length SSL

We want to get 2048 bit key length CSR requests. The browser based GUI provides us with a 1024 bit CSR and I don't know how to change that. It seems that 1024 bit key lengths will no longer ...
3
votes
7answers
3k views

Recommended Drive Configuration for a Web Server

What's your typical web server drive configuration? Typically I'll have a drive for the OS and a drive for data. The data drive is typically a RAID 5, but I can't remember what I used to recommend for ...
3
votes
2answers
2k views

Using IIS7 as a reverse proxy

I'm setting up a server at home to host a few small websites. One of them is .NET based and needs IIS, the others are PHP based and need Apache. So, I have both IIS 7 and Apache 2.2.x installed on ...
2
votes
1answer
3k views

Nginx startup fails ssl no such file or directory

Here is the error I'm getting: Reloading nginx configuration: nginx: [emerg] SSL_CTX_use_certificate_chain_file("/path/to/cert.pem") failed (SSL: error:02001002:system library:fopen:No such ...
2
votes
1answer
139 views

Another website in a IIS subfolder

A friend of mine has an ASP.NET site hosted on windows server with IIS7 web server. He wants to install a wordpress blog without using subdomains for SEO reasons. In practice, he would like to have a ...
2
votes
2answers
4k views

How to configure nginx to redirect all request from domain aliases to main domain?

I do have an nginx server which responds to several domains and I do want to redirect all request to the main domain. Example: website responding for xxx xxx.example.com yyy.example.com $hostname for ...