I am getting 404 error on site collections. I did a backup from one farm and restore it 2nd farm. On second farm I am getting 404 errors. Please suggest.

404 - File or directory not found. The resource you are looking for might have been removed, had its name changed, or is temporarily unavailable.

  • can you explain how you did your backup?
    – Mike
    Dec 21, 2012 at 17:45
  • SharePoint backup from CA. and same way restore. Dec 21, 2012 at 18:00
  • And there is no log being generated. the main site comes up IIS7 default page. Dec 21, 2012 at 18:04

1 Answer 1


If you are seeing the IIS default page it means that SharePoint is not listening on the hostheader:port that you are requesting. Verify that the host header and port are correct both in IIS and in Central Administration-Alternate Access Mappings. Also, remember that restoring a site collection does not create the corresponding web application so you would have to do that manually before the site collection is visible. Also, a web application can only have one root site collection so you may need to move databases around in order to see the restored content.

  • Dave: You are right. The host header created in AAM did not add binding values in IIS. I added them manually and wala now sites are resolving. Why wouldn't CA take care of the binding when I added AAM. Dec 21, 2012 at 18:49
  • It is supposed to but I've also had the same thing happen in the past. Not sure why but it happens it is frequent enough to make it a common place to look for web app weirdness.
    – Dave Wise
    Dec 21, 2012 at 19:26
  • 1
    From other answers I'v seen, I think Wise is a good name for David.
    – bgmCoder
    Dec 23, 2012 at 2:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.