Hello Indiehackers,
It feels so good to be part of this great community. We're building one saas app and stuck with custom domain name linking to the user's page.
For example, ourawsomesaas.com users sign up and their accounts will be like user1.ourawesomesaas.com , user2.ourawesomesaas.com, etc.
Now we want to add the feature of using their custom own domain like user1.com, user2.io, etc.
However, the only issue we're facing is how to link it without ourawesomesaas.com IP address?
Except for instapage.com which is using secure.pageserve.co everyone else is asking their users to map the C Name or A record towards their IP.
Can someone shed some light on this? Thanks in advance.
PS: Our tech stack is Django, Postgres, Nginx, React. Of course, it doesn't matter in this case as I assume.
There is a saas product solving this kind of problem. They provide you adding custom domain to your server via graphql mutation and also they provide you with wildcard sub domain. I used it with my saas product that is currently building.
checkout this in
render.com
the api with adding custom domain to server
https://render.com/docs/api
For https://versoly.com/ we have custom domains for our customers.
We have a cname pointed from dns1.versoly.com to our server IP. So if our IP does change all we need to do is repoint the dns1 and not ask all customers to change it.
If you find a better solution @ me :) I'm not really a dev ops person.
Also this solution doesn't work for godaddy, one more reason to hate them.
Thanks volkandkaya for the kind reply. BTW congrats for awesome saaspages and versoly. I have been following you for a while. Thanks a lot.
Thanks trying to share the story a lot more than my old SaaS startup. Seems be working for now :)
:-) Are you using any dns provider like cloudfare for versoly? Also, How are you managing for the customers who had their domains with Godaddy?
No, we most likely should look into one, but are current system works perfectly for now.
We tell them to sign up for a free account at https://www.netlify.com/ and use that for DNS, go-daddy is terrible.
If anybody from the future ends up here looking for an easy way to implement custom domains, check out https://approximated.app (I'm the founder). It reliably serves hundreds of thousands of custom domains as of today, it's super easy to get up and running with your app the same day, and it starts at $20/month with a 7 day free trial.
This has painfully slow load times.
Do you mean the landing page, the dashboard, or custom domains running through it? Wondering so that I can fix it or provide support.
Sent you email and DM Carter. Awaiting your reply. Cheers.
<VirtualHost *:443>
ServerName vendorscustomdomain.com
ServerAlias www.vendorscustomdomain.com
ProxyPreserveHost On
ProxyPass / https://sassdomain.com/home?vendor=vendorid/
ProxyPassReverse / https://sassdomain.com/home?vendor=vendorid/
SSLCertificateFile /path/to/ssl/certificate.crt
SSLCertificateKeyFile /path/to/ssl/private.key
SSLCertificateChainFile /path/to/ssl/ca-bundle.crt
</VirtualHost>
Is this possible to be set up via approximated ?
The custom domains ofcourse, thanks for the prompt revert.