Any documentation on how to configure multiple/2 domain for one amazon lightsail instance

1.1k Views Asked by At

I need to set up two domain from godaddy to one instance of lightsail.

I already configure two hotzones, one for the example.com domain and the other for the example2.com domain.

The example.com is loading well, but I get the DNS_PROBE_FINISHED_NXDOMAIN on the second one.

I already updated the DNS on godaddy.

I modify the vhost with the two domains.

I have try to have one hotzone and a domain and subdomain and I havent been able to load the example2.com domain.

1

There are 1 best solutions below

5
DAK On
  1. Move your DNS Management to Lightsail DNS Zone
  2. Create static IP for your instance
  3. Update your A Record pointing to your static IP
  4. Follow this for all two Domains
  5. Now your two domains point same Static IP which has a one instance