Hosting Problem
I need some help. I have to do a school project 'Hosting':
1. I have a php site with some form.
2. Client select for example space, domain and some other options.
3. Apache creates needed folders and configuration.
4. Client gets his email account.
5. Client can put his own php site.
Can anyone explain me how can I do that?
Some steps I should do?
Thank you in advance.
7 Replies
@LampBeginner:
I have to do a school project 'Hosting'
So immediately you figured you get someone else to do your homework for you?
Hopefully you're plan on being a business/management wonk instead of tech/engineer type.
Thats a semester project and the worst is I dont know linux
It can be simplest but working thing (without security etc).
I just need some tips how to make it working.
(In general is it possible at apache?)
Just google around a bit - there are quite literally dozens of apache/php/postfix tutorials out there for whatever linux distro you choose. Go try a few of the tutorials. If, after giving them a try, you have some more specific (well-written, well-thought-out, etc.) questions, then by all means, come back here and we'll be glad to help.
@LampBeginner:
Your post is unnecessary.
Thats a semester project and the worst is I dont know linux
:) It can be simplest but working thing (without security etc).
I just need some tips how to make it working.
(In general is it possible at apache?)
Pretty harsh indeed, if you are looking to build this yourself then please do so yourself.
If you are just looking for a simple setup I'm sure your google fu can bring you up a number of control panel options which allow for free registration.
We need more information.
as far as I understand your question you're not looking for a LAMP solution per se, but a system to build and manage hosting accounts, which is a tiny bit different since the latter is built UPON the former.
So to save you the dead ends, Apache can't do that automagically, you'd have to configure it for virtual domains. There are software solutions that do that (virtual hosting management, whm, …), but I'm guessing you need to build a simplified version of your own, in which case you need to build a server side script, i'm assuming in PHP, that does the following in response to the "client" posting the selection form:
configures Apache for a new virtual domain
prepares the directories
configures a mail server for at least one new email account
configures FTP server to allow the client to upload files to his account