title: Create Subdomain into the main domain by name?
body: <p>I have to create a website that contains the name of the user in the domain.</p>
  
  <p>For example, I have site like shop.com, now when any user is register with our site then he gets his login credentials to our site. When he logins inthe url is changed something like "abc.shop.com". The abc is the name of user I suppose.</p>
  
  <p>So my question is how we can achieve this? Is there any API we use or any example that can help me?</p>