[Webinar] Learn how to a build a cloud-first strategyRegister Now


I have a newly installed SharePoint 2013 site that gives 404 error when trying to use the machine name as the address

Posted on 2014-07-15
Medium Priority
Last Modified: 2014-07-21
I have a newly installed SharePoint 2013 server.  I can access the home page with the address http://sharepoint2013/sites/abc/_layouts/15/start.aspx#/SitePages/Home.aspx however if I just use the address which is the machine name of http://sharepoint2013 I get a 404 error.  The default website is turned off.  There is a binding for the sharepoint 80 site in IIS for port 80.  What am I missing to get this site to serve as the default website?
Question by:pgreetisada
  • 2
  • 2
LVL 10

Accepted Solution

Mohit Nair earned 1000 total points
ID: 40199016
May be root level site collection have not been created.
LVL 38

Assisted Solution

by:Justin Smith
Justin Smith earned 1000 total points
ID: 40199518
The above comment is likely the issue.  You need to create one via Central Admin - Application Management - Create Site Collection.  When you get to the URL you should be able to create one on the "/" in the drop down.

Author Comment

ID: 40200605
That was the problem.  I created the site I wanted in the subdirectory from where I wanted to put it.  To move it do I have to do a backup/restore?
LVL 38

Expert Comment

by:Justin Smith
ID: 40200825

First backup the site under /sites/.  Backup-SPSite http://url/sites/site -Path "C:\dir\file.bak".  

Then you need to delete the site.  Remove-SPSite http://url

Now you can restore over the existing root site.  Restore-SPSite http://url -Path "C:\dir\file.bak" -Force

Author Closing Comment

ID: 40209155
This was the answer.  Thanks for the help.

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As freelancing is becoming more and more common in the tech industry, certain obstacles are proving to be a challenge to those who are used to more traditional, structured employment. This article is meant to help identify such obstacles and offer a…
In this blog, we’ll look at how improvements to Percona XtraDB Cluster improved IST performance.
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
Suggested Courses

865 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question