IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationIIS

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old January 8th, 2011, 03:18 PM
mynameiso mynameiso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 3 mynameiso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 20 sec
Reputation Power: 0
Nooooobie: Can't get localhost or 127.1.1.0 to work

In Windows 7 Ultimate - installed IIS 7, all admin privileges are set.............but when I type 'localhost' or '127.0.0.1', (even if it's 'localhost\index.htm [the .htm file I created]), I'm taken to some third party search web site........ Interestingly, I have Windows 2003 Server running in VirtualBox VM and that same operation works fine.

I have tried EVERYTHING with no luck whatsoever. Does anyone have any ideas?

Many thanks in advance.

Reply With Quote
  #2  
Old January 8th, 2011, 05:22 PM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,690 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 3 h 43 m 47 sec
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to requinix
A "good" search site? Or something that you might expect from a malware installation? Check your hosts file (system32\drivers\etc\hosts) that it doesn't have any entries in it. As in
Code:
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#	127.0.0.1       localhost
#	::1             localhost

and that's all.

I assume you've made sure that IIS and a website is running, right?

Reply With Quote
  #3  
Old January 9th, 2011, 04:45 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 47 m 12 sec
Reputation Power: 4445
Try typing the full url, i.e., http://localhost or http://127.0.0.1 This should eliminate your browser from trying an automatic search, if you still end up at an unknown search site try stopping the IIS service, then try the same localhost url again and see what happens.
__________________
======
Doug G
======
It is a truism of American politics that no man who can win an election deserves to. --Trevanian, from the novel Shibumi

Reply With Quote
  #4  
Old January 9th, 2011, 05:40 PM
mynameiso mynameiso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 3 mynameiso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 20 sec
Reputation Power: 0
Quote:
Originally Posted by Doug G
Try typing the full url, i.e., This should eliminate your browser from trying an automatic search, if you still end up at an unknown search site try stopping the IIS service, then try the same localhost url again and see what happens.


Thanks everyone. Please pardon the newbie question - this is not my background. I have been duly designated as the "IT guy" for our small workgroup here, so have to deal with this. (Ugggghh, I'm dreading setting up Exchange that I have to do....)

Anyway, the fully qualified URL worked (sort of, see below....) now, this is almost embarrasing, but there are NO 'hosts' files on this computer. I did a global search....(Program Files and Program Files (X86) is where the 'Windows NT' folders live, which is where I would assume this folder would reside, but it's not.)

Also, when I do type in the fully qualified URL, I get a 'HTTP Error 401.3 - Unauthorized' error. Somehow I don't have an access to my wwwroot folder? (This is where I place my website folders with the index filethat I am trying to access.) I am an Administrator on this computer and I checked my User Access levels and they are global 'Read/Write". I even set "Sharing' of this folder on. Any ideas?

Again, thanks very much for your help.

Reply With Quote
  #5  
Old January 9th, 2011, 05:46 PM
requinix's Avatar
requinix requinix is offline
Still alive
Click here for more information.
 
Join Date: Mar 2007
Location: Washington, USA
Posts: 12,690 requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)requinix User rank is General 120th Grade (Above 100000 Reputation Level)  Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1Folding Points: 417516 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 5 Months 1 Week 4 Days 3 h 43 m 47 sec
Reputation Power: 8969
Send a message via AIM to requinix Send a message via MSN to requinix Send a message via Yahoo to requinix Send a message via Google Talk to requinix
The hosts file is at
Code:
C:\Windows\system32\drivers\etc\hosts

Reply With Quote
  #6  
Old January 9th, 2011, 06:20 PM
mynameiso mynameiso is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2011
Posts: 3 mynameiso User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 35 m 20 sec
Reputation Power: 0
Quote:
Originally Posted by requinix
The hosts file is at
Code:
C:\Windows\system32\drivers\etc\hosts


Thanks!! My hosts file looks identical to the one you posted in your original reply. I'll figure it out one way or another....thanks again.

Reply With Quote
  #7  
Old January 10th, 2011, 03:42 PM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Jun 2003
Posts: 14,237 Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level)Doug G User rank is General 52nd Grade (Above 100000 Reputation Level) 
Time spent in forums: 1 Month 4 Weeks 14 h 47 m 12 sec
Reputation Power: 4445
I think IIS by default prevents access to files in the root of the web. Better is to make a virtual directory for your site, or some google may find what you need to change to allow file access in the web root.

Reply With Quote
  #8  
Old January 28th, 2011, 08:29 PM
LaughingBelly's Avatar
LaughingBelly LaughingBelly is offline
Who set my Title?
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2004
Posts: 716 LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level)LaughingBelly User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 3 Weeks 6 h 21 m 7 sec
Reputation Power: 256
Quote:
I am an Administrator on this computer and I checked my User Access levels and they are global 'Read/Write". I even set "Sharing' of this folder on. Any ideas?


Your being Administrator should not have any effect on the display of the page. The permissions have to be set in IIS like Doug G pointed and not on the file system. Also - no point in sharing the folder.
__________________
Nobody is perfect. I am Nobody.

Reply With Quote
  #9  
Old June 4th, 2011, 09:42 PM
hacuong3t hacuong3t is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2011
Posts: 1 hacuong3t User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 27 m 15 sec
Reputation Power: 0
The same problem

Reply With Quote
Closed Thread

Viewing: Dev Shed ForumsSystem AdministrationIIS > Nooooobie: Can't get localhost or 127.1.1.0 to work

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap