-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
73 lines (64 loc) · 2.5 KB
/
index.html
File metadata and controls
73 lines (64 loc) · 2.5 KB
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<html>
<head>
<link rel="stylesheet" href="css/all.css" />
</head>
<body>
<div class="block block-head">
<h1><span>ZeroNet domain name registry v0.1</span></h1>
</div>
<div class='block block-domains'>
<table class='domains'>
<tr><th class="pre"></th><th class='name'>Domain</th><th>Address</th><th>Network</th><th class="post"></th></tr>
<tr class="domain template">
<td class="pre"></td>
<td class='name'><a href="blog.zeronetwork.bit" target="_top">blog.zeronetwork.bit</a></td>
<td class="address"><a href="#" target="_top">1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8</a></td>
<td class="network"><span class="bullet">•</span> <a href="#" target="_top">Namecoin</a><a class="network_json" href="#" target="_top"> (JSON) </a></td>
<td class="post"></td>
</tr>
</table>
<a href="#More" class="link-more">Show more</a>
</div>
<div class="link-register"><a href="#Register">How to add a domain?</a></div>
<div class="block block-register">
<h2><span>To register just add 'zeronet' key to your namecoin domain.</span></h2>
The <code>""</code> key means the primary domain, any other than that is a subdomain. <a href="http://namecha.in/name/d/zeronetwork" target="_top">Example</a>:
<pre class='code'>
{
"name": {
"formatted": "ZeroNet project"
},
"bitcoin": {
"address": "1QDhxQ6PraUZa21ET5fYUCPgdrwBomnFgX"
},
<b>"zeronet": {
"": "1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr",
"blog": "1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8",
"talk": "1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ"
},</b>
"ns": [
"ns1.domaincoin.net"
"ns2.domaincoin.net"
]
}
</pre>
After the changes confirmed by Namecoin network the domain will automatically added to the registry and anyone can access your site using the registered domain.<br>
<br>
To make the homepage (ZeroHello) link to your site domain you have to add a "domain" key to your site's content.json file, for example:
<pre class='code'>
{
"address": "1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ",
"background-color": "#F5F5F5",
"description": "Decentralized forum demo",
<b>"domain": "Talk.ZeroNetwork.bit", </b>
"files": {
...
that it's not all.....if you do all by your self!
the 1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F address must be change with that here....
alternatively, you can copy all the files from here to the 1Name2NXVi1RDPDgf5617UoW7xA6YrhM9F folder
</pre>
<img src="img/imachig.png"></img>
</div>
<script type='text/javascript' src='js/all.js' asyc></script>
</body>
</html>