This article demonstrates how to deploy a website to Azure using FTP.
First of all, log in to the Azure portal. Click here to go to Azure login page.
After signing into the Azure portal, click on New from the left panel of the website, as shown in the below image.
Now, click Web + Mobile >> Web App.
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.
We will get notification message for Deployment success.
Now, click on “All resources” from the left panel of the website.
Click on the name of the just created application.
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.
We will get a notification for successfully resetting the deployment credentials for vivek-kumar.
Now, click on the Overview tab and copy the FTP username and hostname.
Open FileZilla file transfer tool now.
Enter the hostname and username that we copied from Azure Portal. Enter password and click on “Quickconnect” as shown in the below image.
It will ask for saving the passwords. Now, it depends on your choice and priority. Here, I am clicking OK button.
Click on OK for Unknown certificate popup, as in the below image.
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.
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.
Now, the file will be directly uploaded to the specified location.
Now, open the website in the browser and you can see that the website is in running mode.
In this article, we have learned publishing a website to Azure using FTP (FileZilla).