"ADD ON" Domains + with PHP

citricsquid

Verified User
Joined
Mar 8, 2009
Messages
8
Hi,

Maybe I'm going mad, but I've never been able to find how to create "addon" domains like can be created in cPanel with directadmin. If I add a domain for an account I can't find any way of setting it to the root directory for the main domain.

I want to direct the domain "example.com" to the same directory as "google.com", so I create an account for "google.com" but I see no way to add the new domain "example.com" to point to the same directory. This is easy in cPanel, just add as an addon domain.

Furthermore, if it is possible, can I do it with PHP? I checked out the API but I see no option to create extra domains for an account with it.
 
If you own your own DirectAdmin server you can set the number of domain pointers allowed for each user.

If you're a customer of a hosting company, then your vendor may not allow multiple domain pointers.

Jeff
 
Back
Top