I have a url that points to a s3 hosted angular application. at example.com

That works fine and its running under https

now I want to take my django powered API and running on elastic beanstalk and make it work as a subdomain called api of my example.com website.

So to get to the backend they type api.example.com

the domain is registerd with godaddy.

There I have CNAMES for www.example.com and example.com

now for the subdomain I can't do a A record because I don't have the IP address of the elastic beanstalk instance.

Cant do the CNAME way as it was giving me an error. When I put the elasticbeanstalk url in the points to field

http://example-env.eba-thingy.somereigion.elasticbeanstalk.com

I get an error that says: Enter either @ or a valid host name such as: "subdomain.domain.tld"

CNAMES A Names Subdomains its all so foreign. What do I need to do to handle this correctly?

I also tried the subdomains form with no success

enter image description here

0

There are 0 best solutions below