IIS - Publish website to IIS with external web access?!

Asked By Jonas N. on 06-Oct-09 03:41 AM
What is best practice to publish sites from external host to a IIS7 based VPS server?
Which means I have only  access to the webbservers external ip address.

(I use Visual Studio and it's publish function)

I can think about a function with uploading a builded/published zipped folder that then copies itselfs to the corresponding IIS websites working folder.

Thank's in advanced,

you can write a windows application - Venkat K replied to Jonas N. on 06-Oct-09 04:42 AM

once you publish a web site to a local physical folder.

You can publish the web site by following the below steps:

To publish the Web site

  1. On the Build menu, click Publish Web Site.

    The Publish Web Site dialog box appears.

  2. In the Target Location box, enter c:\CompiledSite.

Once you publish the website you can write a windows application which copies all the files / folder to copy to an external machine where the actual deployment path exists. For that you can use FSO objects to copy the object remember take care about the permissions before copying the published pages.

Thanks,

Unzipper - Jonas N. replied to Venkat K on 12-Oct-09 04:19 AM

Interesting though.. it's to easy to going complicated.. just building a simple upload file application.. how do I use the internal windows zipper/compressed folder from c#? I think about zipping the published website-files and upload the zipped file.. then the script need to unzip it on place,