Maximum subdomain can be create

Discussion in 'Site & Server Administration' started by linch_army, Apr 11, 2009.

  1. #1
    hi DP senior.

    i have some question lately because i make site like friendster/facebook but i want to added subdomain as additional domain instead only www.mydomain.com/user/index.php?user=jemmie... i want to make it more like http://jemmie.mydomain.com

    my question is how Much exactly subdomain can be created?
    is only 999.999 or more?

    what is the problem i'll face if i have millions of users? is subdomain not an answer for this?

    i create subdomain using cpanel function.

    Thank You.
     
    linch_army, Apr 11, 2009 IP
  2. mahi_mukka

    mahi_mukka Peon

    Messages:
    81
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    u can create n number of subdomains.. there is no restiction
     
    mahi_mukka, Apr 11, 2009 IP
  3. Treyu

    Treyu Peon

    Messages:
    110
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You can create as many subdomains as your hosting allows.
     
    Treyu, Apr 11, 2009 IP
  4. upa playa

    upa playa Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    thanks for the info
     
    upa playa, Apr 12, 2009 IP
  5. traian13

    traian13 Peon

    Messages:
    203
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #5
    and you want to create 1.000.000 subdomains with cpanel? Try some dynamic approach like php or something.
     
    traian13, Apr 12, 2009 IP
  6. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #6
    I think your Apache web server will be crashed if you create millions sub-domains. I don't think one server can handle millions sub-domains.

    Kailash
     
    kailash, Apr 12, 2009 IP
  7. mail4kaja

    mail4kaja Peon

    Messages:
    100
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Its very simple.

    - Add A Record for *.yourdomain.com pointing to your Web - Host (No need, if you use your web-host's nameservers)
    - Enable Wildcard Subdomain Alias for your domain in your web-hosting account (You may require assistance from your web-host)

    The ServerAlias statement enables Wildcard support for your domain. From now on, your Apache vHost will react on non-existent subdomains.

    - Add the following lines to your .htaccess
    Now, Apache will serve the page http://www.yourdomain.com/user/index.php?user=jimme for jimme.yourdomain.com

    All the best.
     
    mail4kaja, Apr 12, 2009 IP
  8. linch_army

    linch_army Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Sorry for the late Big Thanx mail4kaja

    It works..........! :D :D :p
     
    linch_army, Jul 14, 2009 IP