From bd4a668d231dcffeb916441bba1465a92e4e2a16 Mon Sep 17 00:00:00 2001 From: Kristjan Date: Wed, 30 Dec 2020 12:20:37 +0100 Subject: [PATCH] added instructions and better formatting to the readme file --- lnbits/extensions/subdomains/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/lnbits/extensions/subdomains/README.md b/lnbits/extensions/subdomains/README.md index 49ee0dc7..48c2c12c 100644 --- a/lnbits/extensions/subdomains/README.md +++ b/lnbits/extensions/subdomains/README.md @@ -7,6 +7,19 @@ So the goal of the extension is to allow the owner of a domain to sell their sub - Cloudflare as a dns server provider - Cloudflare TOKEN and Cloudflare zone-id where the domain is parked + +## Usage +1. Register at cloudflare and setup your domain with them. (Just follow instructions they provide...) +2. Change DNS server at your domain registrar to point to cloudflare's +3. Get Cloudflare zoneID for your domain + +4. get Cloudflare API TOKEN + + +5. Open the lnbits subdomains extension and register your domain with lnbits +6. Click on the button in the table to open the public form that was generated for your domain + - Extension also supports webhooks so you can get notified when someone buys a new domain + ## API Endpoints - **Domains** - GET /api/v1/domains