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
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.
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, 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!
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.
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.