put a file called
dat in a folder in your webroot called
.well-known
so:
example.com/.well-known/dat
the format of the file is:
the dat url for your website (you can use the
dat cli to upload your website)
the ttl (time to live, amount of time to cache the site basically)
which means the contents of
example.com/.well-known/dat would look like:
dat://d72c5cebc4b19c3bdbd5e6eae3ccf75ba7a311e73bb87ae29aac02c50174d4da/
ttl=3600
you would now be able to access your website on dat using
dat://example.com
in something like
beaker browser
happy dat-ing!
note: example.com/.well-known/dat has to be accessible over https and not http,
thanks to inky for this tip:3