Sorry if this question is too broad or vague.
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.
Top comments (4)
Big question 😁 I'll see if I can outline the flow without obscuring everything with too much detail (I have previous experience of managing both DNS and web hosting, and currently host my own content in Azure using custom domains):
Host: <domain>
header) to their content.Simples :)
Thanks a lot for the explanation.
I had some rough idea how this works.
Only thing Idk how to go about it. I want to know how do I do it:
How to get my own TXT record/CNAME that users can update their domains with to prove ownership of their domain.
How to collect ownership proof token and How to check if it's valid
Configure hosting platform to map requests for custom domain - but how?
Is there any in depth guide on this? It would help me immensely.
I know it's a tall ask but can you help with this or share tutorial/guide on this. Thanks once again! You're truly amazing!
As usual with this sort of thing, it depends greatly on your technology platform(s), development language etc. etc. but the fundamental pieces are:
nslookup
anddig
do this, a C programmer might use glibc's resolver API) this is used when collecting the token from their primary DNS (note, nothing to do with your own service DNS settings).Sorry I cannot provide any turnkey examples of this, and neither can popular search engines it seems, probably because it's unusual to be doing this yourself... 😁
Thanks again, I think I'm getting a rough picture on how now.
by the way,
We are using
Firebase realtime
Express,
React js,
Node js
heroku netlify for hosting
If you have any additional tips to share, I'd appreciate it.