How do we just like shopify, let our users connect their own custom domains and point it to their store made on our app.
Right now, it opens under our own domain as a subpage, but I want it to be completely accessible through their custom domain, (even when being opened through the subpage url - it should redirect to their connected custom domain).
- Should auto issue SSL certificates to their domains.
- Need to do it without using any paid third-party service
- Should be very cheap or virtually free.
- I've heard it's a feature offered only by AWS but are there ways to do the same on other hosts too like vulr, DO, linode
Bonus Question - How do big dogs like shopify, blogger and all these services that let users connect their own domain to their page do it? It's works efficiently, they only ask to add some (a records/c names) and there's a refresh button to check whether changes have been made.
I want to know the entire flow, right from start from to how it analyzes domain's dns and connects the page to that domain and so now it looks just like a separate website.
We are using heroku Firebase realtime Express, React js, Node js
Also, I'm still learning, so please excuse if I used some wrong terms.