I am developing an application using Spring, jsp and Apache 7.0 server, now suppose I have a register domain such as "www.example.com" and in my application the user fills out a registration form in which the user is requested to enter his url to name such โ123โ as soon as it submits the form after filling in the details, I want to redirect it to the newly created URL in our case โ123.example.comโ
Now in this movement I need to create a subdomain in my code before it is redirected. I went through Google to not find much.
Any help
Thanks in advance.
source share