Solved

IIS 8 website

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Today I came across an interesting issue that had me pulling my hair out.  I was troubleshooting a new internal web site which uses integrated security instead of anonymous.  When browsing the site from my laptop, I was able to access it with no iss…
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…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now