I need advice on how to setup my app.
Basic idea : I want my app accessible by 2 different URL :
- domainA .com, my main url which point to my root page
- domainB .com, which points to another page of my app : domainA.com/pageB
I don’t have any database issue, since my database can be shared between the two apps.
My setup now is
domainA -> AWS ELB -> 1 Instance AWS
and I use MUP to deploy, so no NGINX special configuration for now.
Ideally the user browsing with domainB .com won’t see the redirection to domainA .com
Is there any solution which can allow me to keep a single instance (and ideally still use MUP), and not having to use 2 instance and duplicate my app ?