Link to home
Start Free TrialLog in
Avatar of cdemott33
cdemott33Flag for United States of America

asked on

IIS8 - How to move files from Staging to Production

I have two Win Server 2012, IIS 8 server.  One is my STAGING/DEV server and the other is my PRODUCTION server (Both of which were set up this morning)

I'm able to move content via Web Deploy from my Laptop running VS 2013 Pro to my DEV server with ease.  However, my question for you is... what is the preferred method to move content from DEV to PRODUCTION?

I've hunted Google but honestly... most of the methods seem really complicated for some reason (and really out of date).  There MUST be an easy way to do this without too much hassle.
Avatar of Randy Downs
Randy Downs
Flag of United States of America image

Easiest method is to copy files to the Production server via RDP.
I find the method with the most control is to deploy from Visual Studio with a web publish to a folder, and then copy the files to whatever folder that I need, as Randy mentioned.
I publish to a local dev server (on the LAN) then I just copy my bin folder (and any new files) via good ol' FTP using the WinSCP client.

My web projects are always compiled, which is why I only have to copy the bin folder.  Anytime you create a new file the 'placeholder' file will need to be copied as well.

Before I FTP my bin folder I just rename the old one (on remote server) just in case I 'break' something I can recover my previous version.
ASKER CERTIFIED SOLUTION
Avatar of Bob Learned
Bob Learned
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial