AWS Multiple domains pointing to same server

后端 未结 2 354
无人及你
无人及你 2021-01-07 11:18

I\'m building a solution that will be provided to several companies. Any company will have to point their domains (or just a sub-domain) to my server and then I\'ll handle p

2条回答
  •  攒了一身酷
    2021-01-07 11:30

    1. Put Elactic Load Balancer in front of your application instance (even if you will use only one instance at the beginning).
    2. Using your domain (the zone does not have to be hosted on Route53), create one CNAME (or ALIAS) record (for example myapp.example.com) and point it to your load balancer's domain name.
    3. Simply tell your customers to CNAME their subdomain to your app dns name

提交回复
热议问题