A Static Website as cheaply as possible with Azure Storage, Azure CDN, HTTPS and a Custom Domain

Hosting in Azure – A Static Website as cheaply as possible with Azure Storage, Azure CDN, HTTPS and a Custom Domain


A Static Website as cheaply as possible with Azure Storage, Azure CDN, HTTPS and a Custom Domain

Hosting in Azure

Setting up a Static Website as cheaply as possible with Azure Storage and an Azure CDN, with HTTPS and a Custom Domain.

Please forgive my funny faces and “wincing.” I recently got braces and they are annoying.

you search:

Hosting in Azure

A Static Website as cheaply as possible with Azure Storage, Azure CDN, HTTPS and a Custom Domain

37 thoughts on “Hosting in Azure – A Static Website as cheaply as possible with Azure Storage, Azure CDN, HTTPS and a Custom Domain

  1. I made the same process in AWS and is similar but Azure Interface is more intuitive and better designed.

    2 Extra steps I did were…

    Blocking the storage website url (s3 bucket static website url in aws), and blocking the content distribution url so it can be only accesed from the custom domain, otherwise if you have an static website you will end with a website indexed in 3 different urls in Google.

    Putting all this behind Cloudflare so it can prevents a DDOS and with that a potential attack and with that a huge sum to pay in bandwidth transfer.

  2. Hi scott, I am getting error on the url. "error: The requested content does not exist.

    HttpStatusCode: 404

    ErrorCode: WebContentNotFound "

    Unless I append url with index.html. I need url to auto direct to index.url. Is this possible ? (note: not a custom domain)

  3. There is a slight correction I guess Scott. You pointed CNAME to CDN endpoint, but in notepad you mentioned that its pointed to static website endpoint. Just informing. No offence meant.

  4. So before the Azure CDN steps, my website was working with the link from the storage blob, but after the CDN steps, I get this error:

    This XML file does not appear to have any style information associated with it. The document tree is shown below.

    <Error>

    <Code>InvalidQueryParameterValue</Code>

    <Message>

    Value for one of the query parameters specified in the request URI is invalid. RequestId:47b21816-901e-00c9-75f1-86b6b5000000 Time:2019-10-20T02:49:51.4645519Z

    </Message>

    <QueryParameterName>comp</QueryParameterName>

    <QueryParameterValue/>

    <Reason/>

    </Error>

    someone please help. I've searched everywere, read so much, researched so much and I still cant get an answer 🙁

  5. Traditionally, Azure still can't render a secure site automatically. For example, I just tried going to:

    http://www.intertechtional.com or

    but it shows an error.

    The account being accessed does not support http.

    HttpStatusCode: 400
    ErrorCode: AccountRequiresHttps
    RequestId : 10b6649b-d01e-00ab-3318-74f05f000000
    TimeStamp : 2019-09-26T03:11:27.3417808Z

    However, if you try this:

    https://www.intertechtional.com/ It works.

    Is there anyway Azure could change the settings so that it always reneders https by default. At present the best way is to route the domain address via cloudflare and it does automatically. I am posting this here because Scott can get this fixed. We don't know how to request new features such as this one.

    I have tested this on my test website: https://azure.html-css.co.uk/ This is routed via Cloudflare and I had to do this to make sure it always renders https://

  6. Good video Scott, but this 100% completely free on Google Firebase and you get a Database, Functions, Authentication, etc. included for free as well. With limits obviously. Not trying to advertise for Google Firebase or put a damper on your pitch for Azure here but I do think Azure needs a better choice for startups, and if your pinching pennies like this that's the intended audience.

Leave a Reply

Your email address will not be published. Required fields are marked *