Question

how to set up custom url/DNS subdomain?

Posted July 13, 2020 342 views
NginxNode.js

Sorry, I don’t know what it’s called exactly but I want something like when a user registers they get their own url

example, my website is “www.something.com”.

when they register and log in. their url should read that it’s

“username.something.com”

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
Submit an Answer
1 answer

Hello, @peterAngler

I’m not sure if you’re using any automation once the user have registered to your site, but you can also manually create an A record for their subdomain, e.g A record for username.something.com pointed to the IP address of your droplet/server.

You can have multiple subdomains for something.com, e.g username1, username2 and so on.

If you can share more information about the whole setup we can go deeper in details about the whole configuration.

Hope that helps!

Regards,
Alex