locked
Deploying my webpage by FTP - I can only see the splash page RRS feed

  • Question

  • I created an AppService with the Azure portal. The URL for the AppService is codeprototyper. azurewebsites. net.

    I then followed the instructions on docs. microsoft. com /en-us /azure /app-service /deploy-ftp and used CoffeeCup Free FTP to deploy the index.html file as well as a js and css file to the wwwroot folder.

    

    I deleted the hostingstart .html file from the wwwroot directory.

    However, when I go to the URL, I still get the original splash page telling me to deploy my site.


    What am I doing wrong?

    https://codeprototyper.azurewebsites.net
    https://codeprototyper.azurewebsites.net
    Friday, April 17, 2020 10:01 AM

All replies

  • Very hard to troubleshoot without having access to where you are deploying.  Could you try this method of deployment instead?

    https://docs.microsoft.com/en-us/azure/app-service/deploy-continuous-deployment

    Friday, April 17, 2020 10:37 AM
  • In the Azure portal, search for and select App Services.

    Search for App services.

    Select the web app you want to deploy.

    Select your app.

    Select Deployment Center > FTP > Dashboard.
    Friday, April 17, 2020 11:11 AM
  • Hi ,

    Thanks for raising the issue.

    I tries browsing the site and I am getting the error service is unavailable. Did you re-deploy or stop the webapp?

    This article shows you how to use FTP or FTPS to deploy your web app, mobile app backend, or API app to Azure App Service.

    The FTP/S endpoint for your app is already active. No configuration is necessary to enable FTP/S deployment.

    Friday, April 17, 2020 1:31 PM
  • No the service is still running. It should be showing my index page but it is still showing the original splash page.

    Saturday, April 18, 2020 1:45 AM
  • I can see this page. Is this the default page? Can you trying making the home page as default page.

    Refer here for setting the default document in the Azure portal.

    Monday, April 20, 2020 3:21 AM
  • No the service is still running. It should be showing my index page but it is still showing the original splash page.

    DaMoNarch91,

    Your deployment is Linux based using .NET Core. Since all you FTP'd was index.html and javascript file, there's nothing to tell .NET Core runtime to host those files. Have a look at this blog post to instructs how to use the UseStaticFiles() api method to hose your index.html file.

    Hope this helps


    Thanks in advance, Ryan

    Tuesday, April 21, 2020 2:43 AM