Help: Any subdomain creator

Discussion in 'PHP' started by freeprotect, Jun 24, 2007.

  1. #1
    I am looking for a script for provide free subdomain such as kickme.to
    Anyone help
    Thanks all
     
    freeprotect, Jun 24, 2007 IP
  2. DopeDomains

    DopeDomains Guest

    Messages:
    207
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #2
    One solution is to use wildcard domains (Your host will have to set it up, and you will need a dedicated IP address).

    With wildcard domains, XXXX.yourdomain.com will go to your website regardless of what is entered for XXXX. You can then use .htaccess or php scripting (or more likely both) to handle the XXXX how ever you want. I've used this solution several times.

    -JasonR
     
    DopeDomains, Jun 24, 2007 IP
  3. exodus

    exodus Well-Known Member

    Messages:
    1,900
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    165
    #3
    Simple, code a cUrl script that will log into your cpanel each time and add that subdomain. ;)

    I advise learning cUrl first and then just post the information a page at a time.
     
    exodus, Jun 24, 2007 IP
  4. tamilsoft

    tamilsoft Banned

    Messages:
    1,155
    Likes Received:
    78
    Best Answers:
    0
    Trophy Points:
    0
    #4

    Yes this is a simple idea and I have used too.
     
    tamilsoft, Jun 24, 2007 IP
  5. riya_senk

    riya_senk Well-Known Member

    Messages:
    2,014
    Likes Received:
    174
    Best Answers:
    0
    Trophy Points:
    160
    #5
    riya_senk, Jun 24, 2007 IP
  6. DeViAnThans3

    DeViAnThans3 Peon

    Messages:
    785
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Wildcard domains is the safest option, but wildcard domains are NOT supported by default if your server is powered by cPanel. That's a serious disadvantage of cPanel.
    Wildcard domains allows you to easy manage sub domains, delete them, add them ... all easy, quickly (with a mysql db) and efficiently.

    Using cURL is an option too, however it requires a whole lot more programming, and also its more difficult to manage. And, maybe your subdomain count is limited in cPanel?

    If you can go for wildcard domains, stick with that!
     
    DeViAnThans3, Jun 24, 2007 IP