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 回答
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
专家
已回答 2 年前
  • Really thank you David - that’s help!

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则