Pointing domain to AWS Classic ELB DNS Name without using Amazon route 53Elastic Load Balancing using a chain of domains/hostsHow to config Amazon Route53 working without www in sub-domainUsing Route 53 with EC2 Public DNS and Virtual HostsUsing Amazon Load Balancers to route traffic to private servers outside AmazonPointing a domain to AWS Route 53Amazon Web Services, mod_remoteip behind VPC hosted ELB occasionally sending IPv6 addressesHow to use external DNS in conjunction with an AWS Elastic Load Balancer?Is it safe to have a DNS record pointing to an unused AWS ELB instance?HOSTALIASES with Fully qualified domain namesHow to get subdomain in Route 53 to resolve to Internet-facing Elastic Load Balancer?

Am I being scammed by a sugar daddy?

Generate parentheses solution

Is all-caps blackletter no longer taboo?

ISP is not hashing the password I log in with online. Should I take any action?

Why is my Taiyaki (Cake that looks like a fish) too hard and dry?

How can I find out about the game world without meta-influencing it?

Do Veracrypt encrypted volumes have any kind of brute force protection?

Tiffeneau–Demjanov rearrangement products

Approach sick days in feedback meeting

A life of PhD: is it feasible?

Am I allowed to determine tenets of my contract as a warlock?

Did I need a visa in 2004 and 2006?

Is it true that "only photographers care about noise"?

Must I use my personal social media account for work?

What to do when the GM gives the party an overpowered item?

Fastest way from 8 to 7

What publication claimed that Michael Jackson died in a nuclear holocaust?

Was the Lonely Mountain, where Smaug lived, a volcano?

Why did the AvroCar fail to fly above 3 feet?

What game uses six-sided dice with symbols as well as numbers on the 5 and 6 faces?

Keeping track of theme when improvising

How to make this Scala method return the same generic as the input?

Is tuition reimbursement a good idea if you have to stay with the job

Why didn't all the iron and heavier elements find their way to the center of the accretion disc in the early solar system?



Pointing domain to AWS Classic ELB DNS Name without using Amazon route 53


Elastic Load Balancing using a chain of domains/hostsHow to config Amazon Route53 working without www in sub-domainUsing Route 53 with EC2 Public DNS and Virtual HostsUsing Amazon Load Balancers to route traffic to private servers outside AmazonPointing a domain to AWS Route 53Amazon Web Services, mod_remoteip behind VPC hosted ELB occasionally sending IPv6 addressesHow to use external DNS in conjunction with an AWS Elastic Load Balancer?Is it safe to have a DNS record pointing to an unused AWS ELB instance?HOSTALIASES with Fully qualified domain namesHow to get subdomain in Route 53 to resolve to Internet-facing Elastic Load Balancer?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








0















I have a domain example.com.
I want to point this domain to my AWS internet-facing classic ELB public DNS (my-elb-123456789.us-west-2.elb.amazonaws.com) without using Amazon Route 53.
How should i configure elb DNS in my domain (example.com) DNS records as a CNAME?
Then what is my 'A' record in DNS configuration?










