Start a project with Me today!Contact Me
Deploying a Website in Azure via FTP (File Transfer Protocol).
The File Transfer Protocol (FTP) is a standard network protocol used to transfer computer files from one host to another host over a TCP-based network, such as the Internet. FTP is built on a client-server architecture and uses separate control and data connections between the client and the server.
Part 1: Creating Web App in Azure:
STEP 1: Login to the management portal https://portal.azure.com
STEP 2: Click on New>> Web + Mobile >> Web App. As shown below:
STEP 3: Enter the Link you want and then Click on Create as shown below:
Part 2: Deploying Web App through FTP:
STEP 4: Wait for couple of Minute and let the web app succeed Deploy. After Deployment Succeed, open it and click on the Get publish profile as shown below:
Note: A file of extension .Publishsettings will be downloaded, keep it safe because it holds the Details required to publish Website.
STEP 5: Open the recently downloaded .Publishsettings shown file in notepad and find the publishURL, userName and userPWD as shown below:
Note: publishURL, userName and userPWD is required to upload your website to the web app you made via FTP.
STEP 6: Now, Open FTP Tool. In my case, I have Filezilla. So, I am uploading the file using it. In Filezilla, input the following:
- publishURL to Host.
- userName to Username.
- userPWD to Password.
And click on Quickconnect. Then, it connects to the server and the message “Directory Listing Successful” will be displayed as shown as below:
STEP 7: Open the folder name “site” — >“ wwwroot” which is on the right side in the Filezilla, Shown as below:
STEP 8: Then, Drag and drop all your files and folders inside the folder “wwwroot” then it will automatically start uploading the files and folders and after upload completes enter the link (in my case, my URL is: http://himalmandap.azurewebsites.net/) that you made in Azure. You will see what you have uploaded.
Tags: Happy Coding!!! Enjoy Azure!!! Enjoy FTP!!!
Posted : 5 years ago