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
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
    LVL 9

    Accepted Solution

    May be root level site collection have not been created.
    LVL 38

    Assisted Solution

    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

    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


    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

    This was the answer.  Thanks for the help.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Photo Albums in PowerPoint Photo Albums are a very useful tool in PowerPoint and allow you quickly add a large number of images. The images can be formatted in a variety of ways so that you are able to create a professional looking presentation v…
    I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

    761 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

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now