Questions tagged [azure-static-website-hosting]
48 questions
23
votes
4 answers
What is the difference between Azure Static Web App and Azure blob storage static website?
What is the difference between Azure blob storage static website and Azure Static Web Apps

Shmili Breuer
- 3,927
- 2
- 17
- 26
7
votes
1 answer
Deeper analytics for Azure Static Web Apps?
Is it possible to access analytics such as browser, dates and times of site hits, IP addresses, etc.?
From the docs here, it looks like Azure App Insights are only available for Static Web Apps that use Azure Functions. I just have a static website,…

SeaDude
- 3,725
- 6
- 31
- 68
5
votes
2 answers
How do I pass "x-ms-client-principal" in Azure Static Website Hosting (Preview) when running locally?
I'm trying out the new Azure Static Website Hosting Preview and when running locally, the Azure functions aren't receiving the "x-ms-client-principle" header in the req binding object.
My routes file looks like:
{
"routes": [
{
"route":…

Orion Adrian
- 19,053
- 13
- 51
- 67
4
votes
4 answers
Occasionally receiving 421 response code from Azure Front Door when using wildcard route
We are using Azure Front Door to serve our white-labeled static website, which means we need our customers to be able to access it through unique subdomains (e.g., cust1.domain.com and cust2.domain.com).
We CNAME *.domain.com to our Front Door…

brandon-barnett
- 1,035
- 9
- 13
3
votes
1 answer
Azure Static Websites encoding apostrophes and other characters in a weird way
Here's what this text looks like when I load the HTML locally in Chrome:
On the contrary, here's what it looks like rendered after I publish to Azure Static Websites:
Apostrophes, quotations, and other characters are being rendered as some weird…

Ali Bdeir
- 4,151
- 10
- 57
- 117
3
votes
1 answer
Azure App Service Static Website routes.json doesn't work
I deployed my static website (React app) to Azure App Service with routes.json to enable HTML5 routing fallback. My routes json is located in /public and is available under URL https://mywebsite.azurewebsites.net/routes.json.
{
"routes": [
{
…

Andrei
- 42,814
- 35
- 154
- 218
3
votes
1 answer
Static blazor web assembly with secure azure functions backend
So I have been looking at the video describing the static website/serverless architecture with blazor. I felt really inspired to create something like this. Unfortunately, I cannot find a decent source for how to actually authenticate against the…

Glenn-Vegar Sørensen
- 31
- 3
3
votes
1 answer
How to configure A type record Or IP address to static website in Azure
I created a html page and placed in Azure blob storage.
After I created an endpoint and configured it in GoDaddy DNS as a CNAME.
But what value do i need to configure for A value in GoDaddy.
I created a CNAME record with DNS provider.
I used example…

superuser
- 445
- 1
- 13
- 30
2
votes
0 answers
Deploying Next.Js App to Azure Results in BadRequest Reason: The size of the function content was too large
I have a next.js app that I am trying to deploy to Azure using GitHub Actions. - But the deployment failes with the following error.
The content server has rejected the request with: BadRequest Reason:
The size of the function content was too…

Ayo Adesina
- 2,231
- 3
- 37
- 71
2
votes
1 answer
Deploy ReactJs Azure Static Web App based on Azure DevOps git repo via Azure CLI
I'm actually working on the Continuous Delivery pipeline for the UI project made in ReactJs with the use of the Azure Static Web App.
I want to create and deploy the static web app to Azure based on the git repo located in Azure DevOps.
The reason…

GoldenAge
- 2,918
- 5
- 25
- 63
2
votes
1 answer
"The requested content does not exist." 404 error with an Angular Static Website (Azure)
I have an Azure Storage Account where I've enabled Static Website. I have released and deployed my Angular website through the Azure Devops pipeline onto the storage account.
I have done this before, and the same error occurred. When adding the…

A. Gh
- 631
- 9
- 24
2
votes
0 answers
Azure CDN Verizon Standard can't see rules engine and need to forward http to https
I have a static web site hosted on blob storage in Azure. I create an Azure CDN profile using Verizon standard account. I need to forward http requests to https automatically. I see a bunch of articles showing how ot do this with the rules engine…

Dave Wade
- 473
- 1
- 5
- 18
1
vote
1 answer
How to add restirction that only Azure CDN can access the static website in storage accounts container. No direct access of static website blob URL
I have created a blob container and made it a static website hosting, where inside the $web folder I have put all the build files of my react application. Please refer to the below image
And I have enabled the CDN for the storage account. Add the…

SDK
- 1,356
- 3
- 19
- 44
1
vote
1 answer
I have one subdirectory angular build inside my main angular build and its not working in static web apps azure
I have two apps. One is app1 which is main app and another is app2. Both are angular apps. I build my app1 for root and placed my app2 build inside app1 build in app2 folder. I build app2 for subdirectory with --base-href=/app2/.
Now build look like…

Ravi Kumar
- 73
- 4
1
vote
2 answers
Can I host a static website on Azure storage and still have an email address for that domain?
Is it possible to host mydomain.com as a static website on Azure storage, and still setup email address admin@mydomain.com?
I believe that CNAME is required for hosting on Azure storage, but this won't work with email

MG123
- 402
- 2
- 14