In WHM, there's a facility called "Park a domain", useful when the "Aliases" feature of cPanel can't do what you need. It's particularly useful in situations like this...
If I have a cPanel account called "abc", with domain name "abc.com", and I wish to create a parked domain called "abc.myotheraccount.com" to be parked on top of "abc.com" (and "myotheraccount.com" is in a SEPARATE cPanel account on the same server), then cPanel's "Aliases" system won't let you do this, of course. But this IS possible via the "Park a domain" facility in WHM. I use this feature A LOT.
I want to know how to do this in the API (any cPanel API - api1, api2 or UAPI). I've searched the docco, but all I've found is the "park" function, which is equivalent to the cPanel "Aliases" facility, NOT the "Park a domain" facility in WHM. I tried it anyway, and (as expected) it didn't work.
Does anyone know if this is possible via one of the APIs?
Thanks in advance,
Mark.
If I have a cPanel account called "abc", with domain name "abc.com", and I wish to create a parked domain called "abc.myotheraccount.com" to be parked on top of "abc.com" (and "myotheraccount.com" is in a SEPARATE cPanel account on the same server), then cPanel's "Aliases" system won't let you do this, of course. But this IS possible via the "Park a domain" facility in WHM. I use this feature A LOT.
I want to know how to do this in the API (any cPanel API - api1, api2 or UAPI). I've searched the docco, but all I've found is the "park" function, which is equivalent to the cPanel "Aliases" facility, NOT the "Park a domain" facility in WHM. I tried it anyway, and (as expected) it didn't work.
Does anyone know if this is possible via one of the APIs?
Thanks in advance,
Mark.