<?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>D&#039;Arcy Norman dot net &#187; hosting</title>
	<atom:link href="http://www.darcynorman.net/tag/hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.darcynorman.net</link>
	<description>apparently much happier in person</description>
	<lastBuildDate>Fri, 20 Nov 2009 03:52:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Moved to CanadianWebHosting.com</title>
		<link>http://www.darcynorman.net/2008/02/10/moved-to-canadianwebhostingcom/</link>
		<comments>http://www.darcynorman.net/2008/02/10/moved-to-canadianwebhostingcom/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 15:53:18 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[general]]></category>
		<category><![CDATA[canadianwebhosting]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">http://www.darcynorman.net/2008/02/10/moved-to-canadianwebhostingcom/</guid>
		<description><![CDATA[If you can read this, the move she is done. I&#8217;ll write more on that later, but hopefully the performance problems this site has been having for almost 2 years will be a thing of the past *touch ethernet*
 ]]></description>
			<content:encoded><![CDATA[<p>If you can read this, the move she is done. I&#8217;ll write more on that later, but hopefully the performance problems this site has been having for almost 2 years will be a thing of the past *touch ethernet*</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1817" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2008/02/10/moved-to-canadianwebhostingcom/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Script for running Cron on all sites in a shared Drupal instance</title>
		<link>http://www.darcynorman.net/2007/01/01/script-for-running-cron-on-all-sites-in-a-shared-drupal-instance/</link>
		<comments>http://www.darcynorman.net/2007/01/01/script-for-running-cron-on-all-sites-in-a-shared-drupal-instance/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[drupal]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">1689411003</guid>
		<description><![CDATA[After realizing that the sympal_scripts were silently failing to properly call cron.php on sites served from subdirectories on a shared Drupal multisite instance, I rolled up my sleeves to build a script that actually worked. What I've come up with works, but is likely not the cleanest or most efficient way of doing things. But it works. Which is better than the solution I had earlier today.

I also took the chance to get more familiar with Ruby. I could have come up with a shell script solution, but I wanted the flexibility to more easily extend the script as needed. And I wanted the chance to play with Ruby in a non-Hello-World scenario.

Here's the code:

<pre><code>#!/usr/local/bin/ruby

# Drupal multisite hosting auto cron.php runner
# Initial draft version by D'Arcy Norman dnorman@darcynorman.net
# URL goes here
# Idea and some code from a handy page by (some unidentified guy) at http://whytheluckystiff.net/articles/wearingRubySlippersToWork.html

require 'net/http'

# this script assumes that $base_url has been properly set in each site's settings.php file.
# further, it assumes that it is at the START of a line, with spacing as follows:
# $base_url = 'http://mywonderfuldrupalserver.com/site';
# also further, it assumes there is no comment before nor after the content of that line.


# customize this variable to point to your Drupal directory
drupalsitesdir = '/usr/www/drupal' # no trailing slash

Dir[drupalsitesdir + '/sites/**/*.php'].each do &#124;path&#124;
  File.open(path) do &#124;f&#124;
    f.grep( /^\$base_url = / ) do &#124;line&#124;
      line = line.strip();
      baseurl = line.gsub('$base_url = \'', '')
      baseurl = baseurl.gsub('\';', '')
      baseurl = baseurl.gsub('  // NO trailing slash!', '')

      if !baseurl.empty?
        cronurl = baseurl + "/cron.php"
        puts cronurl
 
        if !cronurl.empty?
          url = URI.parse(cronurl)
          req = Net::HTTP::Get.new(url.path)
          res = Net::HTTP.start(url.host, url.port) {&#124;http&#124;http.request(req)}
          puts res.body
        end
      end
    end
  end
end</code></pre>

No warranty, no guarantee. It works on my servers, and on my PowerBook.

Some caveats:

<ul>
<li>It requires a version of Ruby more recent than what ships on MacOSX 10.3 server. Easy enough to update, following the Ruby on Rails installation instructions.</li>
<li>It requires <code>$base_url</code> to be set in the <code>settings.php</code> file for each site you want to run <code>cron.php</code> on automatically.</li>
<li>It requires one trivial edit to the script, telling it where Drupal lives on your machine. I might take a look at parameterizing this so it could be run more flexibily.</li>
<li>It requires cron (or something similar) to trigger the script on a regular basis.</li>
</ul>]]></description>
			<content:encoded><![CDATA[<p>After realizing that the sympal_scripts were silently failing to properly call cron.php on sites served from subdirectories on a shared Drupal multisite instance, I rolled up my sleeves to build a script that actually worked. What I&#8217;ve come up with works, but is likely not the cleanest or most efficient way of doing things. But it works. Which is better than the solution I had earlier today.</p>
<p>I also took the chance to get more familiar with Ruby. I could have come up with a shell script solution, but I wanted the flexibility to more easily extend the script as needed. And I wanted the chance to play with Ruby in a non-Hello-World scenario.</p>
<p>Here&#8217;s the code:</p>
<pre><code>#!/usr/local/bin/ruby

# Drupal multisite hosting auto cron.php runner
# Initial draft version by D'Arcy Norman dnorman@darcynorman.net
# URL goes here
# Idea and some code from a handy page by (some unidentified guy) at http://whytheluckystiff.net/articles/wearingRubySlippersToWork.html

require 'net/http'

# this script assumes that $base_url has been properly set in each site's settings.php file.
# further, it assumes that it is at the START of a line, with spacing as follows:
# $base_url = 'http://mywonderfuldrupalserver.com/site';
# also further, it assumes there is no comment before nor after the content of that line.

# customize this variable to point to your Drupal directory
drupalsitesdir = '/usr/www/drupal' # no trailing slash

Dir[drupalsitesdir + '/sites/**/*.php'].each do |path|
  File.open(path) do |f|
    f.grep( /^\$base_url = / ) do |line|
      line = line.strip();
      baseurl = line.gsub('$base_url = \'', '')
      baseurl = baseurl.gsub('\';', '')
      baseurl = baseurl.gsub('  // NO trailing slash!', '')

      if !baseurl.empty?
        cronurl = baseurl + "/cron.php"
        puts cronurl

        if !cronurl.empty?
          url = URI.parse(cronurl)
          req = Net::HTTP::Get.new(url.path)
          res = Net::HTTP.start(url.host, url.port) {|http|http.request(req)}
          puts res.body
        end
      end
    end
  end
end</code></pre>
<p>No warranty, no guarantee. It works on my servers, and on my PowerBook.</p>
<p>Some caveats:</p>
<ul>
<li>It requires a version of Ruby more recent than what ships on MacOSX 10.3 server. Easy enough to update, following the Ruby on Rails installation instructions.</li>
<li>It requires <code>$base_url</code> to be set in the <code>settings.php</code> file for each site you want to run <code>cron.php</code> on automatically.</li>
<li>It requires one trivial edit to the script, telling it where Drupal lives on your machine. I might take a look at parameterizing this so it could be run more flexibily.</li>
<li>It requires cron (or something similar) to trigger the script on a regular basis.</li>
</ul>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1550" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2007/01/01/script-for-running-cron-on-all-sites-in-a-shared-drupal-instance/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Trouble with cron.php in a Drupal multisite configuration</title>
		<link>http://www.darcynorman.net/2006/12/29/trouble-with-cron-php-in-a-drupal-multisite-configuration/</link>
		<comments>http://www.darcynorman.net/2006/12/29/trouble-with-cron-php-in-a-drupal-multisite-configuration/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[drupal]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">730089426</guid>
		<description><![CDATA[I'm running a couple of servers full of Drupal sites hosted in a multisite configuration (one copy of Drupal used to host dozens of sites, each with their own <code>sites/sitename</code> directory. I'd been using sympal_scripts to automatically run Drupal's cron.php script for each site in order to keep search indexes up to date and run other routine maintenance functions as expected. It's easy enough to drop a <code>curl http://server/site/curl.php</code> into a crontab, but as you start adding sites to the server, it becomes unwieldy to maintain a current crontab of sites to cron.

Sympal_scripts attempts to read through the <code>scripts</code> directory, poking through each site and loading Drupal for each one in order to fire off the appropriate cron.php. It's been adding records to the Drupal watchdog table, so I expected it to be working just fine. Except it hasn't actually been running cron.php - it's been failing silently.

Looks like there's something funky in the way Drupal refers to the $base_url variable for the site. It's set in each settings.php file, so it should be as simple as returning the content of a string variable. But it's borking, and returning the name of the directory containing the site's settings.php file.

Say I've got a server, <code>myserver.com</code>, with a bunch of sites all configured to be served as subdirectories of that server's main website, such as <code>myserver.com/site1</code> and <code>myserver.com/site2</code>

Each site has a respective directory within the Drupal installation's <code>sites</code> directory, such as <code>myserver.com.site1</code> and <code>myserver.com.site2</code> (the / are converted to . for use in the directory name because / would be invalid in a directory or filename).

When Drupal is initialized by sympal_scripts/cron.php, it's getting <code>$base_url</code> values of <code>http://myserver.com.site1</code> and <code>http://myserver.com.site2</code>.

So, when it goes to fire off the cron task, it's using urls like: <code>http://myserver.com.site1/cron.php</code>

It works fine on sites configured to run on their own domain, as the domain matches the site directory.

WTF? The <code>http://</code> shows that it's reading the value within each settings.php file (or does it?), but why is it retaining the <code>.site1</code> rather than <code>/site1</code>?

Failing that, is there a better way to reliably run cron.php on a bunch of hosted sites? I'm thinking of writing a script that crawls the <code>sites</code> directory and pulls out the <code>$base_url</code> values for each site and then fires off a <code>curl base_url</code> on the lot of them.

It'd be really cool if Drupal's own cron.php had a command-line version, capable of operating on any (or all) configured sites. Any ideas?]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m running a couple of servers full of Drupal sites hosted in a multisite configuration (one copy of Drupal used to host dozens of sites, each with their own <code>sites/sitename</code> directory. I&#8217;d been using sympal_scripts to automatically run Drupal&#8217;s cron.php script for each site in order to keep search indexes up to date and run other routine maintenance functions as expected. It&#8217;s easy enough to drop a <code>curl http://server/site/curl.php</code> into a crontab, but as you start adding sites to the server, it becomes unwieldy to maintain a current crontab of sites to cron.</p>
<p>Sympal_scripts attempts to read through the <code>scripts</code> directory, poking through each site and loading Drupal for each one in order to fire off the appropriate cron.php. It&#8217;s been adding records to the Drupal watchdog table, so I expected it to be working just fine. Except it hasn&#8217;t actually been running cron.php &#8211; it&#8217;s been failing silently.</p>
<p>Looks like there&#8217;s something funky in the way Drupal refers to the $base_url variable for the site. It&#8217;s set in each settings.php file, so it should be as simple as returning the content of a string variable. But it&#8217;s borking, and returning the name of the directory containing the site&#8217;s settings.php file.</p>
<p>Say I&#8217;ve got a server, <code>myserver.com</code>, with a bunch of sites all configured to be served as subdirectories of that server&#8217;s main website, such as <code>myserver.com/site1</code> and <code>myserver.com/site2</code></p>
<p>Each site has a respective directory within the Drupal installation&#8217;s <code>sites</code> directory, such as <code>myserver.com.site1</code> and <code>myserver.com.site2</code> (the / are converted to . for use in the directory name because / would be invalid in a directory or filename).</p>
<p>When Drupal is initialized by sympal_scripts/cron.php, it&#8217;s getting <code>$base_url</code> values of <code>http://myserver.com.site1</code> and <code>http://myserver.com.site2</code>.</p>
<p>So, when it goes to fire off the cron task, it&#8217;s using urls like: <code>http://myserver.com.site1/cron.php</code></p>
<p>It works fine on sites configured to run on their own domain, as the domain matches the site directory.</p>
<p>WTF? The <code>http://</code> shows that it&#8217;s reading the value within each settings.php file (or does it?), but why is it retaining the <code>.site1</code> rather than <code>/site1</code>?</p>
<p>Failing that, is there a better way to reliably run cron.php on a bunch of hosted sites? I&#8217;m thinking of writing a script that crawls the <code>sites</code> directory and pulls out the <code>$base_url</code> values for each site and then fires off a <code>curl base_url</code> on the lot of them.</p>
<p>It&#8217;d be really cool if Drupal&#8217;s own cron.php had a command-line version, capable of operating on any (or all) configured sites. Any ideas?</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1547" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/12/29/trouble-with-cron-php-in-a-drupal-multisite-configuration/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Domain squatters suck</title>
		<link>http://www.darcynorman.net/2006/10/27/domain-squatters-suck/</link>
		<comments>http://www.darcynorman.net/2006/10/27/domain-squatters-suck/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[rants]]></category>

		<guid isPermaLink="false">168672363</guid>
		<description><![CDATA[I've been trying to move domain registration and DNS hosting for darcynorman.net from GoDaddy to Dreamhost for a couple of months. It's been a long and frustrating process, involving faxing my driver's license to Arizona to somehow prove I am who I say I am.<br /><br />I just logged into my Dreamhost account to check on the status (still hasn't finalized - they sure did set it up in a hurry, but it takes a looooong time to switch off of GoDaddy). On a lark, I tried adding registration for darcynorman.com. But Dreamhost's registration utility complained that the domain was already taken.<br /><br />Mwaaaah? Another D'Arcy Norman out there? Lemme check that out. A quick <code>whois darcynorman.com</code> turned up this:<br /><pre><code>&#160;&#160; Domain Name: DARCYNORMAN.COM<br />&#160;&#160; Registrar: GO DADDY SOFTWARE, INC.<br />&#160;&#160; Whois Server: whois.godaddy.com<br />&#160;&#160; Referral URL: http://registrar.godaddy.com<br />&#160;&#160; Name Server: CNS1.CANADIANWEBHOSTING.COM<br />&#160;&#160; Name Server: CNS2.CANADIANWEBHOSTING.COM<br />&#160;&#160; Status: REGISTRAR-LOCK<br />&#160;&#160; Updated Date: 16-mar-2006<br />&#160;&#160; Creation Date: 16-mar-2006<br />&#160;&#160; Expiration Date: 16-mar-2007</code></pre><br />Oh, wait. No. It's a domain squatter. Sitting on my name, assumedly hoping for a portion of the mad cash this blog generates. Mad cash, I tell you. Some lame squatter leech decided to register my name in the hopes I'd pay a ransom to get it back. At least the squatter is using a Canadian service provider to park the DNS for the domain. I guess that's better than having it offshored to Moscow or something.<br /><br />The combination of cheap domain registrations and "secure/private" registrations where you can hide behind a proxy make this practice possible. When I register domains, I need to go through CIRA verification, accept agreements about usage, etc... But these roaches can register other people's names and park them for ransom. Rules (like locks) are for the honest people.<br /><br />Screw you, squatter. I just went and registered darcynorman.ca - the only other variant of the domain I'd care about. Go ahead and squat on the rest, you rat bastage.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been trying to move domain registration and DNS hosting for darcynorman.net from GoDaddy to Dreamhost for a couple of months. It&#8217;s been a long and frustrating process, involving faxing my driver&#8217;s license to Arizona to somehow prove I am who I say I am.</p>
<p>I just logged into my Dreamhost account to check on the status (still hasn&#8217;t finalized &#8211; they sure did set it up in a hurry, but it takes a looooong time to switch off of GoDaddy). On a lark, I tried adding registration for darcynorman.com. But Dreamhost&#8217;s registration utility complained that the domain was already taken.</p>
<p>Mwaaaah? Another D&#8217;Arcy Norman out there? Lemme check that out. A quick <code>whois darcynorman.com</code> turned up this:
<pre><code>&nbsp;&nbsp; Domain Name: DARCYNORMAN.COM&nbsp;&nbsp; Registrar: GO DADDY SOFTWARE, INC.&nbsp;&nbsp; Whois Server: whois.godaddy.com&nbsp;&nbsp; Referral URL: http://registrar.godaddy.com&nbsp;&nbsp; Name Server: CNS1.CANADIANWEBHOSTING.COM&nbsp;&nbsp; Name Server: CNS2.CANADIANWEBHOSTING.COM&nbsp;&nbsp; Status: REGISTRAR-LOCK&nbsp;&nbsp; Updated Date: 16-mar-2006&nbsp;&nbsp; Creation Date: 16-mar-2006&nbsp;&nbsp; Expiration Date: 16-mar-2007</code></pre>
<p>Oh, wait. No. It&#8217;s a domain squatter. Sitting on my name, assumedly hoping for a portion of the mad cash this blog generates. Mad cash, I tell you. Some lame squatter leech decided to register my name in the hopes I&#8217;d pay a ransom to get it back. At least the squatter is using a Canadian service provider to park the DNS for the domain. I guess that&#8217;s better than having it offshored to Moscow or something.</p>
<p>The combination of cheap domain registrations and &#8220;secure/private&#8221; registrations where you can hide behind a proxy make this practice possible. When I register domains, I need to go through CIRA verification, accept agreements about usage, etc&#8230; But these roaches can register other people&#8217;s names and park them for ransom. Rules (like locks) are for the honest people.</p>
<p>Screw you, squatter. I just went and registered darcynorman.ca &#8211; the only other variant of the domain I&#8217;d care about. Go ahead and squat on the rest, you rat bastage.</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1475" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/10/27/domain-squatters-suck/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Dreamhost ups account limits</title>
		<link>http://www.darcynorman.net/2006/10/03/dreamhost-ups-account-limits/</link>
		<comments>http://www.darcynorman.net/2006/10/03/dreamhost-ups-account-limits/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">16771294</guid>
		<description><![CDATA[Woah. Dreamhost is celebrating their 9th birthday, and decided to party by increasing limits on accounts. Account holders now get 200 GB (200 gigabytes - a fifth of a terabyte) of disk space. And 2 TB (2 terabytes) of bandwidth per month.

That's insane. Three things must have happened, in order for them to be able to offer this at $7.95/month.

<ol>
<li>bandwidth costs have come waaaay down over the years</li>
<li>the cost of hard drive space has come waaaay down over the years</li>
<li>almost nobody comes even close to using their full allotment of either</li>
</ol>

It's awesome that Dreamhost is doing this. It's pretty cool knowing I've got 200GB backing my account, and that I'll never have to worry about bandwidth. Now, if only the performance of the MySQL server would get a boost...

So... Why hasn't the decreasing cost of bandwidth affected my home DSL connection at all?]]></description>
			<content:encoded><![CDATA[<p>Woah. Dreamhost is celebrating their 9th birthday, and decided to party by increasing limits on accounts. Account holders now get 200 GB (200 gigabytes &#8211; a fifth of a terabyte) of disk space. And 2 TB (2 terabytes) of bandwidth per month.</p>
<p>That&#8217;s insane. Three things must have happened, in order for them to be able to offer this at $7.95/month.</p>
<ol>
<li>bandwidth costs have come waaaay down over the years</li>
<li>the cost of hard drive space has come waaaay down over the years</li>
<li>almost nobody comes even close to using their full allotment of either</li>
</ol>
<p>It&#8217;s awesome that Dreamhost is doing this. It&#8217;s pretty cool knowing I&#8217;ve got 200GB backing my account, and that I&#8217;ll never have to worry about bandwidth. Now, if only the performance of the MySQL server would get a boost&#8230;</p>
<p>So&#8230; Why hasn&#8217;t the decreasing cost of bandwidth affected my home DSL connection at all?</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1442" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/10/03/dreamhost-ups-account-limits/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
		</item>
		<item>
		<title>Power issues at Dreamhost (i.e., blog outage)</title>
		<link>http://www.darcynorman.net/2006/07/28/power-issues-at-dreamhost-i-e-blog-outage/</link>
		<comments>http://www.darcynorman.net/2006/07/28/power-issues-at-dreamhost-i-e-blog-outage/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[blog]]></category>
		<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">59574035</guid>
		<description><![CDATA[It's a total non-issue for me, but <a href="http://www.dreamhost.com">Dreamhost</a> (the cool company that's hosting my blog) is going through some rough times in their data centre at the moment. Apparently the heat wave in California is wreaking havoc on their power situation, causing a power outtage. The generators kicked in, but there was a short. And a fire. Hell broke loose. (the mention of the fire has disappeared from their <a href="http://dreamhoststatus.com/">Dreamhoststatus.com blog</a>, so maybe it wasn't <em>that</em> bad...) So, my blog was down for awhile. Really no big deal. If you can read this, it's back up. I'm guessing there may be periodic outtages while it's sorted out.

<a href="http://www.blogosopher.com">David</a> noticed and emailed me within minutes of the blackout - well before I would have. Actually, he seems to notice every outtage or hiccough on my server well before I do...

btw, Dreamhost is so unbelievably cool as a hosting company. I accidentally discovered that they have installed Appleshare services on my server (perhaps it's standard on all of their servers?) - I can have my hosted directory mounted on my desktop, and take advantage of Finder-y goodness rather than resorting to FTP or shell connections for everything. Nice. So, I have a 20GB (that's GigaBytes) volume, accessible anywhere, via FTP, AFP, or shell connections. They also offer WebDAV for directories (which I don't use), and Subversion, and one-click installs of every web app I could ever want. And the shell account is fully enabled, with access to emacs, cron, rsync, lynx, etc... not like the silly locked down accounts some providers offer (what? we had no idea you'd want to edit files. we have to enable emacs for you... mysql command line access? really? why would you want that? etc...)

I'm babbling. Dreamhost is an insanely cool hosting company. I'm extremely happy with the service they offer, and this minor downtime is trivial (and unavoidable, given the fragility of the North American power grid - does this scare the crap out of anyone else? A fuse can blow in southern Ontario, and drop the entire Eastern seaboard into darkness. Prime targets. yikes.)]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s a total non-issue for me, but <a href="http://www.dreamhost.com">Dreamhost</a> (the cool company that&#8217;s hosting my blog) is going through some rough times in their data centre at the moment. Apparently the heat wave in California is wreaking havoc on their power situation, causing a power outtage. The generators kicked in, but there was a short. And a fire. Hell broke loose. (the mention of the fire has disappeared from their <a href="http://dreamhoststatus.com/">Dreamhoststatus.com blog</a>, so maybe it wasn&#8217;t <em>that</em> bad&#8230;) So, my blog was down for awhile. Really no big deal. If you can read this, it&#8217;s back up. I&#8217;m guessing there may be periodic outtages while it&#8217;s sorted out.</p>
<p><a href="http://www.blogosopher.com">David</a> noticed and emailed me within minutes of the blackout &#8211; well before I would have. Actually, he seems to notice every outtage or hiccough on my server well before I do&#8230;</p>
<p>btw, Dreamhost is so unbelievably cool as a hosting company. I accidentally discovered that they have installed Appleshare services on my server (perhaps it&#8217;s standard on all of their servers?) &#8211; I can have my hosted directory mounted on my desktop, and take advantage of Finder-y goodness rather than resorting to FTP or shell connections for everything. Nice. So, I have a 20GB (that&#8217;s GigaBytes) volume, accessible anywhere, via FTP, AFP, or shell connections. They also offer WebDAV for directories (which I don&#8217;t use), and Subversion, and one-click installs of every web app I could ever want. And the shell account is fully enabled, with access to emacs, cron, rsync, lynx, etc&#8230; not like the silly locked down accounts some providers offer (what? we had no idea you&#8217;d want to edit files. we have to enable emacs for you&#8230; mysql command line access? really? why would you want that? etc&#8230;)</p>
<p>I&#8217;m babbling. Dreamhost is an insanely cool hosting company. I&#8217;m extremely happy with the service they offer, and this minor downtime is trivial (and unavoidable, given the fragility of the North American power grid &#8211; does this scare the crap out of anyone else? A fuse can blow in southern Ontario, and drop the entire Eastern seaboard into darkness. Prime targets. yikes.)</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1308" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/07/28/power-issues-at-dreamhost-i-e-blog-outage/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Blog move to Dreamhost now finalized</title>
		<link>http://www.darcynorman.net/2006/04/29/blog-move-to-dreamhost-now-finalized/</link>
		<comments>http://www.darcynorman.net/2006/04/29/blog-move-to-dreamhost-now-finalized/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[Dreamhost]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[weblog]]></category>

		<guid isPermaLink="false">814834663</guid>
		<description><![CDATA[My various online bits are now living at Dreamhost. It took only a few minutes to install my stuff, copy over the files, and get up and running. It's taken a bit longer to have DNS changes propagate, but I think that process is pretty much over now. Wordpress seems pretty happy there, and I've installed copies of <a href="http://drupal.darcynorman.net">Drupal</a>, <a href="http://wiki.darcynorman.net">Mediawiki</a> and <a href="http://chat.darcynorman.net">Lace</a> (the cool ajax chat app), as well as a <a href="http://streaming.darcynorman.net">Quicktime streaming server</a> and Jabber server. The last two were autoinstalls, so I just flicked them on to see what they did. Actually, everything but Lace could have been automatically installed, with subdomains and databases created automatically, but I opted to do the manual install because I already have copies of the apps configured.

So far, things seem to be working pretty well. They give an insane amount of disk space (20 GB to use as I need) and monthly bandwidth (1 TB/month, plus an extra 8 GB added each week), as well as SSH and FTP access.

I'm looking forward to playing around with Rails a bit, and have a place to host it.

The Dreamhost support team is also pretty darned responsive. I've had to contact them twice (once when their account creation form barfed on the apostrophe in my name, and once when the stats weren't being displayed). Very helpful, those Dreamhost folks. They also have 2 blogs that they use to communicate about status and other stuff. The off-site <a href="http://www.dreamhoststatus.com">dreamhoststatus.com</a> blog is a good way to keep up on pending changes or outtages. And <a href="http://blog.dreamhost.com/">their general blog</a> is just plain entertaining - with a category dedicated to <a href="http://blog.dreamhost.com/category/rants/">rants</a>! It's good to see a decade-old hosting company that's grown rather large still be able to have a sense of humour.

<strong>Update</strong>: One of the things I'm loving about hosting at Dreamhost is that backups are trivial. I have a script in my hosted account that I can trigger via SSH, and it will rsync my entire home directory (including all files needed to host my domain and any subdomains) to my desktop box on campus for backup. And, because rsync is so cool, it only takes a few seconds, since only changed files are sent. So, I can make sure all of my 300+MB of files are backed up in about 10 seconds. Add a <a href="http://darcynorman.net/2006/03/15/more-on-mysql-backups#comment-11119">scripted mysqldump</a> into the mix, and all data backups are up to date as well.]]></description>
			<content:encoded><![CDATA[<p>My various online bits are now living at Dreamhost. It took only a few minutes to install my stuff, copy over the files, and get up and running. It&#8217;s taken a bit longer to have DNS changes propagate, but I think that process is pretty much over now. Wordpress seems pretty happy there, and I&#8217;ve installed copies of <a href="http://drupal.darcynorman.net">Drupal</a>, <a href="http://wiki.darcynorman.net">Mediawiki</a> and <a href="http://chat.darcynorman.net">Lace</a> (the cool ajax chat app), as well as a <a href="http://streaming.darcynorman.net">Quicktime streaming server</a> and Jabber server. The last two were autoinstalls, so I just flicked them on to see what they did. Actually, everything but Lace could have been automatically installed, with subdomains and databases created automatically, but I opted to do the manual install because I already have copies of the apps configured.</p>
<p>So far, things seem to be working pretty well. They give an insane amount of disk space (20 GB to use as I need) and monthly bandwidth (1 TB/month, plus an extra 8 GB added each week), as well as SSH and FTP access.</p>
<p>I&#8217;m looking forward to playing around with Rails a bit, and have a place to host it.</p>
<p>The Dreamhost support team is also pretty darned responsive. I&#8217;ve had to contact them twice (once when their account creation form barfed on the apostrophe in my name, and once when the stats weren&#8217;t being displayed). Very helpful, those Dreamhost folks. They also have 2 blogs that they use to communicate about status and other stuff. The off-site <a href="http://www.dreamhoststatus.com">dreamhoststatus.com</a> blog is a good way to keep up on pending changes or outtages. And <a href="http://blog.dreamhost.com/">their general blog</a> is just plain entertaining &#8211; with a category dedicated to <a href="http://blog.dreamhost.com/category/rants/">rants</a>! It&#8217;s good to see a decade-old hosting company that&#8217;s grown rather large still be able to have a sense of humour.</p>
<p><strong>Update</strong>: One of the things I&#8217;m loving about hosting at Dreamhost is that backups are trivial. I have a script in my hosted account that I can trigger via SSH, and it will rsync my entire home directory (including all files needed to host my domain and any subdomains) to my desktop box on campus for backup. And, because rsync is so cool, it only takes a few seconds, since only changed files are sent. So, I can make sure all of my 300+MB of files are backed up in about 10 seconds. Add a <a href="http://darcynorman.net/2006/03/15/more-on-mysql-backups#comment-11119">scripted mysqldump</a> into the mix, and all data backups are up to date as well.</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1166" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/04/29/blog-move-to-dreamhost-now-finalized/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Apologies for the RSS noise</title>
		<link>http://www.darcynorman.net/2006/04/28/apologies-for-the-rss-noise/</link>
		<comments>http://www.darcynorman.net/2006/04/28/apologies-for-the-rss-noise/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[aside]]></category>
		<category><![CDATA[hosting]]></category>
		<category><![CDATA[weblog]]></category>

		<guid isPermaLink="false">1440819834</guid>
		<description><![CDATA[I've hopefully finished shuffling around the bits that run this blog. Sorry for the extra noise in the RSS feed. This will hopefully be the last move for D'Arcy Norman dot net for some time. It's now living on a Dreamhost server, and DNS should be propagating over the weekend.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve hopefully finished shuffling around the bits that run this blog. Sorry for the extra noise in the RSS feed. This will hopefully be the last move for D&#8217;Arcy Norman dot net for some time. It&#8217;s now living on a Dreamhost server, and DNS should be propagating over the weekend.</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1165" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/04/28/apologies-for-the-rss-noise/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thinking of ditching GoDaddy</title>
		<link>http://www.darcynorman.net/2006/04/24/thinking-of-ditching-godaddy/</link>
		<comments>http://www.darcynorman.net/2006/04/24/thinking-of-ditching-godaddy/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">1544260656</guid>
		<description><![CDATA[The performance of my shared server at GoDaddy leaves a LOT to be desired. Pages render out of the database in several seconds, when they should be easily generated in under a second. Their tech support response was to blame images and javascript, when the actual database-based page generation itself is waaaay too slow. Even when pages are rendered OK, they may be spit out somehow triggering a file download rather than content in the browser. (you may have seen a "Download file: index.php" dialog box - I get it all the freaking time)
Comments on the Wordpress support forum pointed to perhaps the server being overwhelmed and reverting to a "safe" download behaviour.

Either way, I think it's time to look at the options. I'm currently looking at <a href="http://www.dreamhost.com">DreamHost</a>. Their services seem really good (use a wiki for support info, have SSH access and a bunch of other nicenesses that GoDaddy doesn't). Are there better options? Should I be concerned about Patriot Act and DMCA implications with an American hosting provider?

I'm also wondering about what the migration process is. GoDaddy hosts the DNS as well, so how smooth is it to move that to another provider?]]></description>
			<content:encoded><![CDATA[<p>The performance of my shared server at GoDaddy leaves a LOT to be desired. Pages render out of the database in several seconds, when they should be easily generated in under a second. Their tech support response was to blame images and javascript, when the actual database-based page generation itself is waaaay too slow. Even when pages are rendered OK, they may be spit out somehow triggering a file download rather than content in the browser. (you may have seen a &#8220;Download file: index.php&#8221; dialog box &#8211; I get it all the freaking time)<br />
Comments on the Wordpress support forum pointed to perhaps the server being overwhelmed and reverting to a &#8220;safe&#8221; download behaviour.</p>
<p>Either way, I think it&#8217;s time to look at the options. I&#8217;m currently looking at <a href="http://www.dreamhost.com">DreamHost</a>. Their services seem really good (use a wiki for support info, have SSH access and a bunch of other nicenesses that GoDaddy doesn&#8217;t). Are there better options? Should I be concerned about Patriot Act and DMCA implications with an American hosting provider?</p>
<p>I&#8217;m also wondering about what the migration process is. GoDaddy hosts the DNS as well, so how smooth is it to move that to another provider?</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=1152" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2006/04/24/thinking-of-ditching-godaddy/feed/</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>GoDaddy increased account limits!</title>
		<link>http://www.darcynorman.net/2005/11/21/godaddy-increased-account-limits/</link>
		<comments>http://www.darcynorman.net/2005/11/21/godaddy-increased-account-limits/#comments</comments>
		<pubDate>Wed, 31 Dec 1969 17:00:00 +0000</pubDate>
		<dc:creator>dnorman</dc:creator>
				<category><![CDATA[godaddy]]></category>
		<category><![CDATA[hosting]]></category>

		<guid isPermaLink="false">815140008</guid>
		<description><![CDATA[Patrick just came by to ask me about my experience with <a href="http://www.godaddy.com">GoDaddy</a>, so I was telling him about the great deal - 25 GB of bandwidth per month and 500MB of disk space. Patrick looked at me quizzically and said "No, that's not right... It's 250GB and 5GB."

Wha? So, I check my GoDaddy account, and they've increased the hosting account limits! It is now 250GB of bandwidth per month, and 5GB of disk space. For $5CDN/month.

<img src='http://www.darcynorman.net/images/godaddy_limit_increase.png' alt='GoDaddy account limits increased' class='center' />

GoDaddy ROCKS! I just hope they can stay in business at these rates. Now, if they hosted Ruby, I'd have a nice testbed for playing with Rails...]]></description>
			<content:encoded><![CDATA[<p>Patrick just came by to ask me about my experience with <a href="http://www.godaddy.com">GoDaddy</a>, so I was telling him about the great deal &#8211; 25 GB of bandwidth per month and 500MB of disk space. Patrick looked at me quizzically and said &#8220;No, that&#8217;s not right&#8230; It&#8217;s 250GB and 5GB.&#8221;</p>
<p>Wha? So, I check my GoDaddy account, and they&#8217;ve increased the hosting account limits! It is now 250GB of bandwidth per month, and 5GB of disk space. For $5CDN/month.</p>
<p><img src='http://www.darcynorman.net/images/godaddy_limit_increase.png' alt='GoDaddy account limits increased' class='center' /></p>
<p>GoDaddy ROCKS! I just hope they can stay in business at these rates. Now, if they hosted Ruby, I&#8217;d have a nice testbed for playing with Rails&#8230;</p>
 <img src="http://www.darcynorman.net/wp-content/plugins/feed-statistics.php?view=1&post_id=888" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://www.darcynorman.net/2005/11/21/godaddy-increased-account-limits/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
