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 Server SysAd support (and cannot afford it right now), what should you do to configure and secure a Web Server for your business? Asked by gWaldo Before We Begin: Having quality people will save you money. Just like having a good Lawyer (NSFW) [...]
Continue Reading »Local website do not work for everyone
We have got a website (hosted locally but available over the internet) that does not work for everybody. The problem has been reported by internal users having windows vista home. If they go on our website with this address http://example.com, everything is fine. If the address is http://www.example.com it doesn’t work, they get a simple error message that suggest to reload the page. It’s not all Vista users that have this problem. For the rest [...]
Continue Reading »Multiple SSL based IPs on lighttpd
I have lighttpd as web server and on it I have installed IP-based SSL certificates. I want to have a way to have multiple SSL certificates on each new IP that the server may get. For example, at the moment I have https://127.0.0.1 and it works, but it certificate on which the CN = 127.0.0.1, so if the webserver gets a new IP from the DHCP server, say 192.168.1.x, the server will cause SSL mismatches. [...]
Continue Reading »Hyper-v pass to WMs web-server not throw external ip
There is server with Hyper-v. We would like split them to several virtual machine’s. Each machine has own web server. There is any solution pass to Webserver not throw external ip(buying them)? Asked by Stepchik Yes – and it has nothing to do with VMs, it can be done in a single IIS server (or multiple ones). It’s called Host Header : it enables your webserver to respond differently based on the website name that [...]
Continue Reading »What is this user name for and how did it get created?
When I created a website named Portal on my IIS 7.5 on the website permissions->security I got this user. What is its purpose? From what I have read the ApplicationPool runs under NetworkService permissions, but I noticed if I gave Portal user full permissions I could do the saving I wanted in the virtual folder without needing to impersonate any other user (I used to impersonate admin which was a bad idea). So I guess [...]
Continue Reading »What can lead to a zone memory exhaustion and how Nginx reacts to it?
What is a possible scenario for exhausting the memory designated to a connection zone with limit_conn_zone directive and what are the implication in this case? Suppose I have this in my configuration: http { limit_conn_zone $binary_remote_addr zone=connzone:1m; … server { limit_conn connzone 5; which, according to the documentation, allocates 16000 states for connzone on a 64-bit server. It also says that If the storage for a zone is exhausted, the server will return error 503 [...]
Continue Reading »Huge performance difference between two web servers, odd behavior seen using process monitor
We have two Coldfusion servers that have a huge performance difference running the exact same code on the exact same input data. The code in questions instantiates a large amount of CFCs (Coldfusion Components, which are similar to objects in OOP languages). I compared the two servers by running Process Monitor and then calling the problematic code on both machines. I learned two things. First, Coldfusion opens CFC files every time it instantiates an object. [...]
Continue Reading »Node.js on via DynDNS
I have never used Node.js but since I am developing a browsergame that needs (almost) “realtime” communication, I am planning on using Node.js for this. To get started, I wanted to use a home server (normal computer) that is conntected to a dynamic IP via DynDNS. Are there the disadvantages using such a setting? What is the best way in combination with Node.js to store game status for a online game session? Asked by Azincourt [...]
Continue Reading »Adding multiple websites with different SSL certificates in IIS 7
I’m having troubles using SSL for 2 different websites on my IIS 7 server. Please see my setup below: website1: my.corporate.portal.com SSL certificate for website1: *.corporate.portal.com https/443 binded to my.corporate.portal.com website2: client.portal.com SSL certificate issued for: client.portal.com When I try to bind https in IIS7 with the client’s certificate, I don’t have an option to put host name(grayed out) and as soon as I select ‘client.portal.com’ cert, I’m getting the following error in IIS: At [...]
Continue Reading »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 be in one place. i was thinking of creating a directory in root like so /data and inside this have all the directories for my data on this webserver like so: /data /websites [websites directories] /ssl_certs [secure certificates for sites] [...]
Continue Reading »


