Deploy Website To Azure Using FTP

Introduction

This article demonstrates how to deploy a website to Azure using FTP.

Prerequisites

First of all, log in to the Azure portal. Click here to go to Azure login page.

Azure

After signing into the Azure portal, click on New from the left panel of the website, as shown in the below image.

Azure

Now, click Web + Mobile >> Web App.

Azure

Enter the name of the app. Here, we are going to give the name as vivek-kumar so our website name will be vivek-kumar.azurewebsites.net.

Click on "Create" button.

Azure

We will get notification message for Deployment succees.

Azure

Now, click on "All resources" from the left panel of the website.

Azure

Click on the name of the just created application. 

Azure
Now, click on the Deployment credentials, enter the FTP/Deployment username as per our choice and availability, enter Password, confirm password and click on "Save" as shown in the below image.

Azure

We will get a notification for successfully resetting the deployment credentials for vivek-kumar.

Azure

Now, click on the Overview tab and copy the FTP username and hostname.

Azure

Open FileZilla file transfer tool now.

Enter the host name and username that we copied from Azure Portal. Enter password and click on "Quickconnect" as shown in the below image.

Azure

It will ask for saving the passwords. Now, it depends on your choice and priority. Here, I am clicking OK button.

Azure

Click on OK for Unknown certificate popup, as in the below image.

Azure

We can clearly see the local directory is available in the left side and the remote site (Azure) is available in the right side of the FileZilla.

Azure

Click on the site -> wwwroot in the right side (Remote site) of the FileZilla.so that we can reach the desired location.

Now, right click on the index.html page in the left side of FileZilla and click Upload as shown in the below image.

Azure

Now, the file will be directly uploaded to the specified location.

Azure

Now, open the website in the browser and you can see that the website is in running mode.

Summary

In this article, we have learned publishing a website to Azure using FTP (FileZilla).

Up Next
    Ebook Download
    View all
    Learn
    View all