Link to home
Start Free TrialLog in
Avatar of Allen Pitts
Allen PittsFlag for United States of America

asked on

IIS 8 website

Hello experts,

Set up website called SP02 in IIS 8.
Finally got the bindings correct and found
it is also necessary to add a line to the
hosts.txt file. The line is the IP address and the
website host name.  

A file called contact_b.htm is placed in the directory
that was set as the Physical Path for the web site

So now when the path
http://sp02/contact_b.htm 
is input  in the address box of IE on a
Remote Desktop Connection
session to the server that has the web site on it
the file displays correctly.

Now at my desktop, which is on the same network as
the server, the URL, http://sp02/contact_b.htm, is input in the IE
address box. The result is
'The requested URL "http://sp02/contact_b.htm" cannot be found or is not available.
Please check the spelling or try again later.'

When the URL is tested in Firefox  a box at the bottom of the browser
says "Looking up SP02" then "waiting for www.SP02" then
"http://www.sp02.com/?f" appears in the address box with
an ad that wants to sell me a domain name.

I am pretty sure it is a permissions thing. Have tried making the
folder to which the website is directed has Read permissions for
Everyone but no luck.

How can I get the page to be seen on the LAN?

Thanks.

Allen in Dallas
ASKER CERTIFIED SOLUTION
Avatar of becraig
becraig
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Allen Pitts

ASKER

Hello Becraig,

Excellent answer.
Adding the IP address and host name to the hosts.txt
file on my computer allows me to see the the htm file.

Is there a way to make the file available to  from all
the computers on the network?

Thanks

Allen Pitts, Dallas Texas
If you have internal DNS then simply have your Admin add a record for sp02 in DNS and all the internal computers that use local DNS will know where to look for the site.
Thanks