Failed to load resource (css, js, images) the server responded with a status of 403 over HTTPS

csta21 1 Reputation point
2021-08-10T23:40:04.51+00:00

I am hosting my website with a hosting service provider. The website loads perfectly when the request is HTTP (i.e. http://example.com), but I get "Failed to load resource: the server responded with a status of 403" over HTTPS (i.e. https://example.com) when trying to load static files (css, js, images).

I am using .NET 5.0, do you know what could be the cause of this issue?

Windows development Internet Information Services
Developer technologies ASP.NET ASP.NET Core
Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.