hey people . i want to start a free hosting site .i have a doamin name with unlimited sub-domains and unlimited space and email acounts and unlimited ftp accounts .
what i want to do is to write a code that creates a sub-domain and a folder with the name of the subdomain name . and an ftp account with an access to the directory which has the name of the sub-domain . and i want also when a user signs up , the user get a spacific amount of email accounts and and ftp account and a spacific webspace .
but all what i really can do is to create a login and signup systems and database to store the information but i dont know how to write a code that creates a directory and i dont know how to create a sub-domin from a php code as well as i dont know how to deal with ftp .
polease tell me how to do these stuff and if you know any link that can help me in this , please post it to me
thanks in advance .
Recommended Answers
Jump to Postthis is a combination coding and sysadmin question. I have been coding in php professionally for over 5 years and consider myself a professional developer and I cannot say that I can do this with confidence, security wise.
I would recommend you do some research on open source software …
Jump to PostIf you're going to build this to essentially sit on top of cPanel, there is an entire API for interacting with cPanel: http://docs.cpanel.net/twiki/bin/view/AllDocumentation/AutomationIntegration/XmlApi
The easiest way to do this would be to have reseller access to cPanel and create the individual user accounts using
All 6 Replies
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.