share|improve this question




























    0















    I have a domain example.com.
    I want to point this domain to my AWS internet-facing classic ELB public DNS (my-elb-123456789.us-west-2.elb.amazonaws.com) without using Amazon Route 53.
    How should i configure elb DNS in my domain (example.com) DNS records as a CNAME?
    Then what is my 'A' record in DNS configuration?










    share|improve this question
























      0












      0








      0








      I have a domain example.com.
      I want to point this domain to my AWS internet-facing classic ELB public DNS (my-elb-123456789.us-west-2.elb.amazonaws.com) without using Amazon Route 53.
      How should i configure elb DNS in my domain (example.com) DNS records as a CNAME?
      Then what is my 'A' record in DNS configuration?










      share|improve this question














      I have a domain example.com.
      I want to point this domain to my AWS internet-facing classic ELB public DNS (my-elb-123456789.us-west-2.elb.amazonaws.com) without using Amazon Route 53.
      How should i configure elb DNS in my domain (example.com) DNS records as a CNAME?
      Then what is my 'A' record in DNS configuration?







      domain-name-system cname-record amazon-elb amazon-route53






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Aug 22 '17 at 0:20









      skgskg

      11




      11




















          1 Answer
          1






          active

          oldest

          votes


















          1














          You can use any DNS provider to direct subdomain traffic to an AWS load balancer. Create a CNAME record that has the value set to the ELB CNAME. This has to be a subdomain with most DNS providers - the www subdomain would be most common. AWS Documentation.



          Setting the domain apex to point at the ELB is more difficult. You can't use an A record as the IP of the ELB changes, and you can't put a CNAME at the domain apex as it's against the DNS specification.



          Some providers let you create something similar to a CNAME at the domain apex, including Route53 and CloudFlare, in a way that meets the DNS specification.



          If your provider won't let you set a CNAME at the domain apex you'll have to create an A record and some kind of redirection. Some options include:



          • A t2.nano EC2 instance with Nginx returning a 301 redirect

          • CloudFlare and a page rule (though if you're using CloudFlare it's better to use the solution above)


          • S3 bucket redirection (only works on http, not https)





          share|improve this answer




















          • 1





            If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

            – Michael - sqlbot
            Aug 22 '17 at 1:50











          • There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

            – Appleoddity
            Aug 22 '17 at 2:17











          Your Answer








          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "2"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f869799%2fpointing-domain-to-aws-classic-elb-dns-name-without-using-amazon-route-53%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          You can use any DNS provider to direct subdomain traffic to an AWS load balancer. Create a CNAME record that has the value set to the ELB CNAME. This has to be a subdomain with most DNS providers - the www subdomain would be most common. AWS Documentation.



          Setting the domain apex to point at the ELB is more difficult. You can't use an A record as the IP of the ELB changes, and you can't put a CNAME at the domain apex as it's against the DNS specification.



          Some providers let you create something similar to a CNAME at the domain apex, including Route53 and CloudFlare, in a way that meets the DNS specification.



          If your provider won't let you set a CNAME at the domain apex you'll have to create an A record and some kind of redirection. Some options include:



          • A t2.nano EC2 instance with Nginx returning a 301 redirect

          • CloudFlare and a page rule (though if you're using CloudFlare it's better to use the solution above)


          • S3 bucket redirection (only works on http, not https)





          share|improve this answer




















          • 1





            If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

            – Michael - sqlbot
            Aug 22 '17 at 1:50











          • There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

            – Appleoddity
            Aug 22 '17 at 2:17















          1














          You can use any DNS provider to direct subdomain traffic to an AWS load balancer. Create a CNAME record that has the value set to the ELB CNAME. This has to be a subdomain with most DNS providers - the www subdomain would be most common. AWS Documentation.



          Setting the domain apex to point at the ELB is more difficult. You can't use an A record as the IP of the ELB changes, and you can't put a CNAME at the domain apex as it's against the DNS specification.



          Some providers let you create something similar to a CNAME at the domain apex, including Route53 and CloudFlare, in a way that meets the DNS specification.



          If your provider won't let you set a CNAME at the domain apex you'll have to create an A record and some kind of redirection. Some options include:



          • A t2.nano EC2 instance with Nginx returning a 301 redirect

          • CloudFlare and a page rule (though if you're using CloudFlare it's better to use the solution above)


          • S3 bucket redirection (only works on http, not https)





          share|improve this answer




















          • 1





            If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

            – Michael - sqlbot
            Aug 22 '17 at 1:50











          • There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

            – Appleoddity
            Aug 22 '17 at 2:17













          1












          1








          1







          You can use any DNS provider to direct subdomain traffic to an AWS load balancer. Create a CNAME record that has the value set to the ELB CNAME. This has to be a subdomain with most DNS providers - the www subdomain would be most common. AWS Documentation.



          Setting the domain apex to point at the ELB is more difficult. You can't use an A record as the IP of the ELB changes, and you can't put a CNAME at the domain apex as it's against the DNS specification.



          Some providers let you create something similar to a CNAME at the domain apex, including Route53 and CloudFlare, in a way that meets the DNS specification.



          If your provider won't let you set a CNAME at the domain apex you'll have to create an A record and some kind of redirection. Some options include:



          • A t2.nano EC2 instance with Nginx returning a 301 redirect

          • CloudFlare and a page rule (though if you're using CloudFlare it's better to use the solution above)


          • S3 bucket redirection (only works on http, not https)





          share|improve this answer















          You can use any DNS provider to direct subdomain traffic to an AWS load balancer. Create a CNAME record that has the value set to the ELB CNAME. This has to be a subdomain with most DNS providers - the www subdomain would be most common. AWS Documentation.



          Setting the domain apex to point at the ELB is more difficult. You can't use an A record as the IP of the ELB changes, and you can't put a CNAME at the domain apex as it's against the DNS specification.



          Some providers let you create something similar to a CNAME at the domain apex, including Route53 and CloudFlare, in a way that meets the DNS specification.



          If your provider won't let you set a CNAME at the domain apex you'll have to create an A record and some kind of redirection. Some options include:



          • A t2.nano EC2 instance with Nginx returning a 301 redirect

          • CloudFlare and a page rule (though if you're using CloudFlare it's better to use the solution above)


          • S3 bucket redirection (only works on http, not https)






          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited May 29 at 1:35

























          answered Aug 22 '17 at 0:35









          TimTim

          18.8k41951




          18.8k41951







          • 1





            If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

            – Michael - sqlbot
            Aug 22 '17 at 1:50











          • There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

            – Appleoddity
            Aug 22 '17 at 2:17












          • 1





            If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

            – Michael - sqlbot
            Aug 22 '17 at 1:50











          • There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

            – Appleoddity
            Aug 22 '17 at 2:17







          1




          1





          If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

          – Michael - sqlbot
          Aug 22 '17 at 1:50





          If your DNS provider does let you put a CNAME at the Apex of a zone, then you have a DNS provider that doesn't understand how DNS works. This is an invalid configuration, always and everywhere. Cloudflare doesn't create a real CNAME record. Their "CNAME flattening" feature actually creates an A record and does a back-end lookup, similar in behavior to a Route 53 alias. Some providers call this an "ANAME" which is not a real RR type, but is similar to what Cloudflare is doing.

          – Michael - sqlbot
          Aug 22 '17 at 1:50













          There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

          – Appleoddity
          Aug 22 '17 at 2:17





          There are multiple instances where using a CNAME for ELB will not work. Some service require an A record and not a CNAME. The advantage of Route 53 is that it allows "alias" records that appear to be A records, but in the backend point to another AWS service. This is the case for both ADFS SSO, and E-mail servers (to avoid spam filtering).

          – Appleoddity
          Aug 22 '17 at 2:17

















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f869799%2fpointing-domain-to-aws-classic-elb-dns-name-without-using-amazon-route-53%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

          Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

          What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company