In this post we are going to learn how we can host a website in Azure. Azure provides a way to host websites as easy as possible. It will just take few minutes to host your websites in Azure. The only perquisites are, you must have a registered domain name and MSDN subscription. Here I will show you how you can do this. I hope you will like it.
What is Azure?
Azure contains managed services, pre built templates, integrated tools which makes easier to build mobile,enterprise, IOT applications. It is pretty much faster and it provides much spaces on the cloud for us. The simplicity of Azure makes any user to be more productive.
Previously I have hosted my personal website in GoDaddy. As my one year hosting plan got expired, I was in a thinking where I should host my Website.
Yeah I was in a deep thinking!!!.
Finally I decided to host it on Azure. Billion thanks to Prabhjot Sir for giving me a platform to work in Azure. So in this article we will see how to host a website in Azure. Shall we start?
Steps to host a website in Azure
If you are new to Azure, please read some basics here : Azure Basics
Creating a Web App
What you need to do first is creating a web App. Once you created, You can see a screen as follows.
Now it is time to move on.
Click on the Dashboard and download the publish profile.
Once you downloaded, please open that file and find the FTP details.
Use CTRL+F and find “ftp”
Now download the Filezilla application which makes your file transferring much easier than anything. And open it . Paste the ftp details (ftp address, user name, password) which you copied from the downloaded file from Azure
Go to File-> Site Manager
Click Connect After you have given settings as shown in the above image. Once you are done with that, in the right side there will be some folders listed in the Filezilla application, please paste your website contents to the site->www folder.Now if you come back to your webapp, you can see the URL, please click on that link.
So you can browse for your website, I hope it will be live by now.
So we have successfully hosted a website in Azure.
Heard about Bizspark? Find out here How to join Bizspark if not.
Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.
Your turn. What do you think?
A blog isn’t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.