View Full Version : creating subdomains without web console
flynch
04-25-2008, 10:29 AM
Hi Folks,
I'm interested in creating subdomains from a rails app to support users, such that my users can login via:
<user>.mydomain.com
I'd rather not have to go through the bluehost web admin tool to create each & every subdomain - ideally I'd like to have my app automatically setup the subdomain when a new user registers. So I was wondering if there is a way to can script or code this?
thanks,
--Frank
flynch
04-26-2008, 06:27 PM
I just pinged bluehost support about this, they claim that the only way to create subdomains (& email accounts for that matter) is through the web based cpanel thingy.
I'm thinking that I'm going to have a crack at scripting this with ruby's mechanize gem.
shawn.sparks
06-30-2008, 10:15 AM
Has anyone had any luck figuring this out without Bluehost? I took a crack at the email account creation which is almost fully working now. Now I need a solution to this. Any help would be appreciated.
felgall
06-30-2008, 01:32 PM
BlueHost have blocked our ability to create subdomains apart from through cPanel. It is one of the restrictions relating to their not providing reseller accounts. You need a reseller account to be able to allow people to create their own subdomains etc.
Hi Folks,
I'm interested in creating subdomains from a rails app to support users, such that my users can login via:
<user>.mydomain.com
I'd rather not have to go through the bluehost web admin tool to create each & every subdomain - ideally I'd like to have my app automatically setup the subdomain when a new user registers. So I was wondering if there is a way to can script or code this?
thanks,
--Frank
Granted it will be alot of work but, do you really have that much traffic?
Click on the results for PHPCOIN.
http://arperture.com/uploadimage/index.php?cx=partner-pub-0356627083878096%3Aqsrv1-u9w2h&cof=FORID%3A10&ie=ISO-8859-1&q=php+coin&sa=Search#1040
greenman
07-05-2008, 08:48 PM
You're looking for wildcard domains.
That's something that would work well for something like Wordpress MU (Multiuser) where you want to give every new member their own wordpress blog on a subdomain of your main domain.
Unfortunately, you'll need permission from Bluehost, but they may not allow it.
adriano
08-14-2008, 04:19 PM
had the same question as above -- and found the solution here:
http://www.bluehostforum.com/showpost.php?p=54660&postcount=4
haven't tried the script yet though.
- Adriano
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.