Asked by duncanb7
at 2024-07-31 00:04:13
Point:500 Replies:13 POST_ID:829180USER_ID:11059
Topic:
Microsoft IIS Web Server;;Windows 7
I've just solved issue about xampp and IIS running on the same computer
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_28487470.html
So far So good, when type "localhost" it will go to c:inetpubwwwrootiisstart.htm
Now I change 'applicationHosts.config file to change the document default path from
c:inetpubwwwroot to c:xampphtdocs and I copy iisstart.htm to c:xampphtdocs
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:xampphtdosc 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:windowsystem32driversetchosts 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:xampphtdocsdataphpindex.html
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 NOT 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
Please advise
Duncan
http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Microsoft_IIS/Q_28487470.html
So far So good, when type "localhost" it will go to c:inetpubwwwrootiisstart.htm
Now I change 'applicationHosts.config file to change the document default path from
c:inetpubwwwroot to c:xampphtdocs and I copy iisstart.htm to c:xampphtdocs
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:xampphtdosc 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:windowsystem32driversetchosts 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:xampphtdocsdataphpindex.html
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 NOT 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
Please advise
Duncan