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

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?
pgreetisadaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Mohit NairSenior AssociateCommented:
May be root level site collection have not been created.
1

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Justin SmithSr. System EngineerCommented:
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.
0
pgreetisadaAuthor Commented:
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?
0
Justin SmithSr. System EngineerCommented:
Yes.  

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
0
pgreetisadaAuthor Commented:
This was the answer.  Thanks for the help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.