I've just solved issue about xampp and IIS running on the same computer
So far So good, when type "localhost" it will go to c:\inetpub\wwwroot\iisstar
Now I change 'applicationHosts.config file to change the document default path from
c:\inetpub\wwwroot to c:\xampp\htdocs and I copy iisstart.htm to c:\xampp\htdocs
Okay, now I go to type "localhost" it will go my external sites server that is not show iisstart.htm page.
But when I type "localhost/iisstart.htm" which is exactly at c:\xampp\htdosc that is working,
iisstart.htm is shown, and other typing is also working
type "localhost/iisstart.htm" it is also working
type "localhost?" it is also working
type "127.0.0.1" it is also working
but only both "localhost" and "localhost:80" not working
Now I go to check hosts file at c:\window\system32\drivers
in which there is nothing
information about host forwarding to the external site.
when type other file such as "localhost/data/php/index.
html" that also works that is
matched to file at c:\xampp\htdocs\data\php\i
So the question, why it happen, who get the final right or owner for the name of "localhost" ?
localhost:8001 forwarding to my xampp web server that works as usual
I try to turn off xampp , it did NO
T solve my issue
So I believe there is some conficit, "localhost" can NOT resolve its final destination.
how to translate "localhost" to final IP on brwoser