I have a Sharepoint site hosted on iis on server A, now I have to move that to iis of server B. What I have done so far is I have created a new site iis of server B and copied all the content of the site to server B. When I try to run the site from server B I get:
A default document is not configured for the requested URL, and directory browsing is not enabled on the server. Even though I have already added the default document of the site.
If I try to navigate to the site with the url of the default document then I get
Could not load file or assembly 'Microsoft.SharePoint, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies
Is there something I am missing here? How exactly do you deploy a Sharepoint site on iis? My apologizes if this is a naive question but I have never worked with sharepoint before or deployed a sharepoint site before.