title: How do I associate my domain name with my AWS applications?
body: <p>I've just starting using the Amazon Web Services (AWS) and I'm still learning about how it works and what features it provides. I have successfully built two of the sample Java webapps and uploaded them to hosted instances on AWS. If I go to the Elastic Beanstalk tab in my AWS Management Console, I can see each of my hosted webapps, including a URL link to each webapp. The URLs are of the format:</p>
  <pre><code>http://myinstancename.elasticbeanstalk.com
  </code></pre>
  <p>I also own a personal domain name. Let's call it &quot;mydomain.com&quot;. The domain registrar provides a DNS maintenance page where I can change the A and CNAME records for my domains.</p>
  <p><strong>QUESTION:
  Is it possible for me to configure my domain DNS in conjunction with my AWS account such that I can make my AWS-hosted webapps appear with URLs like this:</strong></p>
  <pre><code>http://myinstancename.mydomain.com
  </code></pre>
  <hr />
  <p><strong>EDIT in 2020</strong></p>
  <p>This question did not age well over the last 9 years!  :)</p>
  <p>AWS services are vastly different now in 2020. The DNS service for AWS is named &quot;Route53&quot;. It is the first place you should look when your goal is to configure a custom domain name to work with your AWS services.</p>
  <p>The person who originally answered this question also mentioned &quot;Elastic IP&quot;. That is still a thing in AWS. You can associate an Elastic IP with an AWS server to give that server a public IP address that will not change as long as you (the AWS account holder) continue to own that specific Elastic IP. Then in Route53, you associate your DNS entry with the Elastic IP.</p>
  <p>I don't use Elastic Beanstalk anymore in 2020. AWS has better options now.</p>