Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have installed SharePoint and all was working fine. Today when I go to root website for my web application I am getting a 404. I get this on my other web application as well. Central admin is loading fine. I have checked the following.

  • SharePoint services are running
  • IIS web sites have started
  • IIS application pools have started
  • Database are up

What else could I check so I can try and work out why I am getting the 404?

Just to confirm this was all working before (This is a Windows 7 machine with SharePoint installed for development)

share|improve this question
    
A couple of initial steps: 1) Can you successfully ping the web address of your site? 2) Are Alternate Access Mappings configured for your site in Central Admin? –  Howard Jan 10 '12 at 15:12
    
1) Ping is failing (on both locahost:80 and machine name:80) –  John Jan 10 '12 at 15:16
    
2) Alternate mapping is set up as machinename:port (this was working before) –  John Jan 10 '12 at 15:17
    
Ping test don't include port numbers. What happens if just do: ping <machinename> ? –  Howard Jan 10 '12 at 15:22
    
Ping works without port –  John Jan 10 '12 at 15:24

3 Answers 3

I had this happen to me recently and its was because I failed to actually create the site collection. I did happen to create the webapp so all the IIS settings/db was there. In central admin verify you do have a site collection.

share|improve this answer

1) Check the databases, actually go into SQL and open the AllUserData table, make sure you can open it (using the same identity as SP)

2) Check ULS logs?

3) Check event viewer?

4) Check hard drive space on all servers in farm, make sure you have at least a few gigs free.

share|improve this answer
    
1) All working fine –  John Jan 10 '12 at 15:28
    
4) 400GB+ Free space –  John Jan 10 '12 at 15:28
    
3) All looks good, get a complaint when i try to access via localhost about not setting up alternate mapping. When I put the machine name in no error –  John Jan 10 '12 at 15:37
    
2) Again no errors that I can see... –  John Jan 10 '12 at 15:40
    
machinename works but localhost doesnt? –  David Lozzi Jan 10 '12 at 15:48

Related: SharePoint 2010 New Installation - Site Collection

Answer by Greg Hurlman:

Double-check the Site Collection List in Central Admin, make sure your site is listed there. If it is, if you haven't been able to make use of the site yet, delete & recreate the site collection. If the same result, and this is the only site collection on the web app, delete & recreate the web app as well.

Were there any errors on install? What install method did you use (Setup Wizard, Config Wizard, and Farm Configuration Wizard, Powershell scripted install)?

share|improve this answer

Your Answer

 
discard

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.