Link to home
Start Free TrialLog in
Avatar of eimonkey
eimonkeyFlag for United States of America

asked on

404 - File or directory not found on subdirectories\files of website on restored OS

Had a Windows Server 2008 crash, had to reinstall OS.
We're trying to get a basic website that was on the server back up & running. Reinstalled IIS7, created website w\same name as previous. Pointed to previous data directory. Web browsers can get to default.html at the root of the directory, but once we go into subdirectories, are getting "404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable."
The directories and files exist; wondering if it's a permissions issue?
We've tried granting ServerName$ permissions on the subfolders, but still getting 404 error.
Avatar of Dan McFadden
Dan McFadden
Flag of United States of America image

You don't need to play with permissions.  A 404 means that the content you are requesting does not exist.

Do the directories and sub-directories exist under the restored data path?  If you type in the URL with page you want, do you still get a 404?  For example:  http://your.servername.com/subdir/default.html

Can you post the http logs from the site?

Dan
ASKER CERTIFIED SOLUTION
Avatar of eimonkey
eimonkey
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eimonkey

ASKER

This was the solution