What hosts allows wildcard subdomains?

Discussion in 'Web Hosting' started by q7m, Jan 11, 2013.

  1. #1
    Hello,

    Is there any shared host that allows wildcard subdomains? Or do I need a special kind of host (reseller, vps etc)?

    I want any possible subdomain to point to the same folder in my account. My site will have a subdomain for every registered user (eg: user.domain.com).

    Thanks
     
    q7m, Jan 11, 2013 IP
  2. WSWD

    WSWD Well-Known Member

    Messages:
    1,420
    Likes Received:
    65
    Best Answers:
    1
    Trophy Points:
    175
    #2
    Can't say I have played around with them for a while, but as I recall, you should be able to use them and add them yourself on any host using cPanel. Just create a subdomain of *.yourdomain.com and it should work automatically.
     
    WSWD, Jan 11, 2013 IP
  3. q7m

    q7m Well-Known Member

    Messages:
    1,178
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    1
    #3
    @Wswd,
    I have tried this on two different hosts and it doens't work.
     
    q7m, Jan 12, 2013 IP
  4. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #4
    q7m, did you add a corresponding A record in your DNS like:

    * 300 IN A IP.IP.IP.IP

    If you didn't, then it probably won't work, and you'll get a DNS resolution error for fdjalfjdklasjfdklsjfsa.yourdomain.com (e.g.)
     
    zacharooni, Jan 12, 2013 IP
  5. WSWD

    WSWD Well-Known Member

    Messages:
    1,420
    Likes Received:
    65
    Best Answers:
    1
    Trophy Points:
    175
    #5
    Hmmmmmm...I'll play around with it on one of our servers and see what I can come up with.
     
    WSWD, Jan 12, 2013 IP
  6. q7m

    q7m Well-Known Member

    Messages:
    1,178
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    1
    #6
    @zacharooni,
    I've found a similar method in a tutorial, but it was 14400 instead of 300. It didn't worked. I will try your method.

    Thanks to you and to WSWD!
     
    q7m, Jan 12, 2013 IP
  7. q7m

    q7m Well-Known Member

    Messages:
    1,178
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    150
    Digital Goods:
    1
    #7
    It worked via CPanel. Just created a subdomain named * poiting to public_html/

    It is not working on all hosts. The one that worked is a reseller account at ResellerZoom.

    If you know any other hosts that allows wildcard subdomain please let me know. I need to host my new project on a new host.
     
    q7m, Jan 12, 2013 IP
  8. WSWD

    WSWD Well-Known Member

    Messages:
    1,420
    Likes Received:
    65
    Best Answers:
    1
    Trophy Points:
    175
    #8
    Just tested it out. Works on our hosting without any difficulty. Like you said, just add * pointing to public_html or any other directory, and it will work. Perhaps they specifically disabled it on the other hosts? Not sure.
     
    WSWD, Jan 13, 2013 IP