Azure Web Site

Azure Web Site

Azure Web Site

The Azure platform allows host many resources and provide a lot of functionality. We’ll see today hosting a web site and a MySQL database in Azure. As for one host classical, Azure allows hosting site wordpres,… . The PHP functionality is available is allows execution of script

Create a web app in Azure

Multiple languages (python, php, .net..) can be used in Azure, let’s see here prepare a site using PHP.
In the Azure portal, click New and then enter web. Click on Web + mobile and web Application + MySQL.

Azure Web Site

Click the Create button and then enter the desired domain name. It will be suffixed with. azurewebsites.net. It will be possible to use your domain name by modifying the dns. Change the value of the www record to point to the url Azure (domain.azurewebsites.net). We will create a new group of resource named AzureWebSites.

Azure Web Site

Now, it is necessary to configure the database. To do this enter the name you want as well as the type of database. Two types of database can be used (shared or dedicated). Finally select the location and the desired level of pricing.

Azure Web Site

Before you can initiate the creation of the web app, it is necessary to proceed with the acceptance of the legal conditions.

Azure Web Site

Once the parameters are validated, it is possible to initiate the creation of the webapp.

Azure Web Site

The web app is now created, ftp access must now be configured

Azure Web Site

Configure web app

It is possible to configure the application to use a particular version of ASP.NET, php… Click on ‘All resources’ and on the web site.

Azure Web Site

In General, click application settings.

Azure Web Site

Make the setting as desired, and then click Save.

Azure Web Site

In the Publication category, click deployment credentials, and then type the information you want.
Click Save for validate.

Azure Web Site

In the central panel, the name of the FTP and FTPs server appears. This information should be used to connect.

Azure Web Site

FTP connection

Before to connect in FTP, we will first download a WordPress engine.

Azure Web Site

Launch Filezilla and then set up a new connection

Azure Web Site

Create database and upload website

Click Browse and then click MySQL databases.

Azure Web Site

Select the desired base and then click settings to retrieve the information necessary for the connection. The icon manage the database to obtain the information necessary for the management of the database.

Azure Web Site

In General tab, click Properties.

Azure Web Site

The window to obtain the information required for the connection.

Azure Web Site

Click OK in the warning window that appears. The contents of the folder appears. Upload the contents of the site on the server into Site/wwwroot. In my case the engine WordPress has been sent.

Azure Web Site

access to the web site

It is now possible to access the web site, to access the url provides. It is possible to use a different domain name by modifying the www CNAME in the DNS of your register.

Azure Web Site

Azure Web Site

the WordPress site is now available.

Azure Web Site

https://azure.microsoft.com/en-us/documentation/articles/web-sites-php-mysql-deploy-use-ftp/

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.