• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

Question Need Help in Domain API. Please.

Hassan_

New Pleskian
Hi, I am trying to add a domain to an existing subscription. Let's say the customer has Domain Test1.com, and I am creating a second domain as test2.com. I want the webspace to be set to test1.com, and I would like it not to require setting up an FTP user and password. Could someone please help? I am attaching my JSON body:

{
"name": "test15.com",
"hosting_type": "virtual",
"hosting_settings": {
"dest_url": "test6.com"
},
"owner_client": {
"login": "xyz"
},
"base_domain": {
"id": 156,
"name": "test6.com"
}
}
 
Back
Top