No awards yet.


1 Posts
  • Published Question

    Add a sub domain and create a separate virtual host through code

    Hi! I have a CRM that is already published. Now I want to sell it on subscription basis. I want to clone the same application as soon as a new client registers and pay the fee. For that I need a sub domain automatical...
    Accepted Answer: Hi there @deevannaveed, If you have a cPanel server, then what you could do is use the cPanel/WHM API to create new accounts for your new users. It will look like this: command,bash whmapi1 createacct username=usernam...
    1 By deevannaveed PHP DigitalOcean Droplets Ubuntu 20.04