Skip to content
darrenjrobinson – Bespoke Identity and Access Management Solutions

darrenjrobinson – Bespoke Identity and Access Management Solutions

Enterprise Microsoft and SailPoint Identity & Access Management Architect

  • Blog
  • Microsoft Identity Manager
  • SailPoint IdentityNow
  • Lithnet
  • MSAL
  • Hackathons
  • IoT
  • About Darren
Posted on May 30, 2019May 30, 2019 by Darren Robinson

Goodbye GoDaddy WebHosting, Hello Azure Static Website

Way back in the 2000’s I got pulled into the commercial side of the Craft Beer Industry. I’d spent the previous 10+ years perfecting some eclectic beer styles and my professional brewing mates figured it was time to unleash them on the unsuspecting public. With any enterprising venture (but especially beer) you need a website to get the message out. I had a brand new 27″ iMac so I hacked together a simple one page website using the now defunct Apple iWeb. I hosted the page on GoDaddy WebHosting, the registrar of the domain name I purchased. It was 2009, it was easy and it worked. Over the years my brewing company got bigger and the website got more content. The traffic and the hosting plan grew with it to where we are today.

After a solid 10 years and some crazy adventures brewing tasty crafty beers around the world, I’ve pulled back on the beer production. I still entertain a few collaborations here and there, but this week when the hosting for my website became due I figured there had to be a more economical way of hosting a static iWeb website in 2019. Enter Azure Static Website. Static Webhosting in Azure Storage  has been available for a while and we’ve used it for some simple Single Paged Websites. I wanted to see if I could cancel my Webhosting, save some beer money and use Azure.

This is the process I performed to migrate my iWeb website to an Azure Static Website. The first thing I did was turn off auto-renewal on my GoDaddy WebHosting Plan. After that the high level process was;

  • Update the iWeb Configuration (on my Mac) for my website to publish to a local folder
  • Published my iWeb website to a local folder. I compressed the website into a zip archive and copied it to my cloud drive.
  • In my Azure Subscription I created a Storage Account in a new Resource Group
  • Enabled the Storage Account for Azure Static Website
  • Uploaded my iWeb website using Azure Storage Explorer
  • Tested the website
  • Redirected my domain name to the Azure Static Website
  • Had a celebratory beer

Creating an Azure Static Website

In the Azure Portal I then created a new Storage Account in a new Resource Group. A key option is to

do NOT choose Premium for the Performance option

as this will then not provide the option for a Static Website in on your new Storage Account. The Account Type must also be StorageV2

New Storage Account for Azure Static Website.PNG
New Storage Account for Azure Static Website

With the Resource Group and Storage Account created, on the configuration of the Storage Account I selected Static website and selected Enabled. I gave the name of the default file for my iWeb website (index.html) which is case-sensitive. Also the name of an error html file (404.html) and selected Save.

Enable Static Website and Default Page.PNG
Enable Static Website and Default Page

This then created the necessary dependencies on the Storage Account for a Static website. On my Windows laptop I uncompressed the Apple iWeb website to a folder and using Azure Storage Explorer uploaded my iWeb website folder.

Upload Web Content.PNG
Upload Web Content

I repeated this for my index.html and 404.html files. The 404.html file I created specifically for the Azure Static website.

Upload Web Content File.PNG
Upload Web Content File

On the properties of the Azure Static Website in the Azure Portal you can get the primary URI which will be something like https://yourStorageAccount.Zone.web.core.windows.net

I tested mine out and boom, there was my website.

Finally in my DNS Settings for my brewing company domain name back at GoDaddy where the domain name is registered, I configured forwarding (with masking) to the Azure Static Website address.

Forward Domain.PNG
Forward DNS Domain

Summary

In the space of an hour I was able to export my 10+ year old Apple iWeb website, create a new Azure Storage Account and upload my web content and redirect my domain name to the new location of my website. Using Metrics on my Storage Account I will keep an eye on how much traffic is being served for my web content.

Related

CategoriesAzureRM, How-to TagsAzure Static Website, storage account

Post navigation

Previous PostPrevious Getting started with PowerShell IoT on Raspbian (Raspberry Pi)
Next PostNext Get/Update SailPoint IdentityNow Global Reminders and Escalation Policies

Find Posts from Darren Robinson

Find Darren Robinson

Contact Darren Robinson

  • darren@darrenjrobinson.com

