Score:0

How to make a domain name resolve to the same IP address as another domain name?

ni flag

I have a AWS ELB to the gateway of an internal service.

I have some other host names that I need to be resolved to the same address as the ELB DNS name.

In my current set up, I'm using /etc/hosts to manually point the names to the IP address of the ELB.

But the IP of the ELB changes once in a while and I'll have to update /etc/hosts again and again.

Is it possible to just tell my operating system to just resolve the specified host names as like I'm querying with the ELB DNS name?

Score:0
cn flag

DNS CNAME. ELB name is the canonical name, and the other name you want to resolve to it the alias.

/etc/hosts is not useful beyond that one host. Use DNS.

Satoru.Logic avatar
ni flag
For some reason I can't change the DNS setup. My only option is to do it in your local environment.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.