Share via

403 forbidden error and scripts not running when application is accesed via public url

Agrawal, Sourabh 1 Reputation point
2023-01-04T19:39:13.367+00:00

Hi All,
I am facing bizarre problem, we have moved the existing web application to Azure and some of the scripts and pages stopped working when the user is using a public URL.
But everything works fine when the application is accessed via the server name.

example: when the user accesses the application via http://abc.travel.com/LogOn.mvc some of the pages and scripts do not work.
but if the same application is accessed via http://[ServerName]/LogOn.mvc everything works as expected.

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.


Your answer

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