Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi all,
 
suddenly my DNS name is not working
up to now we are accessing our server with www.XYZ.com
but now it is not working but if i access with server IP address it is working
But i need using DNS name how can it work and what is exactly problem <
 

 

Thanks & Regards
Sudheer.N
Posted 23-Jul-12 8:06am

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

If you want to update your personal DNS manually for testing purposes, you can edit your hosts file to contain a mapping for the IP address of your server and the URL you want. Note that this is a testing solution, not one you should use permanently. Here is a link on how to do something like this:
 
http://www.bleepingcomputer.com/tutorials/hosts-files-explained/[^]
 
If your DNS seems to be an issue, it might be your DNS server or it might be how you registered the DNS information. Try changing DNS servers. For instance, Google has provided free DNS servers that you can use (one is 8.8.8.8). There are also free ones out there (like 4.2.2.3, etc.)
 
To check the contents of a DNS server, open a command prompt and type "nslookup". This will select your default DNS server and then allow you to query it. Enter your URL (just the www.xyz.com portion, not the HTTP:// part). See what IP is returned (if any). This will tell you if your DNS has properly registered your name/IP. You can also switch DNS servers (for example, to try out Google's to see if they have the right info) by typing "server 8.8.8.8" (to switch to the 8.8.8.8 server). Then run the same URL check again to see the results.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 295
1 DamithSL 265
2 CPallini 235
3 Maciej Los 190
4 Sergey Alexandrovich Kryukov 174
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web03 | 2.8.141216.1 | Last Updated 23 Jul 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100