Support - Microsoft WebMatrix
You can download the latest version of WebMatrix here. Visit forums.iis.net for the latest information regarding WebMatrix.
Please read these important notes:
Not all Adhost shared web hosting accounts support WebMatrix, please check with support to verify if your site is WebMatrix capable. Your site may need to be migrated to our WebMatrix platform in order for you to use WebMatrix publishing.
We recommend that you use the Web Deploy protocol to publish your application. If you use FTP to publish, you will not be able to mark a folder as an application or set permissions.
If your application makes a SQL or mySQL connection, use the connection string listed in our welcome email. Find more release notes below. Your SQL databases must also be hosted on Adhost's SQL servers that support WebMatrix. Not all of Adhost's SQL server do support WebMatrix.
Sample Publishing Settings
When configuring settings, please use the following settings sampled using your connection information. Replace "YourApplication" with the title of your application:
- Remote Server
- Protocol: Web Deploy
- Server: https://webdeploy.adhost.com
- Username: farm1\[userName]
- Password: [passWord]
- Sitename: [YourSiteName]/YourApplication
- Destination URL: http://[YourSiteName]/YourApplication
Notes
- Make sure https:// is in front of the "webdeploy.adhost.com" URL and http:// precedes the "Destination URL".
- Validate connections before pressing publish.
- Some WebMatrix apps should be installed to 2.0(3.0, 3.5) app pools and some should be installed to 4.0 app pools.
- You have been provided with two web sites. One is configured with .NET 2.0 and one is configured with .NET 4.0. The last digit of the sitename indicates the ASP.NET version.
- If you are creating a site from template, make sure that you use the ASP.NET 4.0 site.
- When publishing the first time, make sure that you have published your database.
- If you have problems connecting to the server on the default port of 8172, try using the SSL port 443 following your servername: https://[sitename]:443
Viewing Your Site
- If you receive an http 502 error, refresh the page. This occasionally will occur the first time the page is loaded.
-
If you receive an http 500 error, there is typically an error on your webpage.
Make sure that it runs correctly on your local site. Look in the Settings for your site, make sure that .NET framework version you are testing with locally corresponds with the published version. - If needed, set the customErrors section of your web.config to "Off."
What is the correct .NET version?
- .NET 3.5 works with Web Sites built using "Site from Gallery" option (e.g. DotNetNuke, Umbraco, etc...)
- .NET 4.0 works with applications built using "Site from Template" option (e.g. Starter Site, Bakery, etc...)
Helpful Links
Welcome to the WebMatrix forums
Scott Gutherie's Blog: Introducing WebMatrix
Scott Hanselman's ComputerZen Blog: Microsoft WebMatrix in Context and Deploying Your First Site
Install PHP applications with WebMatrix
Simon Calvert & Scott Hunter: WebMatrix and the new Razor Syntax




