9a1ace5fa943844d6ba20076af72401225a34d31
[hcoop/domtool2.git] / lib / easy_domain.dtl
1 {{The most common kinds of domain configuration}}
2
3 val web_ip : (ip) = "1.2.3.4";
4
5 val 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;