Solved

IIS 8 website

Posted on 2014-09-23
4
208 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

786 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