About Serveronet Sites

about_serveronet_sites

Serveronet Sites

Serveronet Sites are websites which live are semi-encapsulated in a Serveronet Client. Sites are served by your client and retrieved from a P2P network consisting of other peers.
Sites interract with the network through client. Queries and file requests are sent to the network if not already downloaded.

Site Address

Every Site have it's unique address. Site address appears in url as a subdomain

http://abc_site_address.localhost:15080/

Domains

Classic DNS

You can also use classic domains which are mapped to site address.
See further documentation on how to configure

http://example.com.localhost:15080/ => abc_site_address

OpenNIC servers OpenNIC are used to get DNS records pointing to site address.

Dot Serveronet domains

Serveronet supports also .snet domains. http://about.snet.localhost:15080/

Automated publishing

There may be need to frequently send new records to your for example blog. Instead of going everytime to Site you can post your updated through and automated way.

  • TODO example automated post
  • custom_code.php
  1. First step is to go to the Visitor's Control Panel. Once you log as Visitor that will be posting updates go to Access with Api Token section and enable Api Access. Api should be generated for you.

    Please note that HTTPS or running client locally is highly recommeded.

  2. In this example we'll use a curl. You can make following request to post new record to the Backend as your account.
    curl TODO


Information

Lorem ipsum, dolor sit amet consectetur adipisicing elit.