How to Manage Web Sites
You manage your web sites with a set of Management pages. Each Web Site management page is described below.
The QuickStart management page includes the following sections:
- Get the tools – Provides links to Install WebMatrix and the Windows Azure SDK.
- Publish your app – Provides links to download the web site’s publishing profile and reset deployment credentials for the web site.
- Integrate source control – Set up and manage deployment from source control tools or web sites like TFS, CodePlex, GitHub, Dropbox, Bitbucket, or Local Git.
The Dashboard management page includes the following:
A chart which summarizes web site usage as measurements of certain metrics.
- CPU Time – a measure of the web site’s CPU usage.
- Data In – a measure of data received by the web site from clients.
- Data Out – a measure of data sent by the web site to clients.
- HTTP Server Errors – the number of HTTP “5xx Server Error” messages sent.
- Requests – a count of all client requests to the web site.
Note: You can add additional performance metrics on the the Monitor management page by choosing Add Metrics on the bottom of that page. For more information, see How to Monitor Web Sites.
Web Endpoint Status - A list of web endpoints that have been configured for monitoring. If no endpoints have been configured, click Configure Web Endpoint Monitoring and go to the Monitoring section of the Configure management page. Endpoints can be added only in Standard mode. For more information, see How to Monitor Web Sites.
Autoscale Status - In Standard mode, you can automatically scale your resources so you’ll only spend as much as you need. To enable autoscaling, choose Configure Autoscale, which takes you to the Scale page. If your web site is in Free or Shared mode, you will need to change it to Standard mode (you can do this on the Scale page) before you can configure autoscaling.
A Usage Overview section that shows statistics for the web site's CPU, file system, and memory usage.
- A list of linked resources such as a SQL or MySQL database, or a Windows Azure storage account, that are associated with your web site. Click the name of the resource to manage the resource. If you have a MySQL database, clicking its name will take you to the ClearDB management page. There you can see your performance metrics, or go to the ClearDB dashboard, where you can upgrade your MySQL database if required. If no resources are listed , click Manage Linked Resources to go to the Linked Resources page, where you can add a link to a resource for your web site.
- A Quick Glancesection which includes the following summary information and links (depending on your settings, some of the options listed below may not appear):
- View Connection Strings - View your web site's database connection strings.
- Download the Publish Profile – Link to the publish profile, a file which contains credentials and URLs required to publish to the web site using any enabled publishing methods.
- Reset Your Deployment Credentials – Displays a dialog box where you provide unique credentials for use when publishing with Git or FTP. If you wish to use Git or FTP deployment then you must reset deployment credentials because authentication to an FTP host or Git repository with Live ID credentials is not supported. Once you reset deployment credentials you can use these credentials for Git or FTP publishing to any web site in your subscription.
- Reset Your Publish Profile Credentials - Resets the publish profile for your web site. Previously downloaded publish profiles will become invalid.
- Set up Deployment from Source Control – Displays a dialog box where you can set up continuous publishing from Team Foundation Service, CodePlex, GitHub, Dropbox, Bitbucket, or Local Git.
- Edit in Visual Studio Online - Click this link to edit your web site directly online. You can enable this feature on the Configure page.
- Disconnect from Dropbox - If you have set up a connection to Dropbox for deployment purposes, this link allows you to disconnect it.
- Delete Git repository - If you have set up a Git repository, this link allows you to delete it.
- Status – Indicates whether the web site is running.
- Site URL – Specifies the publicly accessible address of the web site on the internet.
- Compute Mode – Specifies whether the web site is running in Free, Shared, or Standard mode. For more information about web site modes, see How to Scale a Web Site.
- FTP Hostname – Specifies the URL to use when publishing to the web site over FTP.
- FTPS Hostname – Specifies the URL to use when publishing to the web site over FTPS.
- Deployment User / FTP User – Indicates the account used when deploying the web site to Windows Azure over FTP or Git.
- FTP Diagnostic Logs – Specifies the FTP location of the web site’s diagnostic logs if diagnostic logging is enabled on the Configure management page.
- FTPS Diagnostic Logs – Specifies the FTPS location of the web site’s diagnostic logs if diagnostic logging is enabled on the Configure management page.
- Location – Specifies the region of the datacenter that hosts the web site.
- Subscription Name – Specifies the subscription name that the web site is associated with.
- Subscription ID – Specifies the unique subscription ID (GUID) of the subscription that the web site is associated with.
This tab appears only if you have set up deployment from source control. The Deployments management page provides a summary of all deployments made to the web site using your publishing method of choice. If Git publishing has been configured for the web site but no deployments have been made, the Deployments management page provides information describing how to use GIT to deploy your web application to the web site.
The Monitor management page provides a chart that displays usage information for the web site. By default this chart displays the same metrics as the chart on the Dashboard page as described above in the Dashboard section. The chart can also be configured to display the metrics HTTP Successes, HTTP Redirects, HTTP 401 errors, HTTP 403 errors, HTTP 404 errors and HTTP 406 errors. For more information about these metrics, see How to Monitor Web Sites.
The Configure management page is used to set application specific settings including:
- General – Set the version of .NET framework or PHP required by your web application. For sites in Standard mode, there is an option to choose a 64-bit platform. Set Managed Pipeline Mode to Classic only if you have legacy web sites that run exclusively on older versions of IIS (Integrated is the default.) To enable your web site to use real time request pattern applications such as chat, you can set Web Sockets to On. To enable editing of your web site directly online, set Edit in Visual Studio Online to On.
- Certificates - Upload an SSL certificate for a custom domain. SSL certificates can be uploaded only in Standard mode. The certificates you upload are listed here and can be assigned to any web site in your subscription and region. Wildcard certificates (certificates with an asterisk) are supported.
- Domain Names - View or add additional custom domain names for a web site. Custom domain names can only be used in Shared or Standard mode.
- SSL Bindings - SSL bindings to custom domains can only be used in standard mode. Choose an SSL mode (SNI, IP, or No SSL) for a particular domain name. If you choose SNI or IP, you can specify a certificate for the domain from the certificates you have uploaded.
- Deployments - This section appears only if you have enabled deployment from source control. Use these settings to configure deployments.
- Application Diagnostics - Set options for gathering diagnostic information for a web application that supports logging. You can choose to log to the file system or to a Windows Azure Storage account, and choose a logging level to specify the amount of information gathered.
- Site Diagnostics – Set logging options for gathering diagnostic information for your web site, or enable Visual Studio 2012 or Visual Studio 2013 to debug your web site remotely for a maximum of 48 hours.
- Monitoring - For web sites in Standard mode, test the availability of HTTP or HTTPS endpoints from geo-distributed locations.
- Developer Analytics - Analytics monitor the performance of your web application. Choose an analytics add-on from the Windows Azure store, or choose a custom analytics provider such as New Relic.
- App Settings – Specify name/value pairs that will be loaded by your web application on start up. For .NET sites, these settings will be injected into the web site’s .NET configuration AppSettings at runtime, overriding existing settings. For PHP and Node web sites, these settings will be available as environment variables at runtime.
- Connection Strings – View connection strings to linked resources. For .NET sites, these connection strings will be injected into the web site’s .NET configuration connectionStrings settings at runtime, overriding any existing entries where the key equals the linked database name. For PHP and Node web sites, these settings will be available as environment variables at runtime.
- Default Documents – Add your web site’s default document to this list if it is not already in the list. If your web site contains more than one of the files in the list then make sure your web site’s default document appears at the top of the list by changing the order of the files in the list.
- Handler Mappings - Add custom script processors that handle requests for specific file types (for example, *.php).
For more information about how to configure a Web Site see How to Configure Web Sites.
On the Scale management page, you can specify the web site mode (Free, Shared or Standard). Shared and Standard modes provide better throughput and performance. Shared and Standard modes allow you to increase the Instance Count, which is the number of virtual machines used by your web site.
In Standard mode, you can also increase the core count and memory capacity of each instance by changing the Instance Size. For greater cost effectiveness, you can choose the Autoscale option to have Windows Azure allocate resources for your web site dynamically. The Choose Sites option lets you choose which web sites in a region you want to run in Standard mode.
For more information about configuring scale options for a web site, see How to Scale a Web Site.
The Linked Resources management page provides a list of Windows Azure resources that your web site is using, including SQL databases, MySQL databases, and Azure storage accounts. Click the name of the resource to manage it.
Management Page Icons
Icons are displayed at the bottom of each of the web site's Management pages. Several of these icons appear on multiple pages, and a few icons are displayed only on specific pages. The following icons are displayed at the bottom of the Dashboard management page:
- Browse - Opens the default page for the web site.
- Stop - Stops the web site.
- Restart - Restarts the web site.
- Manage Domains - Maps a domain to this web site. Not available for sites in Free scaling mode.
- Delete - Deletes the web site.
- WebMatrix - Opens supported web sites in WebMatrix, allowing you to make changes to the web site and publish those changes back to the web site on Windows Azure.
The following icons are not displayed at the bottom of the Dashboard management page, but are on the bottom of other management pages to accomplish particular tasks:
- Add Metrics - At the bottom of the Monitor management page, allows you to add metrics to the chart displayed on the Monitor management page.
- Link - At the bottom of the Linked Resources management page, allows you to create management links to other Windows Azure resources. For example, if your web site accesses a SQL database, you can create a management link to the database resource by clicking Link.