It's destiny; today I've learned a very awesome lesson in SharePoint deployment. I was working on a project and today was the day of it's live deployment. After successful completion of the deployment, we found that when we write http:///sitename.com; it works fine, but when we write http://www.sitename.com/; it goes to a 404 page, and that causes a headache for us. After a lot of mobile phone calls with the customer and managers, my mobile phone shut down his mouth and I started to play with IIS 7 and Sharepoint Central Administration until I found the solution of this problem. I was so so so happy and Thank God that the site now is live and working correctly....First of all , you must do the following at Sharepoint Central Administration:
By that both URLs will work successfully. Just be sure to configure your web.config to work as if the URL is the first default one you had before adding any other URLs...
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: