SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)

    Switched sites server/hosting and DNS. How can I tell when running off new server?

    Switched sites server/hosting and DNS. How can I tell when running off new server? So currently the site is sitting on both servers while I wait for the DNS to propagate to the new server address. Once it's complete I will delete the site on the old server. How can I tell when DNS propagation is 100% complete? Is there a tool to look this up?

    And different servers across the world will update at different times right? So to be safe I guess I should just wait the 48 hrs. Still though is there a tool? I googled it and tried some DNS lookup tools but none of them seems to show me what I was looking for.

    Thanks,
    E

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,161
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    ping yoursite.com check to see if the IP address matches that of the old host or the new host.

    And yes, I'd still wait 48-72 hours before deleting it so it can propagate everywhere.

  3. #3
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cpradio View Post
    ping yoursite.com check to see if the IP address matches that of the old host or the new host.

    And yes, I'd still wait 48-72 hours before deleting it so it can propagate everywhere.
    How the heck do I ping my site?

  4. #4
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,161
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    How the heck do I ping my site?
    From the command line:
    Code:
    ping yoursite.com

  5. #5
    SitePoint Wizard
    Join Date
    Oct 2005
    Posts
    1,834
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)
    When I moved to a new host, I placed a comment in the HTML at the new server so I would know for certain which place I was getting the content from.

    Also, you should be able to find some free web proxy servers around the world you can use to test which server is delivering the content. This will help with DNS caching issues as they will not have your old IP address cached whereas your computer or ISP may.

    Free Web Proxy 1 - UK and possibly USA IP addresses.
    Free Web Proxy 2 - Germany and Seychelles IP addresses when I tested.

    And you can always examine your visitor logs on your old server to see when traffic has died off. That will give you an idea of when you can shut your old server down.

  6. #6
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cpradio View Post
    From the command line:
    Code:
    ping yoursite.com
    I ended up finding a web tool for this. But for shitts and giggles I tried the ping via cmd. All that gave me was the IP, size, and speed. No DNS.

  7. #7
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    5,161
    Mentioned
    152 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    I ended up finding a web tool for this. But for shitts and giggles I tried the ping via cmd. All that gave me was the IP, size, and speed. No DNS.
    You should have two separate IP addresses, one for the old, one for the new. So IP would identify which one it was hitting, but since you found a tool, that works too

  8. #8
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,657
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by cpradio View Post
    You should have two separate IP addresses, one for the old, one for the new. So IP would identify which one it was hitting, but since you found a tool, that works too
    Ahh stupid stupid me. Yes the IP. I was just focused on the DNS.

  9. #9
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,635
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    This is what we do when we have to do hard cutovers like this:

    1) Some time beforhand, drop the DNS TTL down to something absurdly low (eg 1 minute)
    2) At appointed time, point DNS at new host, also add a new host to the app (eg www2.example.com)
    3) Give it a few hours -- about 10x your absurdly low TTL at least -- and then replace the old host with a redirect to that secondary host
    4) Wait for traffic to die on secondary host
    5) Kill secondary and old host completely.

  10. #10
    Community Advisor silver trophy

    Join Date
    Nov 2006
    Location
    UK
    Posts
    2,551
    Mentioned
    40 Post(s)
    Tagged
    1 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    So currently the site is sitting on both servers while I wait for the DNS to propagate to the new server address. Once it's complete I will delete the site on the old server. How can I tell when DNS propagation is 100% complete?
    Bear in mind, just because DNS has propagated for you, it's not necessarily propagated for everyone else. Many visitors may be on ISPs and networks that have long TTL times, or even ignore them :- you can never be 100% certain that 'everyone' is ok, but just make a judgement as to when (as wwb_99 has pointed out) the majority are seeing the new server.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •