DEV Community

Discussion on: How to Host a Static Website on AWS with HTTPS and CI/CD

 
mjgs profile image
Mark Smith

So a bit like having a staging and a production environment, then always deploy the non-main branches to staging, and staging environment is always accessible via the same subdomain (e.g. staging.example.com).

Is that what you mean?

I guess that could work as long as each developer had their own separate staging environment.

Thread Thread
 
ara225 profile image
Anna Aitchison

Yeah pretty much though you could go as complicated or as simple as you want.

Thread Thread
 
mjgs profile image
Mark Smith • Edited

Yeah I think fir solo devs it’s probably good enough to have just one staging env.

Though integrating route53 would be really awesome because you could send links to clients for them to test out work in progress, and have multiple preview branches live at the same time.

I’d love to see a simple and clear tutorial on how to use route53 in that way. Perhaps you can recommend one?