Category Archives: hosting

What an accomplishment!

Who ever would have thought that moving a blog could be such a major endeavor?!

For about three years, I’ve been running my blog on Pebble, a Java-based web app, running in Tomcat. For some reason, though, Pebble sort of lost its mind many months ago. I’ve been unable to post, or I could post and it would then vanish. My catalina.log file is loaded with stack traces from Pebble. Sometimes they come every few seconds. You can imagine how that adds up over months.

So, temporarily, I started blogging at another site,, running WordPress. And in my Pebble template, I put a big header that said my blog had moved. Ugly.

Over the last couple of months, I’ve been slowly dealing with this issue. The first problem was moving all the Pebble posts to a new instance of WordPress. Unfortunately, they have completely different URL schemes, so, even if I could move all the posts, all the links out there in the world would now point to pages that WordPress couldn’t serve. Enter Ruby.

I used Ruby to spider my own site, creating directories and HTML pages to mirror my Pebble blog. This was complicated by the fact that, as I mentioned, Pebble had lost its mind. So, many pages that should have had content actually did not. And the links were, therefore, missing, as well. So my spidering effort ended up being a multi-step process of spidering a bunch of smaller, disconnected webs, rather than one big one. I also took this opportunity to zap all the spam comments, so they didn’t end up in my legacy blog.

At last, I uploaded all these now static blog pages up to my web host, so that all the old URLs will still find a page present (albeit static). Unfortunately, I forgot to remove the “This blog has moved” header from all the static pages, so I’ll have to go back and take care of that.

Next, I had to do an export from the temporary blog at, so that I could import it into the soon-to-be new WordPress blog for That, I’m happy to say, went very smoothly. One interesting note… My first export was done before deleting all the comments that Akismet had caught. It was 237KB. Then I deleted all the spam comments and did another export. 38KB. Sheesh! If only I was as prolific as the spammers.

Now came the real fun. I had to figure out how to modify the DNS zone file for the web host where Pebble is running, so that I could essentially split my domain. I only wanted to move my blog to the other web host running WordPress. All my other subdomains and my email, FTP, SSH, and such needed to stay put. I had never tried to do anything quite this sophisticated in a zone file before, but I spent some time learning about DNS, and it turned out to be pretty easy. The key was discovering that CNAMEs are basically aliases for A records.

All I had to do was create a couple of new A records for and, pointing to the IP address of the server hosting WordPress. Everything else was using a CNAME that didn’t seem to be affected by my changes. The most confusing part was the fact that there was a record identified as @, which, in this case, represented I was afraid that everything was going to break when I changed that to point to the foreign web host. It seemed like moving the root of a directory tree, so that everything below it would also be moved. Fortunately, I was able to simply comment out the A record for the @, explicitly define the two new A records, and the rest stayed as is. So far, it all looks okay. My only concern is the propagation delay with DNS changes. I’m not sure if I’m seeing cached info that will break in a couple of days. I’m most worried about my MX records being hosed and my email suddenly going silent.

All I can say is, it was fun using Pebble for a while. And I’m so happy to be on WordPress now! It’ll be a long, long time before I change blog software again.

Did you know about this TLD???

I was reading a milk carton this morning (I had already finished the cereal box 🙂 and spotted the strangest URL I had ever seen. It said I thought “What a poor proofreading job, to put a nonexistent URL on your product package.”

Well, it turns out that there’s nothing wrong with their proofreader. That’s a legitimate domain. You can browse to and read about the people who make my milk. It’s not a fluke domain, either, because there’s a link on there to

I checked GoDaddy, and they don’t seem to have a way to register a .coop domain. Where does such a thing come from? It seems so obscure; I wonder how .coop managed to get approved, considering all the other TLDs have been rejected.

More importantly, how do I register!

Update: Organizations can purchase .coop domains at Individuals are not eligible to purchase .coop domains.  It appears that someone is squatting (the mind reels with puns) on  Darn the luck; it’d be worth forming an organization around that domain name.

And we’re back…

Ugh! What a frustrating time it’s been, having my blog broken. There have been so many times I wanted to post something, but I couldn’t, because Pebble had lost its mind. It would sporadically accept new posts, then trash them. All the while, it’s spewing errors into my Tomcat logs at a rate of about ten per second!

And now I’ve got the issue of all kinds of inbound links that are probably no longer working. Worst of all, I’ve got my sites spread out at three different web hosts! I used to have everything at Kattare. Then I opened an account at HostGator. Then I got a really good deal at Kiosk. So I’ve got a lot of organizing to do! Plus, I’m trying to transition everything without having any downtime, which seems nearly impossible, especially for database-driven apps.  When you’re waiting for the DNS switch-over, you’re in a very nondeterministic situation.
I can’t wait until everything is where it belongs.