I just enabled Wildcard DNS in DirectAdmin. It is much easier than I thought. To enable it, you must be in Admin level.
Here is how to enable:
Amend to domain's http config:
Go to Extra Features > Custom HTTPD Configurations
Click the domain that you wish to enable.
Enter ServerAlias *.|DOMAIN| in Httpd.conf Customization for domain.com
Click Save
---
Adding to DNS:
Admin Tools > DNS Administration > Choose domain
Add A record:
Enter *
Enter the IP of domain
Add CName:
Enter *.domain.com
Enter the domain followed by dot
You may need to restart Apache and wait for DNS propagated which may take up to 24-48 hours (usually, it should not take long).
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment