<?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>Tech Titbits &#187; Web Hosting</title>
	<atom:link href="http://techtitbits.com/category/web-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://techtitbits.com</link>
	<description>Titbits of technology, with extra sauce</description>
	<lastBuildDate>Sun, 22 Aug 2010 07:02:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Nginx reduces page load time, increases Googlebot activity</title>
		<link>http://techtitbits.com/2010/08/nginx-reduces-page-load-time-increases-googlebot-activity/</link>
		<comments>http://techtitbits.com/2010/08/nginx-reduces-page-load-time-increases-googlebot-activity/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 18:02:21 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[nginx]]></category>
		<category><![CDATA[page speed]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=538</guid>
		<description><![CDATA[After a small incident with a shared host, I moved my phpBB forum and a few other static sites to a VPS running on nginx. Nginx is a small, lightweight but very efficient web server created by Igor Sysoev, originally developed for www.rambler.ru, Russia&#8217;s second-largest web site. Due to it&#8217;s light-weightedness and efficiency, it is [...]


Related posts:<ol><li><a href='http://techtitbits.com/2010/08/wordpress-permalinks-in-nginx/' rel='bookmark' title='Permanent Link: WordPress permalinks in nginx'>WordPress permalinks in nginx</a></li>
<li><a href='http://techtitbits.com/2010/07/nginx-resolving-no-input-file-specified-error/' rel='bookmark' title='Permanent Link: Nginx: Resolving &#8220;No input file specified&#8221; error'>Nginx: Resolving &#8220;No input file specified&#8221; error</a></li>
<li><a href='http://techtitbits.com/2009/01/www-or-no-www/' rel='bookmark' title='Permanent Link: WWW or no-WWW?'>WWW or no-WWW?</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><a href="http://techtitbits.com/wp-content/uploads/2010/07/nginx.gif"><img src="http://techtitbits.com/wp-content/uploads/2010/07/nginx.gif" alt="nginx logo" title="nginx" width="121" height="32" class="alignright size-full wp-image-512" /></a>After a small incident with a shared host, I moved my phpBB forum and a few other static sites to a VPS running on nginx. <a href="http://nginx.net/" target="_blank">Nginx</a> is a small, lightweight but very efficient web server created by Igor Sysoev, originally developed for <a href="http://www.rambler.ru/">www.rambler.ru</a>, Russia&#8217;s second-largest web site. Due to it&#8217;s light-weightedness and efficiency, it is used by a lot of high traffic sites like <a href="http://www.wordpress.com" target="_blank" class="external text" title="http://www.wordpress.com" rel="nofollow">WordPress</a>, <a href="http://www.hulu.com" target="_blank" class="external text" title="http://www.hulu.com" rel="nofollow">Hulu</a>, <a href="http://www.github.com/" target="_blank" class="external text" title="http://www.github.com/" rel="nofollow">Github</a>, <a href="http://www.ohloh.net/" target="_blank" class="external text" title="http://www.ohloh.net/" rel="nofollow">Ohloh</a>, <a href="http://www.sourceforge.net" target="_blank" class="external text" title="http://www.sourceforge.net" rel="nofollow">SourceForge</a>, <a href="http://torrentreactor.net/" target="_blank" class="external text" title="http://torrentreactor.net/" rel="nofollow">TorrentReactor</a>, etc. After moving to Nginx, I noticed a significant improvement in page load times. The pages on the site load in around 0.0X seconds now, as reported by the phpBB&#8217;s measurement system. The pages also seem to be snappier as compared to the time when I was on Litespeed.</p>
<p>I recently noticed that apart for the decrease in page loading time, the activity of Googlebot has increased manyfold. Here&#8217;s a screen-shot of the report from Google Webmaster Tools :</p>
<p><a href="http://techtitbits.com/wp-content/uploads/2010/08/google_web_tools_nginx.png"><img class="aligncenter size-full wp-image-540" title="Google Webmaster Tools Nginx" src="http://techtitbits.com/wp-content/uploads/2010/08/google_web_tools_nginx.png" alt="Google Webmaster Tools Nginx" width="1024" height="768" /></a>Not bad, eh?</p>
<p>More recently, I moved this blog to the VPS running on Nginx, and I have not been disappointed. This blog is running on WordPress 3.0.1, with no caching plugins. The posts seem to load faster than ever, as evident from this Google Webmaster Tools report :</p>
<p><a href="http://techtitbits.com/wp-content/uploads/2010/08/google_webmaster_tools_nginx.png"><img class="aligncenter size-full wp-image-542" title="google webmaster tools nginx techtitbits" src="http://techtitbits.com/wp-content/uploads/2010/08/google_webmaster_tools_nginx.png" alt="google webmaster tools nginx techtitbits" width="1024" height="768" /></a></p>
<p>I couldn&#8217;t be more happy.</p>
<p>PS: Of course, some of the speed improvement can be attributed to the fact that I moved from a shared server to a VPS, but that doesn&#8217;t undermine the awesomeness that is Nginx.</p>
<p>PPS: Just in case anyone&#8217;s interested, I&#8217;m providing limited slots for hosting your site on this VPS. If you are interested, <a href="http://animorphsfanforum.com/hosting/">visit the page</a>.</p>


<p>Related posts:<ol><li><a href='http://techtitbits.com/2010/08/wordpress-permalinks-in-nginx/' rel='bookmark' title='Permanent Link: WordPress permalinks in nginx'>WordPress permalinks in nginx</a></li>
<li><a href='http://techtitbits.com/2010/07/nginx-resolving-no-input-file-specified-error/' rel='bookmark' title='Permanent Link: Nginx: Resolving &#8220;No input file specified&#8221; error'>Nginx: Resolving &#8220;No input file specified&#8221; error</a></li>
<li><a href='http://techtitbits.com/2009/01/www-or-no-www/' rel='bookmark' title='Permanent Link: WWW or no-WWW?'>WWW or no-WWW?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2010/08/nginx-reduces-page-load-time-increases-googlebot-activity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unexpected email and Alexa bot</title>
		<link>http://techtitbits.com/2010/07/unexpected-email-and-alexa-bot/</link>
		<comments>http://techtitbits.com/2010/07/unexpected-email-and-alexa-bot/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 06:35:30 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[alexa]]></category>
		<category><![CDATA[email]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=517</guid>
		<description><![CDATA[I got a surprise today when I found that I have an email in my inbox from webmaster@animorphsfanforum.com. The email had subject &#8220;Subject&#8221; and has content &#8220;Content&#8221;. My first instinct was that someone has hacked into my VPS. After a few minutes of mind-racking, I remembered that I had created a PHP file on the [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<p>I got a surprise today when I found that I have an email in my inbox from webmaster@animorphsfanforum.com. The email had subject &#8220;Subject&#8221; and has content &#8220;Content&#8221;. My first instinct was that someone has hacked into my VPS. After a few minutes of mind-racking, I remembered that I had created a PHP file on the VPS named &#8216;mail.php&#8217; to test whether emails were being sent. But, no one knew of it&#8217;s existence except me. Someone must&#8217;ve stumbled upon it my chance. </p>
<p>I logged into my VPS and checked the access logs.</p>
<pre class="brush: bash;">cat animorphsfanforum.access.log | grep 'mail.php'</pre>
<pre class="brush: plain;">174.129.237.157 - - [20/Jul/2010:05:32:40 +0000] &quot;GET /mail.php HTTP/1.0&quot; 200 0 &quot;-&quot; &quot;ia_archiver (+http://www.alexa.com/site/help/webmasters; crawler@alexa.com)&quot;</pre>
<p>I have a Firefox plugin to check the Alexa rank, and the URL must&#8217;ve been sent to Alexa when I executed that script for the first time. The Alexa bot sent the email while crawling the URL.</p>
<p>Much ado about nothing?</p>


<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2010/07/unexpected-email-and-alexa-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WWW or no-WWW?</title>
		<link>http://techtitbits.com/2009/01/www-or-no-www/</link>
		<comments>http://techtitbits.com/2009/01/www-or-no-www/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 19:18:18 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[no-www]]></category>
		<category><![CDATA[non-www]]></category>
		<category><![CDATA[www]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=99</guid>
		<description><![CDATA[Webmasters often face this dilemma &#8211; to include www in front of their domain or to exclude it. This is an oft-argued about topic in many webmasters&#8217; discussion forums. However, there are some advantages and disadvantages on both sides. Advantages : Not using WWW : WWW is actually a subdomain. Would you like users to [...]


Related posts:<ol><li><a href='http://techtitbits.com/2008/07/a-guide-to-dns/' rel='bookmark' title='Permanent Link: A guide to DNS'>A guide to DNS</a></li>
<li><a href='http://techtitbits.com/2008/07/how-to-set-up-a-sub-subdomain/' rel='bookmark' title='Permanent Link: How to set up a sub subdomain'>How to set up a sub subdomain</a></li>
<li><a href='http://techtitbits.com/2008/08/how-to-change-hosts-without-any-downtime-step-by-step/' rel='bookmark' title='Permanent Link: How to change hosts without any downtime, step by step'>How to change hosts without any downtime, step by step</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Webmasters often face this dilemma &#8211; to include www in front of their domain or to exclude it. This is an oft-argued about topic in many webmasters&#8217; discussion forums. However, there are some advantages and disadvantages on both sides.</p>
<p><span style="text-decoration: underline;">Advantages :</span><br />
<strong>Not using WWW :</strong></p>
<ul>
<li>WWW is actually a subdomain. Would you like users to access your site using a subdomain?</li>
<li>WWW, as pointed out by <a title="No-WWW" href="http://no-www.org/" target="_blank">No-WWW.org</a>, is deprecated. There is no purpose of typing www into the address bar except following a premeditated custom.</li>
<li>Users have to type less into the address bat to access your website.</li>
<li>Long domain names look better without the www.</li>
<li>According to some, not using www has a geekyness or coolness factor associated with it.</li>
</ul>
<p><strong>Using WWW :</strong></p>
<ul>
<li>People tend to trust sites which use WWW. Many take a WWW at the front of the domain name to be a sign of reliability and trust.</li>
<li>Most of the biggest players in the web industry use a WWW before their domain names.</li>
</ul>
<p><span style="text-decoration: underline;">Disadvantages :</span></p>
<p><strong>Not using WWW :</strong></p>
<ul>
<li>People tend to think that sites not using www are unreliable and unscrupulous.</li>
<li>Not using WWW presents some difficulties while load balancing. The most common load balancing setup involves duplicating the files and the databases across different servers and pointing the WWW subdomain to those servers using CNAME records. But according to DNS specifications, bare domain names cannot have CNAME records. So, what is commonly done is, the domain is pointed to the different servers using A records instead of CNAME records. This essentially results in load sharing, not load balancing. In this configuration, the user won&#8217;t automatically load the page from the least loaded server, instead the requested page will be randomly served by any of the server.</li>
</ul>
<p><strong>Using WWW :</strong></p>
<ul>
<li>There is actually no feasible disadvantage of using WWW. However, we can say that while requesting a page, using www, we actually have to type out 3 extra Ws, and those three extra Ws are sent to the DNS servers for resolving. However, in this age of gigabit communication, such things hardly matter.</li>
</ul>
<p>Now you&#8217;ll have to choose what you should implement for you website: WWW or no-WWW. Here are the .htaccess codes for redirecting users from www to non-www URLs and vice versa :</p>
<p><strong>Redirection Codes :</strong></p>
<p><span style="text-decoration: underline;">WWW to Non-WWW :</span></p>
<ul>
<pre class="brush: plain;">Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www\.(.+)$ [NC]
RewriteRule ^(.*)$ http://%1/$1 [R=301,L]</pre>
</ul>
<p><span style="text-decoration: underline;">Non-WWW to WWW :</span></p>
<ul>
<pre class="brush: plain;">Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domain.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]</pre>
</ul>
<p>However, there is a common misconceptions about WWW/Non-WWW :</p>
<p>Q. <em>Having both WWW and Non-WWW URLs valid is bad for SEO and will result in penalization.</em></p>
<p>A. This isn&#8217;t sufficient evidence to support this statement. Search engines like Google and Yahoo! have algorithms that are intelligent enough to know that www and non-www versions of a website are same. However, in some rare cases, it has been found that www and non-www versions of a page have different <a href="http://ebizvaluations.com/page-rank/" target="_blank">pageranks</a>. So, it&#8217;s best to specify your preference (www/ non-www) using <a title="Google Webmaster Tools" href="https://www.google.com/webmasters/tools/dashboard" target="_blank">Google Webmaster Tools</a> and direct all traffic to either www or non-www versions of your site.</p>


<p>Related posts:<ol><li><a href='http://techtitbits.com/2008/07/a-guide-to-dns/' rel='bookmark' title='Permanent Link: A guide to DNS'>A guide to DNS</a></li>
<li><a href='http://techtitbits.com/2008/07/how-to-set-up-a-sub-subdomain/' rel='bookmark' title='Permanent Link: How to set up a sub subdomain'>How to set up a sub subdomain</a></li>
<li><a href='http://techtitbits.com/2008/08/how-to-change-hosts-without-any-downtime-step-by-step/' rel='bookmark' title='Permanent Link: How to change hosts without any downtime, step by step'>How to change hosts without any downtime, step by step</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2009/01/www-or-no-www/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to change hosts without any downtime, step by step</title>
		<link>http://techtitbits.com/2008/08/how-to-change-hosts-without-any-downtime-step-by-step/</link>
		<comments>http://techtitbits.com/2008/08/how-to-change-hosts-without-any-downtime-step-by-step/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 13:59:30 +0000</pubDate>
		<dc:creator>Ellimist</dc:creator>
				<category><![CDATA[DNS]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[change host]]></category>
		<category><![CDATA[downtime]]></category>
		<category><![CDATA[name server]]></category>
		<category><![CDATA[no downtime]]></category>
		<category><![CDATA[nslookup]]></category>

		<guid isPermaLink="false">http://techtitbits.com/?p=39</guid>
		<description><![CDATA[A common question asked in the various online discussion forums nowadays is &#8220;How do I shift/change hosts without any downtime?&#8221;. Well, here&#8217;s how to do it, step by step. Step 1 : First, add your domain to the control panel of your new host. This way, you&#8217;ll ensure that their name servers are updated with [...]


Related posts:<ol><li><a href='http://techtitbits.com/2008/07/a-guide-to-dns/' rel='bookmark' title='Permanent Link: A guide to DNS'>A guide to DNS</a></li>
<li><a href='http://techtitbits.com/2009/01/www-or-no-www/' rel='bookmark' title='Permanent Link: WWW or no-WWW?'>WWW or no-WWW?</a></li>
<li><a href='http://techtitbits.com/2008/07/how-to-set-up-a-sub-subdomain/' rel='bookmark' title='Permanent Link: How to set up a sub subdomain'>How to set up a sub subdomain</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A common question asked in the various online discussion forums nowadays is &#8220;How do I shift/change hosts without any downtime?&#8221;. Well, here&#8217;s how to do it, step by step.</p>
<ul>
<li><span style="text-decoration: underline;">Step 1 :</span></li>
<p>First, add your domain to the control panel of your new host. This way, you&#8217;ll ensure that their name servers are updated with your domain&#8217;s information, when you point your domain to your new host.</p>
<li><span style="text-decoration: underline;">Step 2 :</span></li>
<p>Put your site in read-only mode or maintenance mode. This way, you can ensure that your content do not change while you shift your files. Put up a short message informing visitors of the shifting of hosts. If your site consists of static HTML files, you do not need to worry about this.<br />
<em>Note : Most forums have an option for turning on the maintenance mode. For a WordPress blog, you might consider using the <a title="Maintenance Mode plugin" href="http://wordpress.org/extend/plugins/maintenance-mode/" target="_blank">Maintenance Mode plugin.</a></em></p>
<li><span style="text-decoration: underline;">Step 3 :</span></li>
<p>Next, backup everything : your databases, files. If you use cPanel, use the <a title="backing up using cPanel" href="http://www.cpanel.net/docs/cpanel/Generating_a_full_backup.htm" target="_blank">Backup</a> feature to backup your files and databases. You might also request your current host to backup your databases and files for you and they should probably do it. You can also manually download all your files using an FTP client and backup your databases with tools like <a title="phpMyAdmin" href="http://www.phpmyadmin.net/ " target="_blank">phpMyAdmin</a>.</p>
<li><span style="text-decoration: underline;">Step 4 :</span></li>
<p>Now upload the files into your new web host&#8217;s webspace. Most hosts provide a way of uploading your files and databases and view your site before the DNS changes propagate. However if your host does not provide you any such a way, you can take help of a little trick.<br />
<em>Note : This would not work unless you have performed the instructions in step 1 of this guide.</em></p>
<p>Take a note of your new host&#8217;s name servers. Let&#8217;s say, they are <em>ns1.newhost.com</em> and <em>ns2.newhost.com</em>. Now let&#8217;s query those name servers about your domain using the nslookup utility. Go to Start&gt;Run and type in the following :</p>
<p><code>nslookup yourdomain.com ns1.newhost.com</code></p>
<p>Replace <em>yourdomain.com</em> with the name of your domain.<br />
The query should output something like this :</p>
<p><code>Server:  ns1.newhost.com<br />
Address:  XXX.XXX.XXX.XXX</code></p>
<p><code>Name:    mydomain.com<br />
Address:  1.2.3.4</code></p>
<p>Take a note of the IP address of mydomain.com. Now, go to &#8216;C:\WINDOWS\system32\drivers\etc&#8217; and open the file named &#8216;hosts&#8217; with a text editor. On a new blank line, add the following lines :</p>
<pre><code>1.2.3.4    yourdomain.com
1.2.3.4    www.yourdomain.com</code></pre>
<p>Replace <em>yourdomain.com</em> and <em>1.2.3.4</em> with their real-life equivalents.</p>
<p>Now your domain will be pointed to the IP address of your new host&#8217;s server <span style="text-decoration: underline;">only for you</span>. Now you can upload your files, databases to your new host using <em>yourdomain.com</em> as the URL. After uploading everything, check whether your site is looking as it should and whether it&#8217;s generating any errors. If there is any errors or discrepancies, correct them. You should make a minor, but noticable change to your index file at your new host so that you can know if the DNS changes have propagated. <span style="text-decoration: underline;">After this you should remove the two lines from the &#8216;hosts&#8217; file that you previously added to it, so that the domain resolves to your old host.</span></p>
<li><span style="text-decoration: underline;">Step 5 :</span></li>
<p>Now it&#8217;s time to change the DNS record of your domain. First we have to check if your new host&#8217;s name servers have been updated with records of your domain. For this, we need to run an nslookup query. Go to Start&gt;Run and type in :</p>
<p><code>nslookup yourdomain.com ns1.newhost.com</code></p>
<p>If the query returns a non-authoritative answer or a &#8220;*** UnKnown can&#8217;t find yourdomain.com: Server failed&#8221; result, then your new host&#8217;s name servers haven&#8217;t updated yet. Use the same nslookup query to query the name servers again after some time. Repeat this process until it doesn&#8217;t return a non-authoritative answer or gives errors for your domain name. Usually, a name server updates itself every 15 minutes, but there may be exceptions. Now it&#8217;s safe to change your DNS records. Change your name servers to that of your new host&#8217;s <span style="text-decoration: underline;">OR</span> change your A records to point your domain to your new host&#8217;s server&#8217;s IP, whichever you wish. The DNS changes will take around 24 to 48 hours to propagate around the world. You&#8217;ll know that the changes have propagated when you notice the minor change in your website which you did in Step 4.</ul>
<p>Don&#8217;t delete your old hosting account yet. Until the DNS changes propagate around the world, people will go to your site hosted at your old host. It&#8217;s usually safe to delete your old hosting account after 5 days.</p>
<p>This pretty much concludes this article. If you face any problems while following the steps above, leave a comment and I&#8217;ll gladly help you.</p>
<p>See also : <a href="http://www.experienced-people.co.uk/1058-due-diligence/tools.htm" target="_blank" rel="external nofollow">Automated website tools</a>.</p>


<p>Related posts:<ol><li><a href='http://techtitbits.com/2008/07/a-guide-to-dns/' rel='bookmark' title='Permanent Link: A guide to DNS'>A guide to DNS</a></li>
<li><a href='http://techtitbits.com/2009/01/www-or-no-www/' rel='bookmark' title='Permanent Link: WWW or no-WWW?'>WWW or no-WWW?</a></li>
<li><a href='http://techtitbits.com/2008/07/how-to-set-up-a-sub-subdomain/' rel='bookmark' title='Permanent Link: How to set up a sub subdomain'>How to set up a sub subdomain</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://techtitbits.com/2008/08/how-to-change-hosts-without-any-downtime-step-by-step/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
