Dynamic subdomain routing was set up for a SaaS product to enhance the user experience.The frontend was hosted on an S3 bucket and distributed globally using CloudFront.Route 53 was configured to manage DNS records for subdomain traffic.Automated DNS record creation was implemented on user signup, ensuring scalability and security.