URL to test host headers - Lognoul, Marc \(Private\) |
04-Mar-08 01:04:02
|
It's a good idea to modify the hosts file in order to test host header but
to test it via the browser, you have to enter the hostheader itself, like:
http://myhost1.dom.net
http://myhost2.dom.net
...
In your host file, all hosts will point to the same IP.
Marc |
 |
| |
URL to test host headers - Kristofer Gafvert |
04-Mar-08 01:09:09
|
Yes, you must configure a DNS server or edit the hosts file. No browser i
know of let you do this. If you use a tool such as WFetch you can manually
add a host header, but i see no reason why you want to do this. After all,
you need DNS working in the end, so why not configure it immediately?
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info |
 |
| |
URL to test host headers - LilyCollin |
04-Mar-08 11:00:02
|
To be honest the main reason for trying the host headers before configuring
the DNS is that this entails, quite rightly, a whole change control process
as I am not the person who does the DNS entries.
So I wanted to try to test before initiating the change control just to make
sure I had set everything up correctly.
Thank you for your response and confirming what I need to do. |
 |
| |
URL to test host headers - LilyCollin |
04-Mar-08 11:05:00
|
Thank you for your response and clarification, I am going to update the host
file as a first test and then get a DNS entry created. |
 |
| |
URL to test host headers - Kristofer Gafvert |
04-Mar-08 12:49:12
|
This article (and referenced articles) may be interesting to read for a
deeper understanding:
http://www.gafvert.info/iis/article/hosts_file_host_headers.htm
Good luck!
--
Regards,
Kristofer Gafvert
http://www.gafvert.info/iis/ - IIS Related Info |
 |
| |