I am using node.js and I want to give my users the ability to add their own custom domains. For example, my app is hosted on DigitalOcean with the domain ‘https://app.com’ and the user, say, John, the page is ‘https://app.com/john’ Now I want my user, John, to be able to add his own domain ‘www.john.com’ so that it displays ‘https://app.com/john’ site
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (1)
Generally you need:
If you want to build and manage this yourself, your best bet is probably Caddy Server, which can handle some of this out of the box, and all of it with some effort (and learning curve).
Another easy and affordable way to do this is with approximated.app, which will handle all of this for you for around what you'd spend doing it yourself. Note: I'm the founder, so I'm both biased and open to questions (about any of it) if you've got any!