Darren’s Recent Posts

  • Debugging Microsoft Entra Verified ID setup and configuration
  • Getting started with the official SailPoint IdentityNow PowerShell SDK
  • Searching LDIF Files with PowerShell
  • Decentralized Identity Searcher PowerShell Module
  • Release 1.1.6 SailPoint IdentityNow PowerShell Module
  • Convert to and from Windows and Unix timestamps with PowerShell
  • Updating and setting primary attributes in SuccessFactors with PowerShell
  • My Road Warrior – Mobile Remote Working Setup 2022
  • Microsoft Entra Verified ID
  • Using Azure AD for SSO into SailPoint IdentityNow
  • Microsoft MVP Renewal 2022/23
  • Token Binding with Verifiable Credentials
  • Decoding Azure AD Access Tokens with Python
  • ESP32 Com Port – CP2102 USB to UART Bridge Controller
  • Microsoft.dotnet-interactive is not compatible with net5.0

Bookmarks

  • Azure AADSTS Error Codes
  • Azure AD / M365 Tenant ID
  • Azure AD Admin Roles (by task)
  • Azure AD Services Location
  • Azure Functions CRON Cheat Sheet
  • Azure Icons
  • Azure IP Ranges and Service Tags
  • Azure Periodic Table
  • Azure Visio Stencils Pack
  • Docker Hub
  • Granfeldt PSMA
  • Lithnet Tools
  • Microsoft Admin Portals
  • MIM Documentation
  • MIM Tweets
  • MIM Versions
  • MS Graph AAD Query Options
  • MS Graph Permission Explorer
  • PowerShell Gallery
  • SailPoint Compass
  • VSCode Shortcuts (Win)
  • What's new in Entra Verified ID
  • What's new in MS Graph
  • What's new in MS Graph (Beta)
  • Win10 Dev VM
  • Windows 10 Shortcuts

Subscribe to DarrenJRobinson's Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

DARRENJROBINSON\’s Blog RSS

RSS feed RSS - Posts

Blog Tags

  • Active Directory
  • Azure
  • AzureAD
  • AzureAD B2B
  • Azure Function Apps
  • Azure Functions
  • AzureRM
  • Certificate
  • Cognitive Services
  • Decentralized Identity
  • Domino
  • Exchange
  • FIM
  • Granfeldt
  • Graph API
  • How-to
  • IBM
  • Identity
  • IdentityNow
  • Internet of Things
  • IoT
  • Jupyter
  • Lithnet
  • management agent
  • Microsoft Flow
  • Microsoft Graph
  • MIM
  • MSAL
  • MVP
  • NodeJS
  • oAuth
  • oauth2.0
  • Password
  • Power BI
  • PowerBI
  • PowerShell
  • Python
  • REST API
  • SailPoint
  • Verifiable Credentials
  • Virtual Machines
  • webapp
  • Workday
  • YubiCo
  • YubiKey

Blog Categories

  • 25 Days of Serverless (1)
  • Active Directory (9)
  • Application Development and Integration (9)
  • Azure (13)
  • Azure AD (38)
  • Azure Function Apps (16)
  • Azure Functions (20)
  • Azure Graph (6)
  • Azure Infrastructure (11)
  • Azure Platform (14)
  • Azure Powershell (8)
  • Azure Resource Manager (7)
  • azure vm (5)
  • AzureRM (7)
  • Cloud Infrastructure (1)
  • Communication and Collaboration (1)
  • DevOps (6)
  • Exchange (5)
  • FIM (75)
  • FIM2010R2 (12)
  • granfeldt (37)
  • Graph API (17)
  • How-to (88)
  • Identity (37)
  • Identity and Access Management (193)
  • IdentityNow (47)
  • Internet of Things (15)
  • IoT (17)
  • Jupyter (8)
  • Lithnet (32)
  • Lync (1)
  • management agent (39)
  • MFA (7)
  • microsoft (3)
  • Microsoft Azure (7)
  • Microsoft Graph (30)
  • Microsoft Office 365 (3)
  • MIM (62)
  • node.js (2)
  • NodeJS (8)
  • oauth2.0 (9)
  • Office 365 (4)
  • Power BI (5)
  • PowerBI (9)
  • PowerShell (43)
  • PowerShell (152)
  • Python (7)
  • REST API (8)
  • SailPoint (47)
  • SharePoint (1)
  • Twitter (2)
  • UCWA (1)
  • Uncategorized (4)
  • Universal Dashboard (1)
  • Verified ID (3)
  • Virtual Machines (8)
  • Web API (2)
  • WebAPI (8)
  • webapp (10)
Proudly powered by WordPress