www.tehnopedia.net. How to view your website on browser before DNS propagation.
After you bought domain and hosting you must waiting for dns propagation.If you want to view your designed content immediately on web browser before DNS propagation its possible by mapping your server IP to domain name into hosts file.
What is hosts file? Hosts file is a computer file from the operating system to map hostname and ip address. How to check Propagated DNS? You must go to www.intodns.com and put your domain and will checked.
After checked you will found the result about missing nameserver reported by parent and missing nameserver reported by your nameserver.
How to do it on linux?
1. You must go to your terminal and must type the ip and domain in your hosts file like below
2. After That you must Flush Dns Cache
/etc/init.d/dns-clean start
3. And then Reload your web in your browser and your web is up now.
For tutorial linux u also can see in this Video
Now how about Windows? Oke Let we do it in Windows.
1. Go to C:\windows\system32\drivers\etc\hosts then open the file use notepad
2. After that you must add the line like you do in Ubuntu
3. After That flush Your DNS in your Command From use code like bellow
ipconfig /flusdns
Oke. Thanks for read that. If you have any question please comment here.
0 komentar:
Post a Comment