How to make a ReactJS app active/visible on AWS

前端 未结 3 1335
感动是毒
感动是毒 2021-01-27 01:43

I developed a reactJS project (front-end) on AWS which has it RESTFUL API coming from heroku. They are completly separated i.e the frontend and backend.

I have successfu

3条回答
  •  灰色年华
    2021-01-27 02:43

    Firstly, it is perfectly fine to deploy them on different servers/cloud. Can you give the URL ? I feel it is not issue of different clouds but configuration issue. Can you first put a simple html file on same S3 bucket and see if you can access that via your domain name.

    Suppose you have your react app example.com hosted in bucket named ant. So, go ahead and put additional test.html in bucket ant. Then try example.com/test.html .. This will make sure your domain setting etc. are proper

提交回复
热议问题