简体   繁体   中英

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

在此处输入图片说明

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 ?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM