SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
can you explain how you did your backup? – Mike Dec 21 '12 at 17:45
SharePoint backup from CA. and same way restore. – Mahsun Kırmızıgül Dec 21 '12 at 18:00
And there is no log being generated. the main site comes up IIS7 default page. – Mahsun Kırmızıgül Dec 21 '12 at 18:04
up vote 2 down vote accepted

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.

share|improve this answer
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. – Mahsun Kırmızıgül Dec 21 '12 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 '12 at 19:26
From other answers I'v seen, I think Wise is a good name for David. – bgmCoder Dec 23 '12 at 2:04

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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