Question

how to set up custom url/DNS subdomain?

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


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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