Setting up a website for hosting in Agility's Azure hosting environment

Posted by Joel Varty on October 24, 2011
0 people like this tutorial

Agility has an integrated hosting environment in Windows Azure.  We highly recommend our customers to host their websites in this environment, as it will provide them the best Agility experience.  It's reliable, it's secure, and it's easy to get going on.  The web servers are setup in a redundant web farm configuration with round-robin load balancing.

Contact us to get started

For accounts created from the website, or from the My Account section in the Content Manager, there is a website created automatically in our hosting environment, but you can always email us to get one created for an existing account in Agility.

All websites hosted in the Azure environment are listing the "Web Servers" section of the Agility Configuration section.  Each website is given a unique URL that can be used to access the web site for preview even if you don't have the DNS setup for the site yet.  It looks like this: [GUID].host[X], where the GUID is a 36 character global unique identifier, and X is the index of which hosting environment the website is located at.


After the site has been initialized in the hosting environment, you will have the ability to setup any host headers ( that you want the website to respond to. The easiest way to do this is to create a CName that points to the unique URL that was automatically created for the website.  If you need the root ( of the website to point to the website, you can use an A record that points to the IP address that the unique URL resolves to.  You can use any PING tool to get this IP value, or you can contact us for help.

You can also set the ASP.Net version (3.5/4.0) and the Pipeline Mode (Integrated or Classic).

FTP Access

You can upload your website files to the environment using any FTP client.  We suggest using FileZilla, as it is free, and multi-platform.  The FTP server and credentials are listed for you in the Web Server Details dialog.  When you enter the credentials into the FTP client, make sure you choose "Active" mode.

When you upload, rename or delete files, Agility will propagate the change over the entire web farm for you, so you can always be sure that your files are copied to all servers, but it can take up to 60 seconds for all the changes to take effect.

Configuration Considerations

When you upload your site to the hosting environment, make sure you disable "developmentMode" in the agility.web section of you web.config file.  Also, you should only run your site with a traceLevel Warning or Error.  If you need to enable Info or Verbose tracing levels, your site will perform much slower.  Note that the Agility log files across all servers in the hosting environment are rolled into a single file that is visible in the Web Logs section of the Content Manager.  Please not that the values for log file path and content file path are ignored, so you don't need to worry about those in Azure hosting.

Add a Comment



Log in with your Agility username and password or
register for the site

Log In