| By
Chris Jackson <chris@future-i.com> Tom McAdam <tomc@future-i.com> |
| Status: Draft Version |
ns.future-i.net and ns2.future-i.net.
Add a new entry for your domain to /var/named/etc/bind/named.conf, in the standard configuration section. The entry will point at to the standard domain configuration file. If you require email only, use this entry
zone "domain.com" {
type master;
file "mail-only.std";
};
For mail and web at the domain root and at www.domain.com, your entry should look like this
zone "domain.com" {
type master;
file "future-i.std";
};
(As of July 2003 you can also use future-i-plus-dev.std to get example.com, www.example.com, dev.example.com and www.dev.example.com - handy for developing a service first. Note it drops the ftp entry in future-i.std, use future-i-plus-devftp.std if you need it.) -- ash
Restart BIND (the name daemon): run the command:
sudo /etc/init.d/named restart
Check there are no disturbing errors at the end of /var/log/messages , and that the command nslookup ongar-towers.com ns.future-i.net returns sensible results. When you have recieved notification of the change to seconly.rackspace.com, check the secondary DNS, by running nslookup ongar-towers.com seconly.rackspace.com
Note: If you update a zone entry to use a different file, you will need to update the serial number in that file to ensure that it is higher than the one in the other file (by convention use YYYYMMDDSS where SS is the number of updates on that date)! This is to ensure that the record gets updated on seconly.rackspace.com. This will actually update all domains using that file, so maybe a better approach is required.
web-create short-name your.domain youruser you@foo.com as root to create your web root under /home/web/short-name/, following prompts to update Apache configuration and restart itAdd an alias file in /etc/exim/aliases with the name of your domain. This is in standard alias format, but in addition you can specify regular expression matching of addresses.
Tell Exim to re-read the configuration file: sudo /etc/rc.d/init.d/exim readconfig
For more information on setting up virtual mail users, see mail-users.
See also: