title: how to create sub domains programmatically using Spring /Java?
body: <p>I want to create multiple subdomains using Java/Spring on a cloud server. Do we need any specific API to create the subdomains? </p>
  
  <p>Eg: Domain: <code>www.example.com</code></p>
  
  <p>Sub Domain: <code>www.my1.example.com</code></p>
  
  <p>Sub Domain: <code>www.my2.example.com</code></p>
  
  <p>Sub Domain: <code>www.my3.example.com</code></p>