Keywords: LAMP/MAMP/WAMP - AWS - How to - Domain Name (DNS)
I have deployed a Laravel application on AWS LightSail LAMP stack. The app is serving under the main domain e.g. example.com . Now I want move it t app.example.com and use example.com as marketing and company profile purposes. The current codebase is under htdoc directory, not in any subdirectory.
My queries are:
- How do I achieve the above explained domain structure so that in future i can add more subdomains if necessary?
- Do I need to make any changes in the DNS records?
- Is the current SSL certificate issued for exmple.com is usable for future subdomains?