简体   繁体   中英

How to publish the Website

I have done a Web Application project in Visual Studio 2008, In Solution Explorer I click on publish Website .

The published website is stored in the Location C:\\Users...\\Documents\\Visual Studio 2008\\Projects\\Online Registeration .

Now what should i do to access that application...?

I was totally confused, can i copy the Online Registeration project in to WWWROOT folder or anything else...

Could anybody tell me....

You need to host this website on a web server like IIS.

Open IIS manager on your machine by typing inetmgr command in Run window

IIS 7 or above: Right click the server node on the left --> Add Web Site. You need to set Physical path to where this site is published, probably inside wwwroot folder, because this folder has got all the permissions to run the website.

IIS6: Server Node --> Web Sites --> New --> Website

Set appropriate header in Host name and you'll be ready to access the site using this host header.

There is an automatic way to publish whenever you build the site in visual studio 2008, follow this answer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM