Click here to Skip to main content
15,885,985 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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

1 solution

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.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900