How to setup a subdomain on a different server (GoDaddy DNS)


So right now I have a website that needs to run its main domain and a bunch of subdomains on one server, and a couple of subdomains on a different server. No biggie, right? I just need to update the DNS.

Trouble is, I'm not the greatest DNS expert who has ever lived. And GoDaddy seems to have changed its interface since the guides I've read were written, making things more confusing. There was a lot of head banging on walls tonight, but I finally nailed it.

So here's how to setup a subdomain on a different server using GoDaddy's DNS Manager:

  1. Set up the subdomain on the server, using whatever procedure your stack requires. On Apache you need to create or edit a VirtualHost entry. Google it if you don't know what I'm on about.
  2. Log on to GoDaddy and hit the Domain Manager. You'll see a panel with six main areas (Domain Information, Domain Enhancements, Related Products, Nameservers, DNS Manager and TLD Specific). We want to hit the "launch" button under DNS Manager, which will bring up a page full of DNS arcana.
  3. All you need to do is add an "A record" for the subdomain you're trying to host elsewhere. Other guides tell you to enter "subdomainname.yourdomain.tld" as the host, but GoDaddy will delete the domain portion and make things confusing. Just enter your subdomain name there and nothing else. Then enter the different server's IP address and save everything.
  4. Sit tight for an hour of so.
  5. Try to access your subdomain on a browser. It should be going through. If it isn't, don't panic, just wait a little longer. Whatever you do, don't start messing around with the DNS settings. Propagation takes time. Every panicked change you make adds an hour or more to the time it takes for the operation to complete.
Hope this helps. Cheers.

Freelancers, libraries, time trackers and horny peacocks.

Being a freelancer and solo founder rocks. I have no boss, call my own shots and set my own schedule.

But it also sucks. I hate being alone all day, stuck at home with no one to talk to but people on the interwebs. This is of course a very well known problem with freelancerdom, felt by those on all walks of freelancing life. It’s seen its fair share of discussion elsewhere, but it’s one thing to read about it and quite another to experience its harsh reality.
I have, of course, had a previous experience as a freelancer of sorts, back when I lived in Oporto. But here in Lisbon it’s different. I don’t have quite the same network of friends and clients with whom to get my socializin’ on, so for most of the day it’s just me, my mac and my cats. So when my girlfriend gets home she’s like “how was your day” and I’m like “meh”.
I’ve known since I first laid hands on a laptop that my best possible work environment if a coffee shop. I’ve spent the last three years actively trying to find out why. Which is harder than it seems, because I tend to get so carried away with all this being myself that I forget to do any significant observations on my own behaviour. I guess this is why time, exercise and expense trackers are so popular. It takes an objective third party for a human being to be able to accurately measure his or her own behaviour. So I got a time tracker.
All this fascinating research led to the observation of a few patterns;
  • The amount of actual work I do per sitting is two to three times greater when I’m not at home versus when I am.
  • Even at home, I tend to do more work and less fooling around when there’s no mouse. Having a mouse to rest my hand on seems to encourage random browsing and clicking.
  • Remove the laptop’s power cord and suddenly I do even less procrastinating. Something about that power meter going down really gets my code flowing.
  • Sit on the floor, an uncomfortable bench or just work standing up and I’m focused like some sort of hacking laser.
  • Noise plays a big part in my productivity. Ambient music is great as long as there’s no discernible lyrics. Strangers talking among themselves is fine. Throw someone I know into the room and suddenly I’m hung on their every word.
  • Complete loneliness leads to random procrastinating. Having people in the area makes me feel some sort of obligation to be doing something useful and serious with my time.
I guess these patterns explain why I do so well in cafes.
But woking at a coffee shop all day has its drawbacks too. First, it can get expensive. Second, snacking all day long is unhealthy. Third, avoiding problems #1 and #2 by snacking less can get you booted (or at least given the evil eye).
That’s where public libraries come in.
Yes, libraries. Filled with books, those adorable artifacts from the dark ages, but also sweet wi-fi goodness. And a very faint ambient noise. And people whose presence makes you feel part of a living, breathing world, but who never bother you. And, in many of Lisbon’s excellent public libraries, you can also take a breather from time to time, walk up to the interior garden and watch the amusing wildlife doing their animal stuff.
I’m in one such library right now. I don’t have to order another cup of coffee every hour, I haven’t spent a cent, I’m getting work done like a maniac and, when I’m in need of some distraction, there are fucking peacocks outside.
Public libraries rule.