Point domain from another server via a php script?
Hello,
I would like to add a option to the site and let costumers use their own domain, BUT have the site still hosted on my servers !
Now I would like to know how I can add new domains to my server automatically and by using PHP scripts ?
How can i do that?
Please advice.
Thanks
-
Hi @Brijgenius While we'd be unable to write a script for you, the API would most likely prove useful in this instance: Guide to WHM API 1 - Developer Documentation - cPanel Documentation WHM API 1 Functions - createacct - Developer Documentation - cPanel Documentation 0 -
Can you give me exact Sample API demo to do this? I can't understand how to implement it and where to do this all stuff? 0 -
Your profile here lists you as Website Owner. You can't create accounts via API or any other method as a Website Owner. 0 -
Your profile here lists you as Website Owner. You can't create accounts via API or any other method as a Website Owner.
So which profile require for that? I am also developer.0 -
To be able to create accounts on a server, you'll need to be root user, or at least a Reseller. 0 -
To be able to create accounts on a server, you'll need to be root user, or at least a Reseller.
Can you send me simple steps to do this from root user? Please send it.0 -
I can't. The links posted above by @cPanelLauren should be useful for a Developer to work with though. 0
Please sign in to leave a comment.
Comments
7 comments