Host Multi-pages on Amplify

0

What’s the way to host my website that containing multiple pages ? - it allowed to upload one html zip file which is mean one page.

-This is first time I host website on Amplify.

1 réponse
1

The Amplify CLI commands include the ability to add hosting via S3 and CloudFront, and to publish your updated codebase to S3 as needed. The steps are documented here: https://docs.amplify.aws/cli/hosting/hosting/. If you are building a React based web application, for example, all of the files from your build directory would be published to S3 as a single page application (SPA). If you are not using a SPA framework such as React, then really any files you publish to S3 will become available and can be accessed similarly to any other webserver.

profile pictureAWS
EXPERT
répondu il y a 2 ans
  • Really thank you David - that’s help!

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions