-->
What Is A Host File? Too What Tin You Lot Create Past Times Using Hosts Files?

What Is A Host File? Too What Tin You Lot Create Past Times Using Hosts Files?

What Is A Host File? Too What Tin You Lot Create Past Times Using Hosts Files?

Friends In this post yous volition know what is the host file? I am telling yous this because its purpose is really much inward hacking. So, when yous are learning advanced hacking, yous involve to know virtually hosts file earlier then. So friends know what the host file is?

Friends In this post yous volition know what is the host file What is a host file? And What tin yous produce past times using hosts files?


READ MORE:



What is a host file?

The host file is a file from whatsoever operating organization through which yous tin map hosts names too IPs, Let's tell that yous bring a local domain name. You tin map that domain hollo to whatsoever IP. This is a patently text file, but its purpose is really high.
To Access Host File
Local Disk C >> Window folder >> organization 32 >> driver >> etc folder >> hosts file
Friends, if yous desire to retrieve whatsoever website nosotros tin non retrieve his ip, To simplify this thing, the DNS (Domain Name System) was dropped because it was needed. With the handle of the domain name, nosotros tin give a detail ip a name. But yous should know that our organization exclusively understands the ip of the website too non its name.

What tin yous produce past times using hosts files?

You tin produce a lot past times using the host file but hither I am telling yous virtually about of import work.

  • Block whatsoever website
  • Redirect whatsoever website
  • Assign local domain name
  • Create websites shortcut

So let's similar a shot know virtually 1 past times one

Block whatsoever website:

If yous desire to block whatsoever detail website inward your computer, only yous tin block those websites amongst the handle of hosts files.
Let's know how the website is blocked past times the host file's help.

Step1; First of all yous opened upwardly the host file on Notepad inward the Administrator Mode. If yous produce non opened upwardly the hosts file on the Administrator manner thence yous tin non salve it. 

Step2; After this website yous desire to block, Simply map that website to your local ip, similar all the system's local ip is 127.0.0.1, thence write the website (www.fb.com) inward forepart of it too Save the host file.

For instance If yous desire to block many websites thence produce this simple
127.0.0.1  facebook.com 
127.0.0.1  gmail.com
127.0.0.1  youtube.com
127.0.0.1  google.com

Now if yous opened upwardly these websites past times going to your browser thence they volition non last open.
So inward this agency yous tin block whatsoever website without whatsoever software.

Redirect Any Website:

How produce nosotros redirect the website? With the handle of hosts file, Suppose  you desire to redirect to facebook.com, on google.com, yous may bring learned a piffling fleck thence that nosotros tin produce all this past times using the ip thence permit us Step past times Step How produce yous know?

Step1; First of all, nosotros bring to redirect google.com to facebook.com.

Step2; So for this yous should outset know the ip address of google.com too facebook.com,
To know the IP address, opened upwardly the cmd dominance prompt too come inward the dominance given below.
For  google  ip = ping -4 google.com
For facebook  ip = ping -4 facebook.com

Step3; IP address of  google (216.58.199.174) too Facebook (157.240.7.35) was detected because of the higher upwardly command, Now only opened upwardly the hosts file. With the handle of Notepad (remember notepad opening inward admin mode)

Step4; Now permit us redirect google to Facebook thence only add together the google.com earlier too later on the Facebook IP inward the destination of the host's file.

Step5; Now if yous opened upwardly google.com on your spider web browser thence facebook.com volition last open.
So inward this agency nosotros tin redirect whatsoever website.

Assign local domain name:

You bring an ip too if yous desire to map it to the local domain hollo (ex google.com, abc.org), thence yous tin produce it easily amongst the handle of hosts file.
Let's come across Friends past times measurement past times measurement How tin nosotros assign a domain hollo to local ip, from the handle of hosts files.

Step1; First yous become to this location, become to windows drive c >> window folder >> organization 32 >> driver >> etc folder, yous volition acquire a file named hosts.

Step2; Now yous bring to edit this file amongst whatsoever text editor similar Notepad, but yous volition bring to opened upwardly Notepad inward the admin mode,

Step3; When yous opened upwardly the hosts file, yous must add together a occupation to the file at the bottom, outset write the ip thence write a domain hollo later on giving a space, And salve the hosts file.

Step4; Now only opened upwardly your spider web browser too come inward the domain name(abc.org) inward the URL box, yous volition come across that instead of abc.org, google.com volition last opened upwardly on your calculator because yous used Google's ip promotion inward the hosts file.
So friends tin nosotros assign local domain names similar this.

Create websites shortcut:

 The hollo of a website is really large. For example, if yous desire to brand a brusk cutting of www.google.com, thence yous tin produce it amongst the handle of hosts files really easily.

Step1; First of all , yous opened upwardly the hosts file.

Step2; Now yous write google's ip most destination too write whatsoever brusk hollo similar it  g.com.

Step3; Now salve the hosts file, too past times opening the browser, yous come inward g.com inward the URL box, google.com volition last open.

So friends were exactly that inward this article, if yous similar this post delight part it your friends.If yous facial expression upwardly about work inward whatsoever steps delight drib your electronic mail past times going to contact us department of this site. give cheers you

Blogger
Disqus
Pilih Sistem Komentar

No comments

Advertiser