<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Admins Goodies &#187; webserver</title>
	<atom:link href="http://adminsgoodies.com/tag/webserver/feed/" rel="self" type="application/rss+xml" />
	<link>http://adminsgoodies.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 24 May 2013 16:33:10 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>What are the basics of running a Web Server?</title>
		<link>http://adminsgoodies.com/what-are-the-basics-of-running-a-web-server/</link>
		<comments>http://adminsgoodies.com/what-are-the-basics-of-running-a-web-server/#comments</comments>
		<pubDate>Fri, 12 Apr 2013 16:33:25 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[administration]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-are-the-basics-of-running-a-web-server/</guid>
		<description><![CDATA[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) [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<blockquote>
<p>This is a proposed <a href="http://meta.serverfault.com/questions/1986">Canonical Question</a> about Beginning Web Server Administration.</p>
</blockquote>
<p>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?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/50875/gwaldo" target="_blank">gWaldo</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>
<h2>Before We Begin:</h2>
<p>Having quality people will save you money. Just like <a href="http://vimeo.com/22053820">having a good Lawyer</a> (NSFW) or an accountant, having a quality SysAd will save you money. You may not have the money to pay for the expertise now, but as soon as you can, you should make that investment.</p>
<p>
<h2>You should know:</h2>
<p>Web Server Administration is a large topic, and it is intrinsically interweaved with many different disciplines. To do it well you will need a fundamental understanding of TCP/IP, your host OS, your WebServer Application, and some understanding of running the application stack.</p>
<p>Be prepared to read. <strong><em>A lot</em></strong>. </p>
<p>
<h2>Identify your needs:</h2>
</p>
<p><strong>Requirements</strong></p>
<ul>
<li>Are you running a plain, static website (maybe with some Javascript effects), or </li>
<li>(more likely) are you running an application that happens to have a web interface?</li>
<li>Do you have persistent data? (Do you need a database?)</li>
<li>Are there user credentials involved? Is there another reason that you&#8217;d need the connection between the user and website to be secured? (SSL)</li>
<li>Are you handling payments of any kind? In addition to having SSL requirements, there are additional considerations that you&#8217;ll need to research (dependent on region). These will also vary depending on the payment processor that you use.</li>
</ul>
<p>
<h2>Identify your stack:</h2>
</p>
<p><strong>How are you going to write and run this?</strong></p>
<ul>
<li>Platform (Windows, Linux, other Unix, etc)</li>
<li>App requirements (Ruby/Rails, Python, Perl, PHP, .NET, etc, etc)</li>
<li>Database (&#8230;)</li>
<li>Caching? (Honestly, don&#8217;t worry about this now; be aware that this solves some problems, and can create others. This is a problem of performance, and right now you&#8217;re just trying to get started.)</li>
</ul>
<p>Some of these choices will inform others. For instance, If you&#8217;re running a .NET app, you probably want to use MSSQL and IIS; If you&#8217;re running Ruby on Rails, you probably want a Linux server.</p>
<p>
<h2>Get to Know your Product:</h2>
</p>
<p>Now that you&#8217;ve decided on what your stack will look like, you need to get to know it. This is where you should spend most of your time. Searching for &#8220;Configure [product]&#8221; or &#8220;[product] Admin Guide&#8221; should get you plenty of resources.</p>
<p>For instance, if you are running Apache on Ubuntu, you should absolutely read:</p>
<ul>
<li><a href="http://httpd.apache.org/docs/2.2/">http://httpd.apache.org/docs/2.2/</a></li>
<li><a href="https://help.ubuntu.com/10.04/serverguide/httpd.html">https://help.ubuntu.com/10.04/serverguide/httpd.html</a></li>
</ul>
<p>Look for similar docs, articles, blog posts for your stack.</p>
<p>
<h2>Install the bare minimum:</h2>
</p>
<p>There is a vast array of modules for Apache, but if you&#8217;re not going to use PHP (for example), don&#8217;t install mod-php.</p>
<p>It also should be stated here that you should avoid installing a GUI if it&#8217;s a Linux server; GUI&#8217;s use up a significant amount of system resources.</p>
<p>
<h2>Securing the site:</h2>
</p>
<ul>
<li>Ensure minimal permissions to function. This applies not only to the filesystem, but also to services and processes</li>
<li>Keep server ports disabled for unneeded services. (Again, only install the minimum.)</li>
<li>Restrict application interfaces to the internal environment (if, for instance, running a web application on the same server (such as Rails), restrict it to only listen to localhost)</li>
</ul>
<p>
<h2>In Closing:</h2>
</p>
<p>This is only the beginnings of what you should do to get a site up and running. This doesn&#8217;t even begin to touch the problems of maintaining servers or how to handle problems of scaling should your project become successful, nor any of the other myriad issues that a knowledgeable SysAd will solve for you.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/50875/gwaldo" target="_blank">gWaldo</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/497246/what-are-the-basics-of-running-a-web-server" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-are-the-basics-of-running-a-web-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Local website do not work for everyone</title>
		<link>http://adminsgoodies.com/local-website-do-not-work-for-everyone/</link>
		<comments>http://adminsgoodies.com/local-website-do-not-work-for-everyone/#comments</comments>
		<pubDate>Thu, 17 Jan 2013 17:33:52 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[web-hosting]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/local-website-do-not-work-for-everyone/</guid>
		<description><![CDATA[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&#8217;t work, they get a simple error message that suggest to reload the page. It&#8217;s not all Vista users that have this problem. For the rest [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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 <a href="http://example.com" rel="nofollow">http://example.com</a>, everything is fine. If the address is <a href="http://www.example.com" rel="nofollow">http://www.example.com</a> it doesn&#8217;t work, they get a simple error message that suggest to reload the page. It&#8217;s not all Vista users that have this problem.</p>
<p>For the rest of our group, both address are working. Our server (Windows Server 2008) accept both headers. Cache has been cleared and all browser get the same error on those vista home, so I don&#8217;t know what to do more. Maybe it&#8217;s a server security? Any ideas?</p>
<hr />
<p>As suggested by @TheCleaner I did a ping to our website:</p>
<p>On Windows 7</p>
<pre class="prettyprint"><code>I get a 209.161.xxx.xx for both website (It's the good address)
</code></pre>
<p>On Vista</p>
<pre class="prettyprint"><code>I get a 208.69.xx.xxx for the website with www. (the 209.161.xxx.xx should be the good one...but I see my website)
I get a 192.168.1.25 without the www. (this was an old server that crashed about 2 month ago)
</code></pre>
<p>How do I resolve this? Thanks</p>
<div class="author">Asked by <a href="http://serverfault.com/users/154886/shadowizoo" target="_blank">Shadowizoo</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Are any/all of these clients connected via a proxy, or do they access the server directly? It sounds like there&#8217;s some legacy stuff hanging around. Can you check the C:/Windows/system32/drivers/etc/hosts file to see if the server has some nasty hard coded stuff in there?</p>
<div class="author">Answered by <a href="http://serverfault.com/users/154899/tom" target="_blank">Tom</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/465929/local-website-do-not-work-for-everyone" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/local-website-do-not-work-for-everyone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiple SSL based IPs on lighttpd</title>
		<link>http://adminsgoodies.com/multiple-ssl-based-ips-on-lighttpd/</link>
		<comments>http://adminsgoodies.com/multiple-ssl-based-ips-on-lighttpd/#comments</comments>
		<pubDate>Wed, 09 Jan 2013 17:34:11 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[lighttpd]]></category>
		<category><![CDATA[ssl-certificate]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/multiple-ssl-based-ips-on-lighttpd/</guid>
		<description><![CDATA[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. [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have lighttpd as web server and on it I have installed IP-based SSL certificates.</p>
<p>I want to have a way to have multiple SSL certificates on each new IP that the server may get.</p>
<p>For example, at the moment I have <code>https://127.0.0.1</code> and it works, but it certificate on which the CN = <code>127.0.0.1</code>, so if the webserver gets a new IP from the DHCP server, say <code>192.168.1.x</code>, the server will cause SSL mismatches.</p>
<p>Instead I need a new certificate exclusively for that IP address.</p>
<p>How can I create a multi-IP based SSL certificate? Of course on lighttpd.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/146610/jamezer" target="_blank">JameZer</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>I&#8217;m not sure I understand your question correct, but if you want to serve the same certificate on all IP interfaces on the server, define a socket without giving an IP:</p>
<pre class="prettyprint"><code>$SERVER["socket"] == ":443" {
     ssl.engine                  = "enable" 
     ssl.pemfile                 = "/path/to/ssl/certificate.pem" 
}
</code></pre>
<p>This way it listens and serves https with the same certificate (<code>certificate.pem</code>) on all interfaces, no matter what IP address has been assigned</p>
<div class="author">Answered by <a href="http://serverfault.com/users/105072/mathias-r-jessen" target="_blank">Mathias R. Jessen</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/464404/multiple-ssl-based-ips-on-lighttpd" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/multiple-ssl-based-ips-on-lighttpd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hyper-v pass to WMs web-server not throw external ip</title>
		<link>http://adminsgoodies.com/hyper-v-pass-to-wms-web-server-not-throw-external-ip/</link>
		<comments>http://adminsgoodies.com/hyper-v-pass-to-wms-web-server-not-throw-external-ip/#comments</comments>
		<pubDate>Mon, 24 Dec 2012 16:37:37 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[external-ip]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/hyper-v-pass-to-wms-web-server-not-throw-external-ip/</guid>
		<description><![CDATA[There is server with Hyper-v. We would like split them to several virtual machine&#8217;s. Each machine has own web server. There is any solution pass to Webserver not throw external ip(buying them)? Asked by Stepchik Yes &#8211; and it has nothing to do with VMs, it can be done in a single IIS server (or multiple ones). It&#8217;s called Host Header : it enables your webserver to respond differently based on the website name that [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>There is server with Hyper-v. We would like split them to several virtual machine&#8217;s. Each machine has own web server. There is any solution pass to Webserver not throw external ip(buying them)?  </p>
<div class="author">Asked by <a href="http://serverfault.com/users/146990/stepchik" target="_blank">Stepchik</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Yes &#8211; and it has nothing to do with VMs, it can be done in a single IIS server (or multiple ones). It&#8217;s called Host Header : it enables your webserver to respond differently based on the website name that the client is asking for. </p>
<div class="author">Answered by <a href="http://serverfault.com/users/29373/mfinni" target="_blank">mfinni</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/460616/hyper-v-pass-to-wms-web-server-not-throw-external-ip" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/hyper-v-pass-to-wms-web-server-not-throw-external-ip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is this user name for and how did it get created?</title>
		<link>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/</link>
		<comments>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/#comments</comments>
		<pubDate>Wed, 19 Dec 2012 17:36:12 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[asp.net]]></category>
		<category><![CDATA[iis7]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/</guid>
		<description><![CDATA[When I created a website named Portal on my IIS 7.5 on the website permissions-&#62;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 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>When I created a website named <code>Portal</code> on my IIS 7.5 on the website <code>permissions</code>-&gt;<code>security</code> I got this user. What is its purpose?</p>
<p>From what I have read the <code>ApplicationPool</code> runs under <code>NetworkService</code> permissions, but I noticed if I gave <code>Portal</code> 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 my question is, should I be setting permissions on this <code>Portal</code> user without knowing how it came about?</p>
<p><img src="http://i.stack.imgur.com/21wmP.png" alt="enter image description here"></p>
<p>It seems that this user <strong>did not</strong> get created when I created the website, but did so when I published to the website from VS 2010.</p>
<div class="author">Asked by <a href="http://serverfault.com/users/118212/muhammada" target="_blank">MuhammadA</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>In IIS 7.5 the default behavior is to run all application pools under a specific account for the individual application.  You can of course change this if you modify the application pool settings.</p>
<p>Regardless, yes, setting permissions against this user is the desired behavior as it limits the potential attack surface rather than using a generic network service account as in the past.</p>
<p>You can read more about the change to default accounts in IIS <a href="http://www.iis.net/learn/manage/configuring-security/application-pool-identities" rel="nofollow">here</a>.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/42617/brent-pabst" target="_blank">Brent Pabst</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/459338/what-is-this-user-name-for-and-how-did-it-get-created" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-is-this-user-name-for-and-how-did-it-get-created/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What can lead to a zone memory exhaustion and how Nginx reacts to it?</title>
		<link>http://adminsgoodies.com/what-can-lead-to-a-zone-memory-exhaustion-and-how-nginx-reacts-to-it/</link>
		<comments>http://adminsgoodies.com/what-can-lead-to-a-zone-memory-exhaustion-and-how-nginx-reacts-to-it/#comments</comments>
		<pubDate>Sat, 08 Dec 2012 17:36:03 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[connlimit]]></category>
		<category><![CDATA[limitations]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/what-can-lead-to-a-zone-memory-exhaustion-and-how-nginx-reacts-to-it/</guid>
		<description><![CDATA[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 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>What is a possible scenario for exhausting the memory designated to a connection zone with <a href="http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_conn_zone" rel="nofollow"><code>limit_conn_zone</code></a> directive and what are the implication in this case?</p>
<p>Suppose I have this in my configuration:</p>
<pre><code>http {
  limit_conn_zone $binary_remote_addr zone=connzone:1m;
  ...
  server {
    limit_conn connzone 5;
</code></pre>
<p>which, according to the documentation, allocates 16000 states for <code>connzone</code> on a 64-bit server. It also says that</p>
<blockquote>
<p>If the storage for a zone is exhausted, the server will return error<br />
  503 (Service Temporarily Unavailable) to all further requests.</p>
</blockquote>
<p>Well, Ok. But what does it mean on practice? When does this happen? Who receives those 503s? Does it mean that if the number of IPs <em>somehow</em> associated with <code>connzone</code> hits 16000 everyone gets a 503 and it&#8217;s all over? How does Nginx decide? The documentation is weirdly vague on this.</p>
<p>So, considering the example config, who would actually get a 503 and under which circumstances and how would things go from there? Same with <a href="http://nginx.org/en/docs/http/ngx_http_limit_req_module.html#limit_req_zone" rel="nofollow">request zones</a>?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/143011/miles-hughes" target="_blank">Miles Hughes</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p><em>Practice?</em> You can control the total amount of IPs connected to the server.</p>
<p><em>When?</em> Well, if the zone is full.</p>
<p><em>Who?</em> Yes, everybody who isn&#8217;t already within the zone and as long as the zone is full.</p>
<p>If you&#8217;re on a 64 bit system and set the zone to 1M, nginx can store up to 16,000 IPs. This means if 16,001 IPs have to be stored that +1 user will receive the first 503 error. The decision is pretty easy, if the <a href="https://en.wikipedia.org/wiki/B-tree" rel="nofollow">B-tree</a> is full, reject.</p>
<p>You can find out the exact implementation by reading the source code of the module: <a href="https://github.com/git-mirror/nginx/blob/master/src/http/modules/ngx_http_limit_conn_module.c" rel="nofollow">https://github.com/git-mirror/nginx/blob/master/src/http/modules/ngx_http_limit_conn_module.c</a></p>
<p>Request zones works pretty similar.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/131878/fleshgrinder" target="_blank">Fleshgrinder</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/456198/what-can-lead-to-a-zone-memory-exhaustion-and-how-nginx-reacts-to-it" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/what-can-lead-to-a-zone-memory-exhaustion-and-how-nginx-reacts-to-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Huge performance difference between two web servers, odd behavior seen using process monitor</title>
		<link>http://adminsgoodies.com/huge-performance-difference-between-two-web-servers-odd-behavior-seen-using-process-monitor/</link>
		<comments>http://adminsgoodies.com/huge-performance-difference-between-two-web-servers-odd-behavior-seen-using-process-monitor/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 17:36:26 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[coldfusion-8]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/huge-performance-difference-between-two-web-servers-odd-behavior-seen-using-process-monitor/</guid>
		<description><![CDATA[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. [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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). </p>
<p>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. Both servers do this, so it cannot be the cause of the performance difference. Second, the fast server opens the CFC files directly while the server with the performance problem seems to navigate its way through the path until it reaches the desired CFC file. It does this for every file, even the ones it has previously loaded, and because the code instantiates so many CFCs it becomes very slow. See below the partial Promon traces that show this behavior. It can take over 60 seconds for the slow server to do what the fast one does in 2 seconds.</p>
<p>Can anyone tell me what causes this behavior? Is it a Coldfusion setting? Since Coldfusion runs on top of Java, is it a Java setting? Is it an OS option? The fast server is running Windows XP and I think the slow server is a Windows Server 2003.</p>
<p>Bonus question: Coldfusion doesn&#8217;t seem to perform any READ FILE operations on any of the CFC or CFM files. How can this be?</p>
<p>Sample of the fast server opening CFC files:</p>
<pre><code>11:25:14.5588975    jrun.exe    QueryOpen                   C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5592758    jrun.exe    CreateFile                  C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5595024    jrun.exe    QueryBasicInformationFile   C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5595940    jrun.exe    CloseFile                   C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5599628    jrun.exe    CreateFile                  C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5601600    jrun.exe    QueryBasicInformationFile   C:\CF\wwwroot\APP\com\HtmlUtils.cfc
11:25:14.5602463    jrun.exe    CloseFile                   C:\CF\wwwroot\APP\com\HtmlUtils.cfc
</code></pre>
<p>Equivalent sample of the slow server opening CFC files:</p>
<pre><code>11:15:08.1249230    jrun.exe    CreateFile                  D:\
11:15:08.1250100    jrun.exe    QueryDirectory              D:\org
11:15:08.1252852    jrun.exe    CloseFile                   D:\
11:15:08.1259670    jrun.exe    CreateFile                  D:\org
11:15:08.1260319    jrun.exe    QueryDirectory              D:\org\cli
11:15:08.1260769    jrun.exe    CloseFile                   D:\org
11:15:08.1269451    jrun.exe    CreateFile                  D:\org\cli
11:15:08.1270613    jrun.exe    QueryDirectory              D:\org\cli\cpn
11:15:08.1271140    jrun.exe    CloseFile                   D:\org\cli
11:15:08.1279312    jrun.exe    CreateFile                  D:\org\cli\cpn
11:15:08.1280086    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP
11:15:08.1280789    jrun.exe    CloseFile                   D:\org\cli\cpn
11:15:08.1291034    jrun.exe    CreateFile                  D:\org\cli\cpn\APP
11:15:08.1291709    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP\com
11:15:08.1292224    jrun.exe    CloseFile                   D:\org\cli\cpn\APP
11:15:08.1300568    jrun.exe    CreateFile                  D:\org\cli\cpn\APP\com
11:15:08.1301321    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1301843    jrun.exe    CloseFile                   D:\org\cli\cpn\APP\com
11:15:08.1312049    jrun.exe    CreateFile                  D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1314409    jrun.exe    QueryBasicInformationFile   D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1314633    jrun.exe    CloseFile                   D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1315881    jrun.exe    CreateFile                  D:\
11:15:08.1316379    jrun.exe    QueryDirectory              D:\org
11:15:08.1316926    jrun.exe    CloseFile                   D:\
11:15:08.1330951    jrun.exe    CreateFile                  D:\org
11:15:08.1338656    jrun.exe    QueryDirectory              D:\org\cli
11:15:08.1339118    jrun.exe    CloseFile                   D:\org
11:15:08.1526468    jrun.exe    CreateFile                  D:\org\cli
11:15:08.1527295    jrun.exe    QueryDirectory              D:\org\cli\cpn
11:15:08.1527989    jrun.exe    CloseFile                   D:\org\cli
11:15:08.1531977    jrun.exe    CreateFile                  D:\org\cli\cpn
11:15:08.1532589    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP
11:15:08.1533575    jrun.exe    CloseFile                   D:\org\cli\cpn
11:15:08.1538457    jrun.exe    CreateFile                  D:\org\cli\cpn\APP
11:15:08.1539083    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP\com
11:15:08.1539553    jrun.exe    CloseFile                   D:\org\cli\cpn\APP
11:15:08.1544126    jrun.exe    CreateFile                  D:\org\cli\cpn\APP\com
11:15:08.1544980    jrun.exe    QueryDirectory              D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1545482    jrun.exe    CloseFile                   D:\org\cli\cpn\APP\com
11:15:08.1551034    jrun.exe    CreateFile                  D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1552878    jrun.exe    QueryBasicInformationFile   D:\org\cli\cpn\APP\com\HtmlUtils.cfc
11:15:08.1553044    jrun.exe    CloseFile                   D:\org\cli\cpn\APP\com\HtmlUtils.cfc
</code></pre>
<p>Thanks</p>
<div class="author">Asked by <a href="http://serverfault.com/users/146772/francis-gagnon" target="_blank">Francis Gagnon</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Along the lines of Adam Cameron&#8217;s answer, I&#8217;d suggest comparing C:\ColdFusion8\lib\neo*.xml on both machines and working through the differences, particularly neo-runtime.xml and neo-debug.xml &#8211; these are where the config for ColdFusion are stored. Post any interesting differences here.</p>
<p>If you don&#8217;t have a diff tool, use the trial version of <a href="http://scootersoftware.com/" rel="nofollow">BeyondCompare</a> as it&#8217;ll do whole directories and supports XML well. </p>
<div class="author">Answered by <a href="http://serverfault.com/users/146997/barnyr" target="_blank">barnyr</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/451597/huge-performance-difference-between-two-web-servers-odd-behavior-seen-using-pro" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/huge-performance-difference-between-two-web-servers-odd-behavior-seen-using-process-monitor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Node.js on via DynDNS</title>
		<link>http://adminsgoodies.com/node-js-on-via-dyndns/</link>
		<comments>http://adminsgoodies.com/node-js-on-via-dyndns/#comments</comments>
		<pubDate>Thu, 22 Nov 2012 17:35:37 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[dyndns]]></category>
		<category><![CDATA[node.js]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/node-js-on-via-dyndns/</guid>
		<description><![CDATA[I have never used Node.js but since I am developing a browsergame that needs (almost) &#8220;realtime&#8221; 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 [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I have never used Node.js but since I am developing a browsergame that needs (almost) &#8220;realtime&#8221; communication, I am planning on using Node.js for this.</p>
<p>To get started, I wanted to use a home server (normal computer) that is conntected to a dynamic IP via DynDNS.</p>
<p>Are there the disadvantages using such a setting?</p>
<p>What is the best way in combination with Node.js to store game status for a online game session?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/130568/azincourt" target="_blank">Azincourt</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>No there should not be any disadvantages (for the development phase of your project). But you have to take care that your dynamic IP is not reassigned while your client is online. (e.g. schedule your disconnect at night).</p>
<p>If you have got a low bandwidth connection, take account of the slow data transfer which will  not occur as soon as you are hosting your server professionally.</p>
<p>The most appropriate way to store your game status is:</p>
<ul>
<li><strong>Server side:</strong> Some structured data format, XML or SQL(ite) </li>
<li><strong>Client side:</strong> WebSQL. See <a href="http://www.w3.org/TR/webdatabase/" rel="nofollow">http://www.w3.org/TR/webdatabase/</a></li>
</ul>
<div class="author">Answered by <a href="http://serverfault.com/users/95434/k-wave" target="_blank">k_wave</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/450939/node-js-on-via-dyndns" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/node-js-on-via-dyndns/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding multiple websites with different SSL certificates in IIS 7</title>
		<link>http://adminsgoodies.com/adding-multiple-websites-with-different-ssl-certificates-in-iis-7/</link>
		<comments>http://adminsgoodies.com/adding-multiple-websites-with-different-ssl-certificates-in-iis-7/#comments</comments>
		<pubDate>Mon, 12 Nov 2012 17:35:49 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[ssl-certificate]]></category>
		<category><![CDATA[webserver]]></category>
		<category><![CDATA[website]]></category>
		<category><![CDATA[windows-server-2008]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/adding-multiple-websites-with-different-ssl-certificates-in-iis-7/</guid>
		<description><![CDATA[I&#8217;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&#8217;s certificate, I don&#8217;t have an option to put host name(grayed out) and as soon as I select &#8216;client.portal.com&#8217; cert, I&#8217;m getting the following error in IIS: At [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>I&#8217;m having troubles using SSL for 2 different websites on my IIS 7 server.<br />
Please see my setup below:</p>
<p>website1: my.corporate.portal.com</p>
<p>SSL certificate for website1: *.corporate.portal.com</p>
<p>https/443 binded to my.corporate.portal.com</p>
<p>website2: client.portal.com<br />
SSL certificate issued for: client.portal.com<br />
When I try to bind https in IIS7 with the client&#8217;s certificate, I don&#8217;t have an option to put host name(grayed out) and as soon as I select &#8216;client.portal.com&#8217; cert, I&#8217;m getting the following error in IIS:</p>
<pre><code>At least one other site is using the same HTTPS binding
and the binding is configured with a different certificate.
Are you sure that you want to reuse this HTTPS binding 
and reassign the other site or sites to use the new certificate?
</code></pre>
<p>If I click &#8216;yes&#8217; my.corporate.portal.com website stops using the proper SSL cert.</p>
<p>Could you suggest something?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/125736/timka" target="_blank">Timka</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Implementing Elastic Load Balancing for the Amazon instance solve the issue (http://aws.amazon.com/elasticloadbalancing/)</p>
<div class="author">Answered by <a href="http://serverfault.com/users/125736/timka" target="_blank">Timka</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/446824/adding-multiple-websites-with-different-ssl-certificates-in-iis-7" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/adding-multiple-websites-with-different-ssl-certificates-in-iis-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Standard configuration of a webservers filesystem [closed]</title>
		<link>http://adminsgoodies.com/standard-configuration-of-a-webservers-filesystem-closed/</link>
		<comments>http://adminsgoodies.com/standard-configuration-of-a-webservers-filesystem-closed/#comments</comments>
		<pubDate>Wed, 31 Oct 2012 16:35:40 +0000</pubDate>
		<dc:creator>tom</dc:creator>
				<category><![CDATA[General Questions]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[webserver]]></category>

		<guid isPermaLink="false">http://adminsgoodies.com/standard-configuration-of-a-webservers-filesystem-closed/</guid>
		<description><![CDATA[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] [...]]]></description>
				<content:encoded><![CDATA[<h3 class="pq"><img src="http://adminsgoodies.com/imgs/question.png" alt="Question" /></h3>
<p>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</p>
<pre><code>/data
</code></pre>
<p>and inside this have all the directories for my data on this webserver like so:</p>
<pre><code>/data 
    /websites                    [websites directories]
    /ssl_certs                   [secure certificates for sites]
    /vhosts                      [virtual host files for sites]
    /config                      [Software config files (apache, mod_security etc.)
        /apache2                 [Apache Server Config files]
        /proftpd                 [FTP Server Config files]
    /utilities                   [Misc Bash Scripts]
</code></pre>
<p>this would mean if i had to replicate this server, i could install and config the required packages and then copy this folder across which will contain all of my data. Also i could backup everything on my server easily and quickly so in the event of needing to restore i would have all my data in one place.</p>
<p>so i have 3 questions:</p>
<p>is this a good idea or would it be more hassle than its worth?</p>
<p>would there be any security implications of doing things this way?</p>
<p>what is the standard way of doing this if the above is not feasible?</p>
<div class="author">Asked by <a href="http://serverfault.com/users/98452/mike-b" target="_blank">Mike B</a></div>
<h3 class="pa"><img src="http://adminsgoodies.com/imgs/answer.png" alt="Answer" /></h3>
<p>Different sites do different things; if you have a backup system in place and disaster recovery plan that is thoroughly documented, and your config files are properly set up, where you put the files won&#8217;t matter. </p>
<p>&#8220;Standards&#8221;&#8230;there&#8217;s so many of them that it&#8217;s a stupid name. There are <em>typical</em> sites but even that varies by distro and web server. </p>
<p>In the end, if you have it properly documented and backed up, this shouldn&#8217;t be a problem. Do what fits best with your business/workflow and don&#8217;t worry about it.</p>
<div class="author">Answered by <a href="http://serverfault.com/users/13647/bart-silverstrim" target="_blank">Bart Silverstrim</a></div>
<p class="ref-link">Check <a href="http://serverfault.com/questions/348033/standard-configuration-of-a-webservers-filesystem" target="_blank">more discussion</a> of this question.</p>
]]></content:encoded>
			<wfw:commentRss>http://adminsgoodies.com/standard-configuration-of-a-webservers-filesystem-closed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
