'How to host multiple reactJs web app under one domain in amplify?

I've 2 different reactJs applications which can be deployed independently to aws-amplify. Is there a way I can configure them to the different context paths of the same domain?

www.mydomain.com/app1
www.mydomain.com/app2

Is it possible using amplify?



Solution 1:[1]

Right now there is no way to deploy multiple projects with different subdirectories on the same domain using different amplify projects.

But there is a way to deploy multiple projects under the same domain name in a single amplify project instance. If your project is using a monorepo style of structuring the projects. You can read more about it here .

Solution 2:[2]

The closest thing I've figured out is adding subdomains before

Let me know if you figure this out because I'm trying to do the same thing

I'll keep you posted as well

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Nikhil Chauhan
Solution 2