DNS Propagation

Published in General on Monday, May 3rd, 2004

Our new site resides on a new server. There has been some serious DNS hocus pocus going on, as we see the old version in one browser and the new in another!

I've never paid too much attention to our sites when we switch servers, and truth be told, we've only had to migrate servers a few times prior to this last switch.

This time, however, we rolled the user tracking script that we use into this new version of fiftyfoureleven. We planned on doing some testing of the script within our own site, and wow did it open my eyes to DNS propagation. Get this: I put this site up on Saturday. I've finally been able to see it today, Monday. But our script picked up people accessing the site on Saturday.

For those who wonder about site access via the IP address, the script is set to work for people coming in via the domain name only.

Can DNS propagation really take that long and be that... different? (Not very well worded, but you get my drift, no?)

Comments and Feedback

Hmm.. Now it seems that I am seeing the old site again when I visit the domain name. What a downer!

Anyway, good excuse to test posting a comment...

Oh, but I see the new site since yesterday, 24 hours+ ago. There are many factors complicating the dns propagation, caching caching on the various servers between you and the dns servers. ISPs are a major blocker.

BTW, could you add one small thing to your stylesheet?

body[id]::before

We discussed that once, about site signatures... :-)

Hey Philippe, thanks, that\'s something I forgot. I\'ve added and uploaded.

Caching, eh? Well, next time we go to switch I\'m going to try setting the headers on the old page to keep it from being cached. Here I was thinking I was free to toy on the new server until I could see the new site. I should have known better!

You can always use the HOSTS file method to preview it before propagation where you edit the HOSTS file on your PC in order to preview it on the new server OR you can just use this nifty online tool http://www.previewasite.com all you need to know though is the IP of the new server.

Home » Blog » General

Check out the blog categories for older content

The latest from my personal website,
Mike Papageorge.com

SiteUptime Web Site Monitoring Service

Sitepoint's web devlopment books have helped me out on many occasions both for finding a quick solution to a problem but also to level out my knowlegde in weaker areas (JavaScript, I'm looking at you!). I am recommending the following titles from my bookshelf:

The Principles Of Successful Freelancing

I started freelancing by diving in head first and getting on with it. Many years and a lot of experience later I was still able to take away some gems from this book, and there are plenty I wish I had thought of beforehand. If you are new to freelancing and have a lot of questions (or maybe don't know what questions to ask!) do yourself a favor and at least check out the sample chapters.

The Art & Science Of JavaScript

The author line-up for this book says it all. 7 excellent developers show you how to get your JavaScript coding up to speed with 7 chapters of great theory, code and examples. Metaprogramming with JavaScript (chapter 5 from Dan Webb) really helped me iron out some things I was missing about JavaScript. That said each chapter really helped me to develop my JavaScript skills beyond simple Ajax calls and html insertion with libs like JQuery.

The PHP Anthology: 101 Essential Tips, Tricks & Hacks

Like the other books listed here, this provides a great reference for the PHP developer looking to have the right answers from the right people at their fingertips. I tend to pull this off the shelf when I need to delve into new territory and usually find a workable solution to keep development moving. This only needs to happen once and you recoup the price of the book in time saved from having to develop the solution or find the right pattern for getting the job done..