Click here to Skip to main content
13,596,864 members
Rate this:
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
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
Posted 23-Jul-12 7:06am

1 solution

Rate this: bad
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:[^]

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 There are also free ones out there (like, 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 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" (to switch to the server). Then run the same URL check again to see the results.

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

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Cookies | Terms of Service
Web04-2016 | 2.8.180621.3 | Last Updated 23 Jul 2012
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid

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