Browse
 
Tools Add
Rss Categories
-->

WebMatrix on your Windows VPS

Reference Number: AA-04651 Created: 2012-12-17 22:55 Last Updated: 2014-01-06 14:50 0 Rating/ Voters

In the below code, be sure to replace those items surrounded by "@@x@" according to the chart below:

Virtual Server Details
Admin Username:
@@AdminUserName@
Admin Password:
@@AdminUserPassword@
Host Name:
@@HostName@
IP Address(es):
@@IPAddress@

Web Matrix Publish Settings

You can use the following information to create your Profile XML file, that can be imported into Microsoft WebMatrix. Simply create a new text file, copy the XML below, and name the file @@AdminUserName@.PublishSettings.

Please note that WebDeploy/MSDeploy will not function fully until after you have logged onto your VPS Server for the first time using Remote Desktop. At that point, the configuration will be completed and you can then use WebDeploy from the WebMatrix application.

<?xml version="1.0" encoding="utf-8"?>
 <publishData> 
 <publishProfile 
   publishMethod="MSDeploy" 
   publishUrl="@@IPAddress@"
   msdeploySite="Default Web Site"
   userName="@@AdminUserName@"
   userPWD="@@AdminUserPassword@"
   destinationAppUrl="http://@@IPAddress@/"
   hostingProviderForumLink="http://myhosting.com/forums/"
   controlPanelLink="http://manage.myhosting.com/"
   />
 <publishProfile
   publishMethod="FTP"
   publishUrl="ftp://@@IPAddress@:21"
   ftpPassiveMode="True"
   userName="@@AdminUserName@"
   userPWD="@@AdminUserPassword@"
   destinationAppUrl="http://@@IPAddress@/"
   hostingProviderForumLink="http://myhosting.com/forums/"
   controlPanelLink="http://manage.myhosting.com/"
   />
 </publishData>

<!--Control Panel: http://manage.myhosting.com
Technical Contact: support@myhosting.com-->

Optional Database Settings: You may also wish to add the following Database Settings in the MSDeploy or FTP Settings, however it will require that you first configure your Database settings on your VPS Server. The following line can be added below destinationAppUrl in the@@AdminUserName@.PublishSettings file.

SQLServerDBConnectionString="server=contoso-mssql;uid=db_user;pwd=db_pwd;database=some_db"

After you have created your @@AdminUserName@.PublishSettings file, you can import it into WebMatrix from the Publish menu by selecting Settings... and then click Import Profile...

Rss Comments
  • There are no comments for this article.
Info Add Comment
Nickname: Your Email: Subject: Comment:
Enter the code below: