New domain on aws elastic beanstalk

I have a nodejs app running on elastic beanstalk. I have a domain registered through GoDaddy and a cname that points to

  1. Can I point my domain to aws nameservers, instead of mapping that domain to the domain that eb has set up?

    This is how I would like to set up my domain, but when I attempted to, it wouldn’t work (and I’m not sure why). I checked DNS propagation, and things looks good, but when browsing to my domain, things wouldn’t work.

  2. Can I set up subdomains to work with elastic beanstalk (eg.

    I read somewhere that subdomains cannot be set up in elastic beanstalk, but I don’t understand why this would be. I’d like to have one app running at and one at Can I do this with eb? If not, can I set this up on an ec2 instance and configure it myself?


Your end-goal can be achieved. In your case, you would create a CNAME of pointing to and another CNAME of pointing to

You cannot point your domain to the Elastic Beanstalk name servers. You would use AWS Route53 DNS service and point your domain to those name servers. If you did this, you could create and as ALIAS records of your Elastic Beanstalk apps instead of CNAMEs. But if GoDaddy stays as your DNS host, then you’ll have to stick with CNAME records.

Source : Link , Question Author : jordan , Answer Author : Matt Houser

Leave a Comment