Abolfazl
Abolfazl

Reputation: 1700

iis manager binding vs host dns file?

In the first place i should say that it might seem a bit weird but its a challenge to distinguish between the level of these configurations,for example ,say i want my localhost be accessible through abc.com, i know i should go through two steps:

1.use iis manager bindings

enter image description here

2.add abc.com to dns host file

127.0.0.1       abc.com

But is not clear for me level of these configs and what is each part's responsibility ?

Upvotes: -1

Views: 338

Answers (1)

Bruce Zhang
Bruce Zhang

Reputation: 3042

In a complete url request, steps as follows

  1. User request abc.com.
  2. DNS is request for abc.com.(That is why add abc.com to dns host file)
  3. IP address for abc.com is returned.
  4. Browser send request to the IP address.
  5. IIS in server return site’s page.(That is why use iis manager bindings)

Complete request

Why to use host file

Upvotes: 0

Related Questions