Skip to main content

On subdomains, DNS and explodery bits

You might have noticed a minor change in this blog. Well, a fairly major change. I've renamed it to use one of the various random domains I own rather than the rather naff blogspot URL. This is a fairly simple configuration in Blogger blogs, but it's been something of a nightmare getting my 1and1 hosted domain to work.

The problem stems from the requirement to use Google's own DNS servers for it, coupled with the fact that Blogger won't let you host a blog on a "naked" domain. Subdomains only. I tried using the provided IPs, and that didn't work. 1and1 simply disallowed them. So I used resolveip to find out their hostnames and used those. That seemed to work!

Then, an hour or so later, I noticed that my domains were broken. DNS errors, apparently. Something about those servers just caused 1and1 to break horribly. I couldn't use the IPs, I couldn't use the hostnames, but I wanted to work around it somehow.

I figured that the only requirement is that the configured subdomain points at the IP the blog is being served from. Turns out this is actually really simple; they're all hosted on the IP that resolves to ghs.google.com. I created a CNAME record for my www subdomain and set it to ghs.google.com, then used 1and1's admin utility to force a redirect from the naked domain (lazyrobot.org.uk) to the subdomain (www.lazyrobot.org.uk).

This worked a treat, and didn't require any changes to the configured DNS hosts at all. One day, I hope to use a provider that doesn't explode my domains when trying to use Google's DNS. Until then, this little hack works well enough.

Comments

Popular posts from this blog

Fairy Lights

Street lights at night can be very pretty. For someone who lives close to the centre of a large city, skirting round the edge of the town centre can provide a host of beautiful views at night. One advantage to using a wide open lens when taking these pictures is the capture of bokeh, or creative blur. An extreme example is shown to your right; a mass of coloured circles that roughly represent the city they are part of. A more subtle example, of course, is in the picture of the day at the top of this post. The lights cluster around the top of the leaves like fireflies, obviously part of a cityscape but at the same time abstract. The extreme out of focus image is a blurred version of the picture on the left. A view over Sheffield from Pitsmoor, looking up Netherthorpe Road and up to the university. Even when the buildings are focussed (roughly; I'm still practicing) the lights take on the shape of the lens's aperture. I try to incorporate some foreground focus wh...

Something is afoot - Opera Mini on iPhone

Strange things are afoot. 20 days ago, Opera submitted the iPhone version of Opera Mini , their mobile browser, to the Apple AppStore. 20 days later, it was actually approved, despite previous browser technologies and the like being rejected for "duplicating iPhone functionality". Strange indeed. Having used Opera Mini before on many different devices, both touchscreen and traditional keypad based, I have long appreciated its raw speed, excellent rendering engine and intuitive navigation controls. But can it stand up to Safari on iPhone for browsing excellence? The answer: sort of. The Good Like its predecessors, Opera Mini for iPhone is blazingly fast. Using Opera's own proxies, web content is compressed to within an inch of its life to reduce bandwidth requirements, and the browser itself renders what it downloads so fast that the likes of Safari just can't keep up. Even on a GPRS only connection it is almost as fast as Safari on 3G for largely text based page...

Top 10 of 2013

One of the things a fan of music must do is put themselves through the annual trial of trying to figure out which of the albums they bought/borrowed/stole this year are the best. It took me until about March last year. This year I have been a little more proactive and have produced a list already. I bought 55 albums this year. I also acquired a further 58 through freebies, promos, borrowings and artists giving me stuff. That's a lot of stuff to choose from. I was considering limiting my self only to stuff released this year, but decided that some things were too good to leave off despite them being discovered by me this year, although released some time in the past. This didn't end up making the job any easier. Anyway, after much deliberating, thinking, changing of minds and giving up in disgust, I have produced a list of 10 albums split evenly across "metal" and "non-metal", as well as a handful of "honourable mentions." So, without further a...