Reputation: 358
I have deployed an angular app at AWS instance, it has three flows in it. say:
Now I want to create subdomains for each one of the flow using my godaddy account, it will be something like:
I think it is achievable but how, that I don't know. If anyone is aware of how to do that, please point me in right direction, it is very helpful.
Thanks in advance.
Upvotes: 0
Views: 819
Reputation: 2541
create three distributions on cloudfront for
alpha.example.com
beta.example.com
gamma.example.com
then three resources on Gateway API to point to the and link them with cloudfront distributions:
12.345.6.789:4200/alpha
12.345.6.789:4200/beta
12.345.6.789:4200/gamma
now in you angular app, you can setup proxy which will map /alpha -> alpha.example.com
etc.
Upvotes: 1