Hi all
This is my first post here in Directadmin.
I have setup a new server that has directadmin and after searching a lot of documentation i cannot found what i want to create a feature about dns.
Here goes:
- admin as DOMAIN.NET account.
this means that DOMAIN.NET and WWW.DOMAIN.NET points to /home/admin/public_html
and any subdomain i create with the user da interface will point to a subdirectory (eg: XX.DOMAIN.NET points to /home/admin/domains/DOMAIN.NET/public_html/XX)
- i have created (as administrator) another user, eg: mike
Directadmin will create /home/mike/public_html and a dummy directory too /home/mike/domains/mike.tld/public_html because i don't know if this account will have a specific domain and said that it will have a dummy domain 'mike.tld'.
===========================================
Now the problem: I want to assign 'mike' a temporary subdomain name of DOMAIN.NET so that the user can access its domain by IP/~mike or mike.DOMAIN.NET
How can i do that?
The idea is that any subdomain of DOMAIN.NET will match with a specific docroot automatically (so that mike.DOMAIN.COM will be converted to a DOCROOT = /home/mike/public_html).
Note that i don't want to create a wildcard that always points to DOMAIN.NET (because each subdomain must match against the correspondent user account with that user permissions, that user databases.. etc..). The wildcard must be smart enought to seach for the user account directory public_html.
That's for your help
Francisco A
This is my first post here in Directadmin.
I have setup a new server that has directadmin and after searching a lot of documentation i cannot found what i want to create a feature about dns.
Here goes:
- admin as DOMAIN.NET account.
this means that DOMAIN.NET and WWW.DOMAIN.NET points to /home/admin/public_html
and any subdomain i create with the user da interface will point to a subdirectory (eg: XX.DOMAIN.NET points to /home/admin/domains/DOMAIN.NET/public_html/XX)
- i have created (as administrator) another user, eg: mike
Directadmin will create /home/mike/public_html and a dummy directory too /home/mike/domains/mike.tld/public_html because i don't know if this account will have a specific domain and said that it will have a dummy domain 'mike.tld'.
===========================================
Now the problem: I want to assign 'mike' a temporary subdomain name of DOMAIN.NET so that the user can access its domain by IP/~mike or mike.DOMAIN.NET
How can i do that?
The idea is that any subdomain of DOMAIN.NET will match with a specific docroot automatically (so that mike.DOMAIN.COM will be converted to a DOCROOT = /home/mike/public_html).
Note that i don't want to create a wildcard that always points to DOMAIN.NET (because each subdomain must match against the correspondent user account with that user permissions, that user databases.. etc..). The wildcard must be smart enought to seach for the user account directory public_html.
That's for your help
Francisco A