5 Replies Latest reply: Nov 13, 2010 12:05 PM by xnav
tparis0022 Level 1 Level 1 (0 points)
I having problems clearing the DNS Cache - I have recently uploaded a website to xposem.co.nz. However, it works on everyone elses computer put mine... I have found out this is due to the DNS Cache needing to be cleared. I am using Snow Leopard 10.6.4 and I have located the program Terminal and typed in 'dscacheutil -flushcache' - it seems to have accepted the command but it still does not work.. Any advice?

MacBook Pro, Mac OS X (10.6.4)
  • Mihalis Tsoukalos Level 4 Level 4 (2,015 points)
    The command you used for clearing your DNS cache is OK.
    I think that you should use the host command for some troubleshooting.

    Mihalis.
  • xnav Level 5 Level 5 (6,635 points)
    You have something mis-configured on your server. Using xposem.co.nz, I get your web page. DNS lookup gives your IP as 203.170.87.185. If I used that to try and get to your web page I get the cPanel default page hinting at a DNS error.
    Does your server listen on the standard HTTP port 80?

    Message was edited by: xnav
  • xnav Level 5 Level 5 (6,635 points)
    I used WireShark to verify that specifying xposem.co.nz does result in communication with 203.170.87.185:80. My guess is that you are using a service that supports multiple domain names and the URL entered is used to direct the correct page back to the user. For some reason when you use 'xposem.co.nz' on your web browser the correct name is not getting through to the service, and you get the default error page. Try a different browser from your same user ID, or try a different/new user ID on your system.
  • MrHoffman Level 6 Level 6 (13,260 points)
    It's probably an Apache Virtual Host (what Apple calls Sites) setting; the displayed web site selection is based on the domain substring within the string sent over from the browser, rather than anything to do with DNS.

    Server Admin > select the target server > Web > Sites...
  • xnav Level 5 Level 5 (6,635 points)
    Yep!