My web application is hosted on AWS. It's your standard Laravel/PHP app. I would like to have a feature where users who register, have the ability to see their content in a dedicated subdomain (e.g. USERNAME.mywebapp.com)
obviously, modifying the NGINX config every time and restarting isn't going to cut it. I was wondering if AWS Route 53 offers the creation and removal of sub-domains using an API call that I can generate from my backend.
If anyone has an elegant suggestion on how I should attack this problem and aim at scalability -- i'd be happy to hear.