Put in real reload commands for domtool-publish
[hcoop/domtool2.git] / lib / easy_domain.dtl
CommitLineData
6bb366c5
AC
1{{The most common kinds of domain configuration}}
2
3val web_ip : (ip) = "1.2.3.4";
4
5val dom =
6 \ d : (your_domain) ->
7 \\ config : Domain ->
8 domain d with
9 dns (dnsNS "ns.hcoop.net");
10 dns (dnsNS "ns2.hcoop.net");
11
12 dns (dnsA "www" web_ip);
13
14 handleMail;
15 mailbox <- Mailbox;
16 catchAllAlias mailbox;
17
18 vhost "www" with
19 end;
20
21 config
22 end;