Hi All,
I am a software developer and am trying to get my head around how Host Headers work.
When a Host Header is setup for a domain in the format *.domainname.com, e.g. "test.domainname.com", I can navigate to the site by typing in the address including the Host Header information.
However, in IIS if I setup a "binding" for a site, e.g. "http:192.168.1.1:80:test", what is the difference between this and my previous example? I cannot navigate to the address by using "test.domainname.com", I REQUIRE a DNS entry, since the HOST information is part of the http request.
I'm just a little confused as why I can't bypass the DNS entry by typing the IP (and directory) directly into the address bar, what magic does the DNS entry do that I can't do manually? Is it because the DNS server looks at the HOST information in the http request?
Any help/advice in aiding me to understand this would be great!
Many thanks in advance,
AJ