Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with OpenID
Advertise on LowEndTalk.com

In this Discussion

Good subdomain script?

Good subdomain script?

zhuanyizhuanyi Member
edited September 2012 in Help

Hello,

So I got my .asia domain and someone suggested that I should provide a subdomain service which I thought would be a good idea. Don't want it to be among a million domains in afraid.org so I thought I should do it on my own.

Basically I just need something for which a user would be able to register for a subdomain and point it to his/her own domain/IP (like a CNAME/A record).

Anyone has seen something similar before?

http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

«1

Comments

  • AsadHaiderAsadHaider Member
    edited September 2012

    @zhuanyi Get a VPS server with MyDNS and build something yourself? Simple MySQL queries to update the DNS records on your end.

    Never actually had a look around MyDNS, but you can do that right? ^^

  • if you have WHMCS that would be easy for you to manage it. i have one (sub)domain free for cPanel order. and they can manage it from cPanel.

    bornin.asia ? :D

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
  • @Mon5t3r said: bornin.asia ? :D

    you got it sir :)

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • @Mon5t3r said: if you have WHMCS that would be easy for you to manage it.

    Kinda expensive for that kind of set up considering it would be at least 30 bucks a months and honestly I don't want to charge anyone for a subdomain...

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • Is there any cms in Softaculous available for this?

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • @zhuanyi said: Kinda expensive for that kind of set up considering it would be at least 30 bucks a months and honestly I don't want to charge anyone for a subdomain...

    okay i misread your original post then.. :D like what AsadHaider said, use mydns since it use mysql for storing all dns data. check on howtoforge, they have mydns control panel but i'm not sure if it still in develop or not.

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
  • TazTaz Disabled

    Why not use the hostingtool, setup subdomain hosting with kloxo and minimal storage like 10mb or $hits? This way they can do a bit more with their domain and your search is over. You can also offer premium hosting if needed ;)

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • there was something named "myred" ....

    20GB free space in COPY.com (opens in a new tab)(really...)

  • i think they changed its name

    milliscripts.at

    20GB free space in COPY.com (opens in a new tab)(really...)

  • @tridinebandim said: i think they changed its name

    milliscripts.at

    I've used this like five or more years ago, it's for website redirection/subdomain hosting not DNS hosting.

    Requirements to run milliscripts Redirection 1.4 - php 4 - php 4.1 or greater!!!

    I think they stopped developing it :P

  • tridinebandimtridinebandim Member
    edited September 2012

    i tried it a few years(yea more than five) ago too,

    but may help, just a starting point for google search etc. :)

    there was a php script for cpanel subdomain creation too

    20GB free space in COPY.com (opens in a new tab)(really...)

  • TazTaz Disabled

    @tridinebandim said: there was a php script for cpanel subdomain creation too

    If someone has cpanel,there are a lot of option available for free such as boxbilling, ALP etc.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • @Taz_NinjaHawk said: If someone has cpanel,there are a lot of option available for free such as boxbilling, ALP etc.

    but even CPanel cost quite a bit :)

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • I like this idea, bookmarked for later.

    cPanel from @CVPS_Chris for $5 a month <3

  • @AsadHaider Oh gosh this was many many months ago they have it for $5, I believe in their recent offer it is $7.50.

  • @Legendlink Aww ok :P Yeah I'm getting a server with the $7.50 license, it's still pretty damn cheap!

  • i think for cPanel you can use their pluggable dnsadmin module http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/PluggableDnsAdminModules

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
    Thanked by 1Legendlink
  • @Mon5t3r said: i think for cPanel you can use their pluggable dnsadmin module http://docs.cpanel.net/twiki/bin/view/SoftwareDevelopmentKit/PluggableDnsAdminModules

    Yes, this comes default with CP....

    Well, I guess my point is, I don't expect to generate any revenue on this project (just for fun, really), and if I do not get any revenue, I should not be spending 7.50 per month for it (I have a VPS from them so I would call that sunk cost), right?

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • i was referring that link for AsadHaider and Legendlink :D

    well it is easy for you to manage those stuff if you know a little about php and mysql (for mydns).

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
  • @Mon5t3r said: well it is easy for you to manage those stuff if you know a little about php and mysql (for mydns).

    I guess knowing MySQL is the easy part (I had to use MS SQL a lot in my previous job)...PHP? Next to none haha :)

    We'll see how that goes, may be I'll just decide to pay @jshinkle a bit more :)

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • LOL yeah sometimes i'm stuck with my own PHP script too :P

    i think i can create the "base template" for your need, but don't ask me about the security :P don't have enough time for playing around with it.

    Yes! I'm with Carstensz Pyramid Server Now stop asking me please :D
  • TazTaz Disabled

    @zhuanyi read my comment regarding kloxo. Also another one just noticed Dhcart. Should be exactly what you need.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • shaunpudshaunpud Member
    edited September 2012

    I've been creating something similar and have come up with this using a wildcard in bind;

    # apt-get install bind9
    
    # cat > /etc/bind/named.conf.local << EOF
    zone "." {
         type master;
         file "/etc/bind/root.zone";
    };
    EOF
    
    # cat > /etc/bind/root.zone << EOF
    @ IN SOA . bornin.asia. (
         2012091501     ; serial YYYYMMDDnn
         86400          ; refresh (  24 hours)
         7200           ; retry   (   2 hours)
         3600000        ; expire  (1000 hours)
         172800 )       ; minimum (   2 days)
    
         IN NS ns1.bornin.asia.
         IN NS ns2.bornin.asia.
         *. IN A 12.34.56.78
    EOF
    
    # /etc/init.d/bind9 restart
    

    Then with your index.php read the $_SERVER['HTTP_HOST'], look up your database and redirect using;

    header('Location: '.$db_result);
    
  • @shaunpud said: Then with your index.php read the $_SERVER['HTTP_HOST'], look up your database and redirect using header('Location:'.$db_result);

    This, however, is HTTP-based redirecting. The TO wants DNS-based redirecting, afaik.

    La parole nous a été donnée pour déguiser notre pensée.

  • shaunpudshaunpud Member
    edited September 2012

    @japon said: This, however, is HTTP-based redirecting

    Yeah that's true, sorry I should have mentioned that.

  • @Taz_NinjaHawk said: read my comment regarding kloxo. Also another one just noticed Dhcart. Should be exactly what you need.

    That's actually what I am trying, got Kloxo installed last night, will install Boxbilling/hostingtool when I have time tonight, which one is better? Boxbilling seems to have a really nice interface

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • TazTaz Disabled

    I am not sure about boxbilling but last I have checked, hostingtool has something for kloxo. @kujoe can confirm.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • When I was a dev, TheHostingTool only supported cPanel and DirectAdmin (barely).

    -Joe @ SecureDragon - LEB's Powered by Wyvern in FL, CO, CA, IL, NJ, GA, TX, and AZ
    Test our network here: Drgn.biz
  • So, what is the script? :)

    My blog | Server Uptime | I'm not working for any providers in here, all my comments just my own opinion.image
  • I'm interested in this too, A records and SRV would be awesome :D

    ~ Jimmy VortexUnit. Who likes poptart.cats?
  • Would cPanel DNS Only work for this?

    Thanked by 1zhuanyi
  • myDNSconfig seems good.. but latest development 2010, and it's tutorial in howtoforge was published in 2011? *confuse

    "I Always Happy ! The Secret Is, When Something Bad Happens, I Always Yell : Eeee... Macarena !!" :D

  • @Night said: Would cPanel DNS Only work for this?

    Brilliant idea sir! I'll give that a try

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • @Night said: Would cPanel DNS Only work for this?

    not going to work unfortunately, as DNS only does not even have a front end at port 2082.

    Got to get back to Kloxo I guess...

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • Just an update, I have given up on Kloxo and bought a CPanel instead, installed last night...and discovered BoxBilling does not support automatic subdomain creation (it is in their feature request)

    So...is there any free alternative to WHMCS that support automatic subdomain creation?

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • if its just subdomains, there is a subdomain script for cpanel... just google cpanel subdomain script

    20GB free space in COPY.com (opens in a new tab)(really...)

  • @tridinebandim said: if its just subdomains, there is a subdomain script for cpanel... just google cpanel subdomain script

    Yes, but that one does not give any management front-end though :(

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • TazTaz Disabled

    @zhuanyi TheHostingTool.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • @Taz_NinjaHawk said: TheHostingTool.

    Does it support that? I tried to Google it but the response comes back is vagued, PMed @KuJoe this morning but guess he is busy.

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • TazTaz Disabled

    Yes it does. There's a setting over their that can create subdomain of your domain.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • @Taz_NinjaHawk said: Yes it does. There's a setting over their that can create subdomain of your domain.

    oh, that's great, thanks! I'll get the installation going when I get home tonight.

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • That is very disappointing that BoxBilling doesn't have sub-domain creation.

    @zhuanyi can I be your first customer and register iwas.bornin.asia? :)

  • zhuanyizhuanyi Member
    edited September 2012

    @Legendlink said: can I be your first customer and register iwas.bornin.asia? :)

    LOL, that's a good one :)

    I don't really want to use the word "customer", it is more for LEB "friends" :) It would be free and I have no intention to make money out of it (although I guess I'd be happy if people are willing to donate to help me to cover the server and CPanel cost)

    We;ll see, I'll make a note here once I get the front-end set up, just want to make sure things are working before pushing it out :)

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

  • TazTaz Disabled

    @zhuanyi If this project picks up, I will be happy to donate a vps.

    Time is good and also bad. Life is short and that is sad. Dont worry be happy thats my style. No matter what happens i won't lose my smile!

  • @Taz_NinjaHawk said: If this project picks up, I will be happy to donate a vps.

    Ha, thanks, I have already paid for a full year with @jshinkle for his cheap CPanel, but when it really goes well I'll keep you updated :)

    http://BornIn.Asia - FREE shared hosting and subdomain service for LET members! Click here to see how to get one yourself! 96Forum: Low End VPS Discussions. Selling domains with GApp with various user counts (10 year reg incl. for some), PM for details.

    Thanked by 1Taz
  • =). Once he get's going, ChicagoVPS in itself will be working with him some more as well.

    ChicagoVPS.net - OpenVZ/Xen Based - SolusVM Control Panel - TUN/PPP/FUSE/SIT/GRE - cPanel/DirectAdmin/Parallels - Chicago/Buffalo/LA Coming Soon! - Great Support!

  • Treat him well... he is a nice customer:-P

    Thanked by 1zhuanyi
  • cool can't wait :)

Sign In or Register to comment.