IIS 7 and Above
Getting 404 error when going to http://localhost
Last post Aug 13, 2008 03:21 AM by oliflorence
Aug 11, 2008 06:53 AM|oliflorence|LINK
I have a new PC with vista ultimate. I have turned on IIS and want to set up a new virtual directory but when going to
http://localhost I get a 404 error page.
There is a lot of conflicting info on the net about this but I have not found a solution, though i don't seem to be the only one with the problem.
Do i need to unable the use of localhost somewhere in the settings?
i have try to disable the server and then able it but it is still the same for me, have also tried to stop the firewall but same problem.
Can any one help?
Aug 11, 2008 08:50 AM|ma_khan|LINK
do you have a default document in place... did you select the default document module while setting up IIS 7?
Aug 11, 2008 08:58 AM|oliflorence|LINK
Yes I have the default documents in place, in fact I have a virtual directory pointing to an existing site that i have called fpe, if I go to
http://localhost/fpe/index.asp where I have a file it is giving me the same error
Aug 11, 2008 09:04 AM|ma_khan|LINK
Do you have ASP installed? that again is not part of the default install... If the error is on a local machine you will recieve a pretty self explainatory error message...
Aug 11, 2008 09:34 AM|oliflorence|LINK
no i did not install ASP, i thought this was done automatically. However I do not think this is my problem here as i cannot access a plain html page such as
When trying again i was asled to update the security settings for an extranet and now in stead of the 404 error page I have getting a blank page, no error but no content either.
Did I need to activate localhost any where on the settings?
Aug 11, 2008 09:36 AM|oliflorence|LINK
I did not mention this but I have norton running on the PC, could this be blocking?
Aug 11, 2008 09:36 AM|ma_khan|LINK
Just open up inetmgr -> default website
Under the Actions Pane click on browse ... that is the same a opening up a browser and going to
Aug 11, 2008 10:02 AM|oliflorence|LINK
Using this link gives me the same blank page, it says on the side of the page Browse: 880 (http), when clicked sends me to localhost but gives me a blank page
Aug 11, 2008 10:19 AM|ma_khan|LINK
is it 880 or 80?
you can do netstat and find out if any port is using 80... what is the exact error message you are finding on the screen ?
Aug 13, 2008 03:21 AM|oliflorence|LINK
i ended restarting every thing and had to add a username and password to access the site and it is working now.
thank you for your assistance