Lucas Verhoest
Lucas Verhoest

Reputation: 275

Publishing a project (ASP.NET) to Azure, still shows standard Azure page

I'm trying to publish my visual studio (2015) project to azure. When it's uploaded it says that the publish succeeded, but when I'm redirected, I still get the standard Azure page: enter image description here

Visual studio shows this: enter image description here enter image description here

Upvotes: 0

Views: 273

Answers (1)

Tom Sun
Tom Sun

Reputation: 24549

According to your description that files are uploaded, you also can check that with kudu tool(https://yourwebsite.scm.azurewebsites.net).

I thought so but I don't really know how to do that

1.Login to Azure portal

2.select the [Application settings] blade to add the default page you wanted.

More details please refer to the screenshot to add default page.

enter image description here

Edit:

Please remove the hostingstart.html file from the default documents on the Azure portal and clear browse cache or with private mode to visit your site. Or use another browser to try again.

We also can check Remove additional files at destination button during republish. That will remove the files existing in the WebApp before upload the files.

enter image description here

Upvotes: 1

Related Questions