I'm building a web builder. Currently, the user can create a static page and use our subdomain to access the page, such as mysite.site.domain.com.
I have a plan to allow user to use their own domain to be redirected to their page, how can I achieve this? Should I build a custom DNS? What is the concept behind this?
This app is deployed on the Ubuntu machine and Nginx webserver.