My Life Stream
RE: digg. They're not like they used to be, that's for sure, I'm just able to handle the "community" because of the new features*filters. 13 hrs ago

Setup for easy server migrations and reliability

There has already been a long debate about hosting your own DNS servers and mail servers but I’ve found once again relying on Godaddy total DNS management and using GoDaddy e-mail forwarding has made my three migrations over the last year a breeze. So I suggest to everyone:

Suggestion One:

Don’t mix your host and your registrar. You might not see your domain again.

For anyone looking to create their own site I urge you, never register your domain with your host. There are too many hosts out there that are priced well and say they have great service but when you find yourself needing to move the domain that they registered for you will tie you down.

This is probably the only suggestion I can give to the majority since the next two are more for the VPS or dedicated server owners.

Suggestion Two:

If you’re planning to run a VPS or Dedicated box don’t roll your own DNS.

There are tons of pros for running your own DNS but when compared to using GoDaddy total DNS they’re few and far between. Especially the reliability and ease for future migrations. First, you wont have to worry about long TTLs on those name-servers when planning to move. You should be able to count on your registrar’s DNS reliability, security and ease of use as well.

I found running DNS on my current VPS hogs ram, and every MB counts on most VPS plans, in this case 40MB to 50MB is a lot.

When migrating all you would need to do is update your records at the registrar in my case GD, I didn’t have to worry about saving configurations, preparing to lower TTLs on the nameservers and A records and then configuring the server on the new machine. Granted that might not take very long but waiting for IPs to propagate is horrible.

I’m also preventing the worst case scenario, which has happened to me recently; having to move hosts without any preparation because your server completely down waiting and you find yourself wanting to move. In that case if I had my own DNS server I would have to spend the time getting the original server up in order to get the root servers the new IP, instead I just opened a new account at a host I wanted and changed the A record at GD and I was back up and running in 20 minutes with a TTL of 30 minutes. Again, waiting for the root servers to find you at your new home can take a day (or two) and then you’re just lost to the world.

And that’s not including the wait for MX records, essentially pausing all of your mail if you’re running you’re own main server too.

Suggestion Three:

Don’t run your own mail-server if your on your own VPS or Dedicated if you can help it.

This is a big one for me because if your server ever goes down or is down because of a migration you will not receive mail for that time period. The message will hang waiting for your server to come back up and will be eventually delivered but if you’re down for an extended period (maybe because of not going with the suggestions above) the result may be a bounced e-mail back to the sender. The perfect solution I’ve found is forwarding all mail through GD forwarding to my gmail accounts, for my main account I actually use Google apps which GD handles the MX records for me.

Overall:
I’ll admit relying on GoDaddy or any other registrar to provide that quality uptime for your DNS and Mail might be harder then relying on your own server; in my case it’s not, since I’ll admit to downtime and not wanting to worry about two more services running on my machine.

In my experience not relying on your own server or even your host will make your life a lot simpler day to day and that day you’re back up against a wall and you want to migrate to a different server, whether you hate your current host or you want to upgrade.

I’ll need to throw my 20 minute migration steps into another post and I’d also like to recommend (mt) dv plans without plesk (& installing webmin).

Viewing 2 Comments

    • ^
    • v
    Actually, I've always done it this way - relying on Namecheap for DNS and all and it worked flawlessly.

    That way, I can just play around with my server when I feel the urge and not wonder if emails get bounced back.
    • ^
    • v
    Absolutely agree on #1, if for no other reason than most registrar hosting plans are very weak compared to what else you can get out there (in addition to the points you mentioned).

    No need to beat a dead horse (again) on the DNS thing, other than to say that I've switched hosts several times while running my own DNS with zero downtime, and it isn't that difficult.

    I'd also add a minor nitpick to the point on the "reliability and security" of trusting your registrar with managing DNS. As long as you run DNS well and keep it up to date, your own server is going to be more secure not less. The reason is that even if the registrar (GoDaddy, or whoever) also keeps their software as up to date as you do, there is at least one additional attack vector (the web UI) which you don't need in your own setup. I'm not saying it's a glaring flaw, but it can't ever be "as secure" as running your own well guarded setup.

    Regarding the mail server, I won't get into all the reasons that it might be better for some people (again, dead horse, we've been over it a million times), but the overriding one is owning your own data (even if you forward most of it on to GMail or whatever after that).

    All that being said, I'd agree with you in recommending that *most* people not bother trying to run their own because the complexity (perceived or actual) would be too much for them.

    One additional point to consider in that regard, however is if you are a person who makes their living doing technical stuff it might be worthwhile to run your own DNS and mail just for the experience, because that experience can be valuable. Anyone can write down on their resume that they "know how" to do it, but having done it once (or reading / walking through a howto online about how to do it) is dramatically different from the experience you gain over extended periods of day-to-day use, actually relying on it to get things done.

Trackbacks

close Reblog this comment
blog comments powered by Disqus