The first step is to configure the following steps.
And then
Tick all the pictures.
One final step
Then IIS is configured, how to add a publication open IIS Manager
Then with the click Site to add the site, before the first to create a new folder on the disk, the project copied the past, the site casually named, click on the physical path added to choose the folder you built, and then the port number must be 80, the program pool selection drop-down list of the last. Click on your named website website Administration to browse. You will be able to browse the Web.
Then if you want to let someone remotely access your site, then you can map the external network. Peanut shell is recommended here, download a peanut Shell client, formerly a piece of money, now is eight dollars. will give you a domain name.
Right-click on peanut Shell Management, configure the port number and IP, here the port number and IP is configured above. Must be consistent, otherwise it cannot be mapped successfully. Then you enter the address of the given network, and others can access it remotely.
VS2012 Publishing Web site IIS configuration