Angular: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.

Jonny Reed 0 Reputation points
2024-02-08T01:43:32.91+00:00

Hi everyone. I have an angular application that runs fine on my local machine. I have published to Azure via the VS code extension.
When I check the URL {mywebsite}azurewebsites.net/index.html I get the error "The resource you are looking for has been removed, had its name changed, or is temporarily unavailable." In the Settings > Configuration > Default documents panel of Azure portal I have added the index.html page. I've also added the web.config file to the src/app folder in VS code

<?xml version
<configuration>

	<rewrite>
		<rules>
			<rule
				<match
				<conditions
					
					<add
				<conditions>
				<action
			</rule>
		</rules>
	</rewrite>
</system.webServer>

Thanks very much for your help with 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,876 questions
{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.