title: How to move from example.com to app.example.com
body: <p>I have a Laravel app running on AWS LightSail LAMP stack by bitnami. The site is accessible from <em>example.com</em>. Now I want to move that app <strong>from</strong> example.com <strong>to</strong> <strong>app</strong>.example.com . The <em>example.com</em> will later be used to serve company profile/  product portfolio marketing purposes.</p>
  <p>The current codebase is under <strong>/opt/bitnami/apache/htdocs/</strong> directory, not in any subdirectory.</p>
  <p>My queries are:</p>
  <ul>
  <li>How do I achieve the above explained domain structure so that in future i can add more subdomains if necessary?</li>
  <li>Do I need to make any changes in the DNS records?</li>
  </ul>