Why my website not working properly if I use custom domain?

Mahmudul Hasan 1 Reputation point
2021-05-19T07:03:04.477+00:00

I have created an app service using the B1 tier and hosted a Blazor app for testing purposes.
After that, I've added a custom domain and configured an additional SignalR service, and pushed the app via Visual Studio.

Everything is fine, the app is up and running, I can navigate to the website using the domain.

But the problem is if I navigate to my website via the custom domain, the site doesn't work properly, the button doesn't work, SignalR seems slow, etc.

The following screenshots may help to understand properly -

Counter button and the hamburger button working if I navigate to the site using azure's free domain - https://saffron.azurewebsites.net/counter

97775-working.png

Counter button and the hamburger button is not working if I navigate to the site using my custom domain - https://saffron.pienteger.com/counter

97727-notworking.png

The problem happening on both desktop and mobile platforms. I took the screenshot using the mobile view to bring the hamburger button. Also, I've changed the browser, platform, cleared cache and cookies, but the result remained the same.

So what could be the reason and how can I solve this issue?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,642 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tim vd H 1 Reputation point
    2021-05-19T14:07:44.043+00:00

    Could there be some CORS limitations on your api and/or SignalR endpoint?
    It was not visible in the console/network output though.


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.