File: setupdns.tmpl

package info (click to toggle)
ikiwiki-hosting 0.20161219
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 868 kB
  • ctags: 296
  • sloc: perl: 5,315; sh: 183; ansic: 168; makefile: 53
file content (47 lines) | stat: -rw-r--r-- 1,394 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<form action="/ikiwiki.cgi" method="post">
<input type="hidden" name="do" value="setupdns" />
<input type="hidden" name="sid" value="<TMPL_VAR SID>" />

<TMPL_IF FIRST>
<p>
Here you can configure the domain names used for this site.
</p>
</TMPL_IF>
<TMPL_IF ERROR>
<p>
<span class="error">
<TMPL_VAR ERROR>
</span>
</p>
<TMPL_IF DNS_NEEDED>
<p>
To make your site be available at <TMPL_VAR EXTERNAL_HOSTNAME ESCAPE=HTML>,
you need to purchase that domain name. I can't do that for
you, but you can buy the domain at sites like
<a href="http://godaddy.com/">GoDaddy</a> or
<a href="http://gandi.net/">Gandi</a>.
When you buy the domain, configure it to point to
<TMPL_VAR INTERNAL_HOSTNAME ESCAPE=HTML>.
</p>
</TMPL_IF>
<TMPL_IF DNS_WRONG>
<p>
To make your site be available at <TMPL_VAR EXTERNAL_HOSTNAME ESCAPE=HTML>,
you need to visit your DNS Registrar and configure the domain
to point to <TMPL_VAR INTERNAL_HOSTNAME ESCAPE=HTML>.
</p>
</TMPL_IF>
</TMPL_IF>
<TMPL_IF DNS_OK>
<p>
DNS successfully configured.
</p>
</TMPL_IF>

<label for="dns_external">Main domain:</label><br />
<input id="dns_external" name="external" size="60" value="<TMPL_VAR EXTERNAL_HOSTNAME ESCAPE=HTML>" /><br />
<label for="dns_alias">Other domains:</label><br />
<textarea id="dns_alias" name="alias" cols="60" rows="5"><TMPL_VAR ALIAS></textarea><br />
<input type="submit" name="submit" value="Apply" />

</form>