Sergio Razo
Sergio Razo

Reputation: 43

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

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.

Upvotes: 3

Views: 1433

Answers (1)

DAK
DAK

Reputation: 362

  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

Upvotes: 1

Related Questions