Prerequisite
Install sublime text on your system
Download a static website template file with HTML code (e.g. CeeVee template)
To Enable a Static Website in Azure
Create an azure storage account in your azure portal
Click on the static website on the storage account overview
Switch from disable to enable, Enter the index document name as Index.HTML and error document path as error.HTML and save
A container “$web” is automatically created and it is where the web page will be hosted
To edit the HTML File template
Open the file template with the sublime text
Edit the file template to suit your specification and save.
Image of the edited file from the browser.
To upload the static website HTML file into the $web container
Click on $web container created, click on upload on the top right hand tab to upload the edited file template and Click on upload
The file is uploaded successfully.
The URL generated can be copied to the browser to view the uploaded file and also SAS can be Generated to grant limited access to the storage account for specific period of time.
Top comments (0)