I have an app running on a Linux server that makes use of external services that often don't have public DNS for their domain name.
To solve this I add local DNS to my /etc/hosts
file - matching the IP address of the service to the domain name. This means we can use the domain name and the SSL certificate:
123.456.789.123 subdomain.domain.tld
However we're moving this app to an AWS Elastic Beanstalk setup, so we can't make use of the traditional /etc/hosts
method.
I've been trying to research this in the Amazon docs, but I'm either Googling the wrong thing or they don't offer such functionality.
Any ideas?
Thanks in anticipation.