index.html 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <html>
  2. <head>
  3. <link rel="stylesheet" href="css/all.css" />
  4. </head>
  5. <body>
  6. <div class="block block-head">
  7. <h1><span>ZeroNet domain name registry</span></h1>
  8. </div>
  9. <div class='block block-domains'>
  10. <table class='domains'>
  11. <tr><th class="pre"></th><th class='name'>Domain</th><th>Address</th><th>Network</th><th class="post"></th></tr>
  12. <tr class="domain template">
  13. <td class="pre"></td>
  14. <td class='name'><a href="blog.zeronetwork.bit" target="_top">blog.zeronetwork.bit</a></td>
  15. <td class="address"><a href="#" target="_top">1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8</a></td>
  16. <td class="network"><span class="bullet">&bullet;</span> <a href="#" target="_top">Namecoin</a></td>
  17. <td class="post"></td>
  18. </tr>
  19. </table>
  20. </div>
  21. <div class="link-register"><a href="#Register">How to add a domain?</a></div>
  22. <div class="block block-register">
  23. <h2><span>To register just add 'zeronet' key to your namecoin domain.</span></h2>
  24. 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>:
  25. <pre class='code'>
  26. {
  27. "name": {
  28. "formatted": "ZeroNet project"
  29. },
  30. "bitcoin": {
  31. "address": "1QDhxQ6PraUZa21ET5fYUCPgdrwBomnFgX"
  32. },
  33. <b>"zeronet": {
  34. "": "1EU1tbG9oC1A8jz2ouVwGZyQ5asrNsE4Vr",
  35. "blog": "1BLogC9LN4oPDcruNz3qo1ysa133E9AGg8",
  36. "talk": "1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ"
  37. },</b>
  38. "ns": [
  39. "ns1.domaincoin.net"
  40. "ns2.domaincoin.net"
  41. ]
  42. }
  43. </pre>
  44. 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>
  45. <br>
  46. 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:
  47. <pre class='code'>
  48. {
  49. "address": "1TaLk3zM7ZRskJvrh3ZNCDVGXvkJusPKQ",
  50. "background-color": "#F5F5F5",
  51. "description": "Decentralized forum demo",
  52. <b>"domain": "Talk.ZeroNetwork.bit", </b>
  53. "files": {
  54. ...
  55. </pre>
  56. </div>
  57. <script type='text/javascript' src='js/all.js' asyc></script>
  58. </body>
  59. </html>