Hi,
I have a PHP script that uses cpaneluapi.class.php to create a MySQL database, user, password and connects the user to the database.
I need to add the code to create a ADDON DOMAIN and "put the domain addon" outsite public_html.
For example:
main domain: www.mywebsite.com in /home/user/public_html
addon domain: www.seconddomain.com in /home/user/seconddomain.com
Is this possible?
thanks,
Francisco
I have a PHP script that uses cpaneluapi.class.php to create a MySQL database, user, password and connects the user to the database.
I need to add the code to create a ADDON DOMAIN and "put the domain addon" outsite public_html.
For example:
main domain: www.mywebsite.com in /home/user/public_html
addon domain: www.seconddomain.com in /home/user/seconddomain.com
Is this possible?
thanks,
Francisco
Last edited by a moderator: