Hosting A Static Website On Azure Web App

Cloud computing allows us to access a large number of services that we can then have at our disposal, such as: physical servers, networks, virtual machines, and development containers, among others. For this, we're referring to Microsoft Azure, where we can build practically  anything (as far as computers are concerned).
 
One of the most-used resources today are services that allow us to work with web applications for hosting HTML pages. For example, in the case of Azure, there is a service called Web App, and best of all, it's easy to manage the infrastructure for its operation.
 
For the implementation of a Web App, the first thing we need to do is create a service of this type (Web App),
 
Hosting A Static Website On Azure Web App
 
Here the name of the application will also serve to define the name of the domain to access the website you want to create. Azure provides us with a subdomain with azurewebsites.net.
 
The creation of this service usually takes between 30 and 60 seconds.
 
Hosting A Static Website On Azure Web App
 
In order to host the HTML and CSS files of the web page that you want to host in the cloud, we go to the list of options of the created resource and select in “Advanced Tools”:
 
Hosting A Static Website On Azure Web App
 
Once this process is done, we will be redirected to the Kudu portal, where we can host our files, add extensions such as: phpMyAdmin, ASP.NET, PHP7, and Python, among others. For our purposes, we turn to the CMD console:
 
Hosting A Static Website On Azure Web App
 
Later we will find the CMD command console and a file directory of the website. In the file directory start browsing from the site folder, then wwwroot, and in that directory we upload the HTML files, images and other components  of the web page that you want to host.
 
The last thing left to do is review the final web page through the address initially created in the resource.
 
Hosting A Static Website On Azure Web App


Similar Articles