Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

IIS 8 website

Posted on 2014-09-23
4
209 Views
Last Modified: 2014-09-23
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
0
Comment
Question by:9apit
  • 2
  • 2
4 Comments
 
LVL 29

Accepted Solution

by:
becraig earned 500 total points
ID: 40339568
Your problem here is not permissions, but rather dns.

If you want a name to be resolved across the network then you must have a dns record or if this will be private resolution then a host file on the computer making the call.

Your computer in this instance does not know where "sp02" is so it lets the search go to the internet which does not know about it either.

On the computer making the call (or the computer you are browsing from) add a host entry pointing sp02 to the ip of the web server and that's it.
0
 

Author Closing Comment

by:9apit
ID: 40339712
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
0
 
LVL 29

Expert Comment

by:becraig
ID: 40339726
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.
0
 

Author Comment

by:9apit
ID: 40339733
Thanks
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question