I'd like to check out WebMatrix for publishing our site to IIS automatically (right now, I have to zip it up, copy it out, Remote Desktop into the server, unzip it, etc).
However, every example I can find on how to setup WebMatrix involves Azure, or using a .publishsettings file that you'd get from your hosting provider. I'm curious if I can publish to a normal, every day IIS server running on Windows Server 2008. So far, all I've done to the IIS server is install Web Deploy, which I believe is the protocol that WebMatrix uses to publish.
When I enter the Remote Site Settings screen, I select Enter settings. I select Web Deploy as the protocol, type in my NT domain credentials (I'm an Admin on that server). I put in the site URL for the Site Name and Destination URL. When I click Validate Connection, I get:
Am I doing something wrong, or is this just not possible to do?
Answer
You will have to enable it on the server. If you are on IIS 7 you can look here.
There are simpler ways to achieve what you want, for example you could enable (S)FTP directly in the folder from where you are hosting or so. If you already have the luxury of being allowed RDP access to the machine, you probably have enough rights to set it up in whatever way you want. Be careful though not to compromise security.
Comments
Post a Comment