Solved

IIS 8 website

Posted on 2014-09-23
4
211 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
[X]
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
  • 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
File Download in PHP fails for Office Documents on some servers... 15 82
Publishing SSRS Reports to an IIS Server 3 159
Finding the IIS version 5 54
IIS Windows Server FTP 5 50
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…
A phishing scam that claims a recipient’s credit card details have been “suspended” is the latest trend in spoof emails.

732 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