My Profile Photo

Ashley Poole

- Speaker -
- Senior Software Developer -
- Co-organiser of @ShropshireDevs -
- Site Reliability Engineering Advocate -

Creating A Website In Azure

Azure, what?

For those who don’t know (Where have you been hiding these last 4 years?) Windows Azure is Microsofts cloud computing platforms which provides both PaaS* and IaaS*. A greatly unused benefit of MSDN subscriptions is a free allocation of Azure credits who’s value will depends on your subscription level. At the time of writing this, the ‘Visual Studio Professional with MSDN’ subscription level comes with £35 British pounds or $50 US dollars worth of Azure credits.

I’m not intending to cover in any detail what Azure is, so if you would like more in-depth details of what Azure is or what it can offer head over to here for a quick read first -

Getting HelloWorld Set-up

For this series I will assume you have already got an Azure account though if this isn’t the case head over to where you can sign up for a free trial.

To manage your Azure resources you need to log into their management portal which can be accessed at Upon logging in you are shown a list of all your items whether that be Websites, Virtual Machines, Databases, etc. You are also given an overview of your credit status which when clicked will show your remaining credits and days remaining until your credits expire.

Azure Management Home Screenshot

Now we’re logged in let’s create our first website in Azure. This is achieved by clicking the ‘Web Sites’  tab, then click ‘Create A Website’. This will then by default present you with the ‘Quick Create’ option. You will be asked to provide a URL for your website as well as which region the website will be hosted. The Url by default will use the as the root domain name to which your Url (Subdomain) will be created under. This can be changed latter.

Azure Website Management

After a few seconds your website will be created and brought online. From this screen you can click your website instance name to bring up the configuration area for this website. As you may have noticed, the mode is currently set to Free. Having the website mode set to free restricts the features available to you such as custom domain names which you will most likely require for a public facing website as well as other features.

Azure Website Created

Upon clicking on the instance name, you are taken to the quick start screen for the website instance where you are prompted to setup key items for your instance. For now, let’s get the credentials setup so you can deploy your website to the instance by choosing the ‘Set up deployment credentials’ option.

Azure Website Quick Start

A username and password combination will be required from you that will become your deployment credentials.

Azure New Deployment Creds

Now from the Dashboard page, locate your deployment username and ftp host. The deployment username is usually a combination of the username you chose previously appended to the website instance name. Using your favourite FTP client, make a connect to the FTP server listed using the deployment user and password you choose, then upload your website.

Azure Dashboard Snippet

Once you have uploaded your site, goto your site Url. You should now see the website you have just uploaded. In my case this is my basic, hand written html HelloWorld page.

HelloWorld Website Running

Congratulations, you've just setup and uploaded your first website to the Azure cloud! In future posts of this series I intend to cover the following sections:

  • Deployment trigger by source control (GIT / GITHUB)
  • Upgrading from Free mode to Standard
    • Using custom domain name for the website
  • Configuring the PHP and .NET Framework version
  • Configuring other aspects such as virtual directories, logging, default documents, etc
  • Monitoring
*Terminology explained

Posted on devops, server-admin with tags: azure

comments powered by Disqus