We are building a hosting platform for specific use cases.
We need to be able to host other people content under their own domain, i.e., they would configure their DNS, add a CNAME towards our servers and we would deliver their content under their own domain.
blog1.com => would deliver the content of ourwebsite.com/blog1
blog2.com => would deliver the content of ourwebsite.com/blog2
blog3.com => would deliver the content of ourwebsite.com/blog3
and our client would only configure a CNAME and we would handle all other technical aspects.
The first solution we found involved using AWS custom domains and a lambda proxy but we face restrictions in the number of domains we can get and AWS told us that is not the good way to build that.
Can someone here detail what is the preferred solution for such a use case? How do webflow or wordpress manage something like this?
Thank you for your help.