Hello,
I want to create a sub domain, when the user registers on my site. How can i do that in java? Any help would be appreciated.

Thanks in advance :)

That would all depend on the DNS server you're running.
If it has an external API to allow things like that, you could try calling that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.