title: AWS Route53 sub domain
body: <p>Can anyone tell me how to set a sub-domain in AWS Route53?</p>
  
  <p>I am entirely new to AWS and a few hours ago I needed to setup a domain name to point at an EC2 instance.</p>
  
  <p>I successfully created a hosting zone with my registered domain configured.</p>
  
  <p>Next, I created an A record and specified the IP Address of the EC2 instance.</p>
  
  <p>My problem is my website, on the EC2 instance, is in a subdirectory. So when I attempt to save the value of the A record as <code>*.*.*.*/my-subsite</code>, the Route53 system refuses to accept my input.</p>
  
  <p>I received the following error:</p>
  
  <blockquote>
    <p>The record set could not be saved because:
    - The Value field contains invalid characters or is in an invalid format.</p>
  </blockquote>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Thanks @Chris, for your answer. I did as you directed and configured <code>documentroot</code> in <code>/etc/apache2/sites-available/000-default.conf</code> to <code>my-site</code>.</p>
  
  <p>My problem is there is a subsite beneath my-site. I created <code>/etc/apache2/sites-available/sub-site.conf</code> and set <code>documentroot</code> to <code>my-subsite/sub-site</code>.</p>
  
  <p>However, when I attempt visiting www.mysite.com/subsite, the browser redirects to www.mysite.com</p>