Use as wildcard for the domain:
When selected this will match any requested subdomain that does not exist in DNS and redirect it to the default subdomain, kind off like a catchall for subdomains. E.G. someone types in http://doesntexist.example.com and it will redirect to www.example.com.
1. Generalities
This part of the interface edits both entries for DNS and apache, depending on what you write in it's fields. It's done this way so it's faster to edit your datas: you wont need to first enter the DNS entry, then match the same entry on the apache configuration. It's faster, but a little bit more hard to understand the first time you use it. This page is to show you how to use it.
In general, when you don't enter an IP or CNAME in the field (when you leave it blank), it will generate an entry in the apache config so you will also have a web space available. If you enter something, then it will disable completly the vhost. That can be overwritten anyway by clicking on "no" to the "generate a vhost" radio button (in which case an apache vhost entry wont ever be generated).
2. Dynamic IP updates
If you have a computer that is using a public IP that changes, you might want to automate the update of this IP in your DNS entries. This is possible with the DTC control panel. Simply enter a login and password in the fields, and then hit the client/dynip.php script with "login", "pass" and "domain" as parameter. The parameter "ip" is optional (if you ommit it, the script will use the REMOTE_ADDR apache environment variable). Here is an example script you can use if you want to do the update using links:
#!/bin/sh
# You can use either links or lynx, sometimes only one of them works, depending on distribution.
LYNX=/usr/bin/links
DOMAIN=example-domain.net
LOGIN="MyLogin"
PASS="MyPassword"
SCRIPT_URL="https://dtc.example.com/dtc/"
$LYNX -source $SCRIPT_URL"dynip.php?login="$LOGIN"&pass="$PASS"&domain="$DOMAIN
Windows users should find a way to hit the URL like this:
https://dtc.example.com/dtc/dynip.php?login=$login_to_edit&pass=$pass_to_edit&domain=$edit_domain
There is now a new IP updater for Microsoft Windows(TM), fully part of DTC, available here:
http://www.gplhost.com/DTC-Dynamic_IP_updater.exe
This software is part of DTC, and is released under the same license.
3. IN NS entry
If you want, it's possible to generate an IN NS entry for a specific subdomain. Just enter it in:
"This subdomain is a nameserver (NS) entry for the following subdomain:"
4. Sbox cgi-bin protection and php safe mode
It's possible to deactivate sbox and the php safe_mode for a given vhost. To do that, the root administrator has to allow this in it's panel, under domain configuration. Then the radio buttons for this setting will appear in the subdomain interface.
Editing this page means accepting its license.