<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>web-hosting on S Anand</title>
    <link>https://www.s-anand.net/blog/tag/web-hosting/</link>
    <description>Recent content in web-hosting on S Anand</description>
    <generator>Hugo -- 0.164.0</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 26 Dec 2012 09:28:15 +0000</lastBuildDate>
    <atom:link href="https://www.s-anand.net/blog/tag/web-hosting/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Github page-only repository</title>
      <link>https://www.s-anand.net/blog/github-page-only-repository/</link>
      <pubDate>Fri, 14 Dec 2012 02:54:51 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/github-page-only-repository/</guid>
      <description>&lt;p&gt;Github offers &lt;a href=&#34;http://pages.github.com/&#34;&gt;Github Pages&lt;/a&gt; that let you host web pages on Github.&lt;/p&gt;
&lt;p&gt;You create these by adding a branch to git called &lt;code&gt;gh-pages&lt;/code&gt;, and this is often in addition to the default branch &lt;code&gt;master&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I just needed the &lt;code&gt;gh-pages&lt;/code&gt; branch. So &lt;a href=&#34;http://blog.yjl.im/2012/02/pushing-to-github-pages-gh-pages-branch.html&#34;&gt;thanks to YJL&lt;/a&gt;, here&amp;rsquo;s the simplest way to do it.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/new&#34;&gt;Create the repository&lt;/a&gt;on github.&lt;/li&gt;
&lt;li&gt;Create your local repository and &lt;code&gt;git commit&lt;/code&gt;into it.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;git push -u origin master:gh-pages&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In &lt;code&gt;.git/config&lt;/code&gt;, under the &lt;code&gt;[remote &amp;quot;origin&amp;quot;]&lt;/code&gt; section, add &lt;code&gt;push = +refs/heads/master:refs/heads/gh-pages&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The magic is the last :gh-pages.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Monitoring site downtime</title>
      <link>https://www.s-anand.net/blog/monitoring-site-downtime/</link>
      <pubDate>Mon, 24 Dec 2007 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/monitoring-site-downtime/</guid>
      <description>&lt;blockquote&gt;
