How to host your website on Azure | Step-by-Step Guide
Hosting your website on Azure is very simple. Just a few clicks ๐.
Final result
Prerequisites
- Signup for an Azure account for free if you don't have one already. (Note: If you are a student you can get free credits)
- Basic git knowledge and a GitHub account.
- Your website.
Let's get started
- After creating an Azure account, login into portal.azure.com.
- Click on Create a resource.
- Search for Static Web App and select static web app.
- Click on Create.
Here we need to fill in a few details.
- In the project details, choose your subscription.
- For Resource Group click on create new and name it anything you like.
- Next, give your app a Name.
- Hosting plan: Free: For hobby or personal projects
- Next, select a region.
- After that, in deployment details select GitHub as the source and sign in with your GitHub account.
- For Organization, choose your GitHub account from the dropdown.
- Next, select Repository and Branch.
- Now Build details
- For Build Presets, if your website is built with a framework or a static site generator then choose accordingly otherwise choose Custom.
- For App location, choose where your app files are there or if it is a simple website with only HTML and CSS files leave it as
/
.
-
Click on Review + Create.
-
Verify all the provided details and click Create.
-
Wait for a few seconds, after deployment is complete click on Go to resource.
-
Copy the URL, paste into a new tab and see.
Congrats ๐๐๐! Your website is now live on the internet.
If you have any doubts ask in the comments below ๐.
Also read,
Hope this helps you! Save for reference.
LEAVE A COMMENT OR START A DISCUSSION
MORE ARTICLES
3 min read
Introducing Publish Studio: Power Digital Content Creation
Say โHiโ to Publish Studio, a platform Iโve building for the past few months. If you are a content writer, then you should definitely check it out. And if you are someone who has an audience on multiple blogging platforms and need an easy way to manage your content across platforms, then you should 100% give it a try.
10 min read
Let's Build a Full-Stack App with tRPC and Next.js 14
Are you a typescript nerd looking to up your full-stack game? Then this guide is for you. The traditional way to share types of your API endpoints is to generate schemas and share them with the front end or other servers. However, this can be a time-consuming and inefficient process. What if I tell you there's a better way to do this? What if I tell you, you can just write the endpoints and your frontend automatically gets the types?