The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Automatic creation of add-onn domain, Automatic creation of add-onn domain
stjepan
post Apr 24 2010, 06:54 AM
Post #1


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Brian Chandler
post Apr 24 2010, 07:38 AM
Post #2


Jocular coder
********

Group: Members
Posts: 2,292
Joined: 31-August 06
Member No.: 43



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?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Apr 24 2010, 07:45 AM
Post #3


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 24 2010, 09:41 AM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 16,065
Joined: 9-August 06
Member No.: 6



A free hosting script?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Apr 24 2010, 10:55 AM
Post #5


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



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.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Apr 24 2010, 01:19 PM
Post #6


.
********

Group: WDG Moderators
Posts: 6,538
Joined: 10-August 06
Member No.: 7



Something like this? http://php.net/manual/en/function.mkdir.php
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
stjepan
post Apr 24 2010, 03:31 PM
Post #7


Serious Coder
*****

Group: Members
Posts: 329
Joined: 15-October 06
From: zagreb, croatia
Member No.: 445



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

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
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2015 - 05:12 PM