Command line for domain name

Using a command line

Sometimes the new domain won’t work. Sometimes the domain won’t work after DNS records changes. Now I will show you how to make it work.

Using command line

The issue is local, in your computer. Keeping the story short, we will force the cache to be empty of translating names to IP addresses. And we have to do it over the command line. Maybe you will feel like a small hacker for a short time.

Search for ‘cmd’

In your computer search for CMD. Right click, and click on Run as administrator. Type in the black window

[php]
ipconfig /flushdns
[/php]

See the pictures please:

Search for command line
Run cmd as administrator
Command ipconfig flushdns

Then close the window or type exit. That’s it! If DNS records are valid and refreshed your computer you will get the right address of your domain name.

Author: Milan Lipowski

Milan is a web designer & developer and stock photographer. He also has over 20 years experience with hardware and software computer servicing for individuals, and small & middle-size companies.