Steps to publish website on IIS.
1. Publish your site on some folder at specific folder in some disk drive.
2. Now Right click on you folder-> go to properties-> Security->edit option->add option->advance-> find now.
3. Now here you have to choose both IIS_USRS and IUSR (this is imp you have to give permission to both iis users and iuser), click ok.
4. Open iis and add your web site, make sure you have selected correct version of your website in application pool while adding your website.
5. if you are giving alias to localhost name then you have to edit hosts file to do this C:->Windows->System32->drivers->etc->hosts.
No comments:
Post a Comment