Printable Version of Topic

Click here to view this topic in its original format

HTMLHelp Forums _ Web Server Configuration _ Automatic creation of add-onn domain

Posted by: stjepan Apr 24 2010, 06:54 AM

Hello smile.gif

I wonder is there a way to create add-on domains automatically? I know it can be done in cPanel, but I'd like to have a program that will open an add-on domain (www.mysite.com/first, www.mysite.com/second, www.mysite.com/third...) based on the user input. Can that's be done?

Tnx,
Stjepan

Posted by: Brian Chandler Apr 24 2010, 07:38 AM

Does this mean like http://imaginatorium.org/shop ?

But the "shop" is just a directory within my webroot directory, so yes of course a program could create it. But you would probably not want a program assigning arbitrary names to users...

Of perhaps I have misunderstood something?

Posted by: stjepan Apr 24 2010, 07:45 AM

Well, that's my English... sad.gif

More precise: let's say I have www.maydomain.com. I'd like that one user has its own website at www.mydomain.com/joe, another use at www.mydomain.com/doe, the third www.mydomain.com/somename etc. The user would choose a template, enter some text, upload a picture(s) and then - miracle! Something generates a website www.mydomain.com/joe smile.gif The user should have a password to be able to change the website. That's the general idea. Of course, it's out of the question to do that by hand.

Posted by: pandy Apr 24 2010, 09:41 AM

A free hosting script?

Posted by: stjepan Apr 24 2010, 10:55 AM

No, I don't want to open hosting company. Imagine that you are on Twitter on Facebook and that you can have your design (website) when logged in.

Posted by: Christian J Apr 24 2010, 01:19 PM

Something like this? http://php.net/manual/en/function.mkdir.php

Posted by: stjepan Apr 24 2010, 03:31 PM

QUOTE(Christian J @ Apr 24 2010, 08:19 PM) *

Something like this? http://php.net/manual/en/function.mkdir.php

Something like this actually: www.stjepan!.us/e/google/and/dont/ask/stupid/questions smile.gif

Thanks Christian smile.gif The most obvious solution always comes last to me

Powered by Invision Power Board (http://www.invisionboard.com)
© Invision Power Services (http://www.invisionpower.com)