&lt;p&gt;If something goes wrong with my site, I like to know of it. My top three problems are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;#start1&#34;&gt;The site is down&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.s-anand.net/blog/handling-missing-pages/&#34;&gt;A page is missing&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.s-anand.net/blog/javascript-error-logging/&#34;&gt;Javascript isn&amp;rsquo;t working&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&amp;rsquo;ll talk about how I manage these over 3 articles.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;My site used to go down a lot. Initially that was because I kept playing around with &lt;a href=&#34;http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html&#34;&gt;mod_rewrite&lt;/a&gt; and other &lt;a href=&#34;http://httpd.apache.org/docs/1.3/mod/&#34;&gt;Apache modules&lt;/a&gt; without quite understanding them. I&amp;rsquo;d make a change and upload it without testing. (I&amp;rsquo;m like that.) And then I&amp;rsquo;d go to sleep.&lt;/p&gt;
&lt;p&gt;Next morning, the site&amp;rsquo;s down, and has been down all night.&lt;/p&gt;
&lt;p&gt;This is a bit annoying. Partly because I couldn&amp;rsquo;t use my site, but mostly because of the &lt;strong&gt;Oh yeah, sorry &amp;ndash; I goofed up last night&lt;/strong&gt; replies that I have to send out the next day.&lt;/p&gt;
&lt;p&gt;So I started using &lt;a href=&#34;http://site24x7.com&#34;&gt;Site24x7&lt;/a&gt; to track if my website was down. It&amp;rsquo;s a convenient (and free) service. It pings my site every hour. If it&amp;rsquo;s down, I get an SMS. If it&amp;rsquo;s back up, I get an SMS. It also keeps a history of how often the site is down.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-site24x7_2133283449_o-png.webp&#34; title=&#34;Site24x7 by S Anand, on Flickr&#34;&gt;&lt;img alt=&#34;Site24x7&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-site24x7_2133283449_o-png.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Over time, I stopped making mistakes. But my site still kept going down, thanks to my hosting service (&lt;a href=&#34;http://www.100webspace.com&#34;&gt;100WebSpace&lt;/a&gt;). When I goof up, it&amp;rsquo;s just an annoyance, and I can fix it. But when my hosting service goes down, it&amp;rsquo;s more than that. My site is where I &lt;a href=&#34;https://www.s-anand.net/blog/hindi&#34;&gt;listen to music&lt;/a&gt;, &lt;a href=&#34;https://www.s-anand.net/blog/dilbert.html#today&#34;&gt;read comics&lt;/a&gt;, &lt;a href=&#34;https://www.s-anand.net/blog/bookmarks/&#34;&gt;read RSS feeds&lt;/a&gt;, &lt;a href=&#34;https://www.s-anand.net/blog/searchengines.html&#34;&gt;use custom search engines&lt;/a&gt;, watch movies, browse for books, etc. Not being able to do these things &amp;ndash; nor fix the site &amp;ndash; is suffocating.&lt;/p&gt;
&lt;p&gt;Worse, I couldn&amp;rsquo;t sleep. I use my mobile as my alarm. It&amp;rsquo;s annoying to hear an SMS from under your pillow at 3am every day &amp;ndash; especially if it says your site is down.&lt;/p&gt;
&lt;p&gt;So I switched to &lt;a href=&#34;http://www.hostgator.com&#34;&gt;HostGator&lt;/a&gt; a few months ago. Nowadays, the site is down a lot less. (In times of trouble, it becomes sluggish, but doesn&amp;rsquo;t actually go down.)&lt;/p&gt;
&lt;p&gt;That came at a cost, though. I was paying 100 WebSpace about $25 per annum. I&amp;rsquo;m paying Hostgator about $75 per annum. Being the kind that &lt;a href=&#34;https://www.s-anand.net/blog/how-i-buy-gadgets/&#34;&gt;analyses purchases to death&lt;/a&gt;, the big question for me was, is this worth it. There is where my other problem with the site being down kicks in. I get a bit of &lt;a href=&#34;http://www.google.com/adsense/&#34;&gt;ad revenue&lt;/a&gt; from my site, and I lose that when the site&amp;rsquo;s down. (Not that it&amp;rsquo;s much. Still&amp;hellip;)&lt;/p&gt;
&lt;p&gt;According to Site24x7, my site was up ~98% of the time. So I&amp;rsquo;m losing about 2% of my potential ad revenue. For the extra $50 to be worth it, my ad revenue needs to be more than $50 / 2% = $2,500 per annum. I&amp;rsquo;m nowhere near it. So the switch isn&amp;rsquo;t actually a good idea economically, but it does make life convenient (which is pretty important) and I sleep better (much more so).&lt;/p&gt;
&lt;p&gt;The important thing, I&amp;rsquo;ve realised, is not just to track this stuff. That&amp;rsquo;s useful, sure. But what really made Site24x7 useful to me is that it would &lt;strong&gt;alert me&lt;/strong&gt; when there was &lt;strong&gt;a big problem&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;There are many kinds of alerting.&lt;/p&gt;
&lt;p&gt;There&amp;rsquo;s a report you can view whenever you remember to view it. (It could be an RSS feed, so at least &lt;a href=&#34;https://www.s-anand.net/blog/advanced-google-reader/&#34;&gt;you won&amp;rsquo;t have to remember the site&lt;/a&gt;. But you still need to read your feeds.)&lt;/p&gt;
&lt;p&gt;Then there&amp;rsquo;s the more pushy alerting: sending you an e-mail. That may catch you instantly for the half of the day that you&amp;rsquo;re online. Or, if you&amp;rsquo;re like me, it may completely escape your attention. (I don&amp;rsquo;t read e-mail.)&lt;/p&gt;
&lt;p&gt;And then there&amp;rsquo;s the equivalent of shaking you by the shoulder &amp;ndash; getting an SMS. (At least, that&amp;rsquo;s how it is for me. Incidentally, I don&amp;rsquo;t reply to SMS either. Calling me gets a reply. Nothing else.)&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;type of alerting is clearly a function of the severity of the problem&lt;/strong&gt;. Wake me up when my site goes down. Don&amp;rsquo;t wake me up if a link is broken.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;http://www.site24x7.com/&#34;&gt;Site24x7&lt;/a&gt; sends me an SMS when my site is down. Fits the bill perfectly.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Arun&lt;/strong&gt; &lt;em&gt;24 Dec 2007 12:00 pm&lt;/em&gt;:
Thanks for your post on Site24x7. Glad that you liked it! Arun Site24x7&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Noel&lt;/strong&gt; &lt;em&gt;24 Dec 2007 12:00 pm&lt;/em&gt;:
You can also try &lt;a href=&#34;http://www.dotcom-monitor.com/&#34;&gt;Dotcom-monitor&lt;/a&gt;. It smart and cheap service&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Where you host determines your page rank on Google</title>
      <link>https://www.s-anand.net/blog/where-you-host-determines-your-page-rank-on-google/</link>
      <pubDate>Sun, 24 Sep 2006 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/where-you-host-determines-your-page-rank-on-google/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.netlash.com/log/googles_dirty_little_secret&#34;&gt;Google&amp;rsquo;s dirty little secret&lt;/a&gt; talks about how Google determines whether your site appears on top for a search depending on whether you and the searcher are in the same geography or not. So if your server is in Kazakhstan, expect fewer hits.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Site Helper</title>
      <link>https://www.s-anand.net/blog/site-helper/</link>
      <pubDate>Tue, 20 Dec 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/site-helper/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.site-helper.com/&#34;&gt;Site Helper&lt;/a&gt;: simple instructions on how to get a web site up and running.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Google Music Search and Google Home Page API</title>
      <link>https://www.s-anand.net/blog/google-music-search-and-google-home-page-api/</link>
      <pubDate>Fri, 16 Dec 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/google-music-search-and-google-home-page-api/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.google.com/musicsearch?q=bryan+adams&#34;&gt;Google Music Search&lt;/a&gt; and the &lt;a href=&#34;http://www.google.com/apis/homepage/guide.html&#34;&gt;Home Page API&lt;/a&gt;. With the home page API, Google Base, and Blogger, looks like Google has bypassed conventional web hosting and become a Web 2.0 host.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Google domains</title>
      <link>https://www.s-anand.net/blog/google-domains/</link>
      <pubDate>Wed, 02 Feb 2005 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/google-domains/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://news.com.com/Google+gets+rights+as+Web+site+registrar/2100-1032_3-5559164.html?part=rss&amp;amp;tag=5559164&amp;amp;subj=news.1032.20&#34;&gt;Google domains&lt;/a&gt; is next, possibly leading into site hosting with 1GB space, and linkages with Blogger.&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Bhuvan&lt;/strong&gt; &lt;em&gt;2 Feb 2005 12:00 pm&lt;/em&gt;:
nice to have you back Anand&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;S Anand&lt;/strong&gt; &lt;em&gt;2 Feb 2005 12:00 pm&lt;/em&gt;:
Font size of comments? Or the whole page? The latter can be increased through View - Text Size - Larger&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Sumeer&lt;/strong&gt; &lt;em&gt;2 Feb 2005 12:00 pm&lt;/em&gt;:
can you do something about the font sizes&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>Blogspamming</title>
      <link>https://www.s-anand.net/blog/blogspamming/</link>
      <pubDate>Tue, 29 Oct 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/blogspamming/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.wired.com/news/culture/0,1284,56017,00.html&#34;&gt;Blogspamming: the new phenomenon&lt;/a&gt;. It works only if you have a referral log, and look at it. Unfortunately for me, thanks to my crazy domain hosting service, I am blogspam-immune. &lt;a href=&#34;http://www.kuro5hin.org/?op=displaystory;sid=2002/10/27/192238/97&#34;&gt;via kuro5hin&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Domains and hosting</title>
      <link>https://www.s-anand.net/blog/domains-and-hosting/</link>
      <pubDate>Wed, 23 Oct 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/domains-and-hosting/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.rediff.com/search/2002/oct/22domain.htm&#34;&gt;Anita&amp;rsquo;s article on domains and hosting&lt;/a&gt;.&lt;/p&gt;
</description>
    </item>
    <item>
      <title>Mumbai bloggers meet photos unavailable</title>
      <link>https://www.s-anand.net/blog/mumbai-bloggers-meet-photos-unavailable/</link>
      <pubDate>Tue, 08 Oct 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/mumbai-bloggers-meet-photos-unavailable/</guid>
      <description>&lt;p&gt;The Mumbai Bloggers&amp;rsquo; Meet photos are out of action. The site should be back some time today. The page is about 1.5MB (including pictures), and my quota is 50MB per day. So about 33 hits is enough to kill the page.&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;https://www.s-anand.net/blog/assets/flickr-quota-exceeded-error-at-sanandnetfirmscom_24685610_o-gif.webp&#34;&gt;&lt;img alt=&#34;Quota exceeded error at sanand.netfirms.com&#34; loading=&#34;lazy&#34; src=&#34;https://www.s-anand.net/blog/assets/flickr-quota-exceeded-error-at-sanandnetfirmscom_24685610_o-gif.webp&#34;&gt;&lt;/a&gt;&lt;/p&gt;
</description>
    </item>
    <item>
      <title>DomainsNext</title>
      <link>https://www.s-anand.net/blog/domainsnext/</link>
      <pubDate>Thu, 25 Apr 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/domainsnext/</guid>
      <description>&lt;p&gt;&lt;a href=&#34;http://www.domainsnext.com/&#34;&gt;DomainsNext&lt;/a&gt; works out cheaper ($18) than &lt;a href=&#34;http://www.namezero.com&#34;&gt;Namezero&lt;/a&gt; ($25) for a 1-year registration. But is it worth the effort?&lt;/p&gt;
&lt;hr&gt;
&lt;h2 id=&#34;comments&#34;&gt;Comments&lt;/h2&gt;
&lt;!-- wp-comments-start --&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;peytonman&lt;/strong&gt; &lt;em&gt;3 Feb 2007 6:33 am&lt;/em&gt;:
Actually domainsnext.com is only $11.95 for registration theyre the best&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;peytonman&lt;/strong&gt; &lt;em&gt;3 Feb 2007 6:33 am&lt;/em&gt;:
And the hosting is good too on domainsnext&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;peytonman&lt;/strong&gt; &lt;em&gt;6 Feb 2007 12:43 am&lt;/em&gt;:
&lt;a href=&#34;http://www.domainsnext.com/&#34;&gt;http://www.domainsnext.com/&lt;/a&gt; They also offer hosting and website creators&lt;/li&gt;
&lt;/ul&gt;
&lt;!-- wp-comments-end --&gt;
</description>
    </item>
    <item>
      <title>No FTP on Geocities</title>
      <link>https://www.s-anand.net/blog/no-ftp-on-geocities/</link>
      <pubDate>Fri, 01 Mar 2002 12:00:00 +0000</pubDate>
      <guid>https://www.s-anand.net/blog/no-ftp-on-geocities/</guid>
      <description>&lt;p&gt;I hate this. &amp;ldquo;Beginning April 2, 2002, we &amp;ndash; Geocities &amp;ndash; will no longer provide FTP access as part of our free home page service.&amp;rdquo; Nice of them to let me know well in advance, though.&lt;/p&gt;
</description>
    </item>
  </channel>
</rss>
