pgreetisada
asked on
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
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
ASKER
This was the answer. Thanks for the help.
ASKER