Open every subdomain from a user

HSG

Verified User
Joined
Oct 7, 2015
Messages
31
Hi,
I have a DirectAdmin vps and a domain.
I want to add all users with subdomains of this domain.
But when add a user with subdomain that subdomain not work in browser.
I added a "A Record" from that subdomain and server ip and subdomain now works in browser but a few minutes needs to subdomain works for first time.
I want a quick way to add user with my domain subdomains and subdomains open fast.
I tested wildcard subdomain for this but wildcard not working for users.

Sorry for my bad English.
Please help.
Thanks.
 
Hello,

That's how DNS works. It takes time for new records in DNS to propagate.
You can use a wildcard record in DNS if you create subdomain with the same IP.

Code:
* IN A 14400 1.2.3.4

in directadmin enter:

Code:
* A 1.2.3.4

replace 1.2.3.4 with your real IP.
 
Very thanks for reply.

Yes all of subdomains is for a IP.

Where I enter this code? * IN A 14400 1.2.3.4

And is this code for DNS Management on user level? * A 1.2.3.4

No need to add code to Custom Httpd configurations from admin level?
 
Back
Top