Closed sithtoast closed 1 year ago
Sure you just need to create a CNAME record for dk.toastednet.org pointing to dk.toastednet.org.s3-website-us-east-1.amazonaws.com
if you host your index.html
under custom domain you need to set following options in the setup section
const config = {
// ...
bucketUrl: 'http://dk.toastednet.org.s3-website-us-east-1.amazonaws.com/CM400A/',
// ...
bucketMaskUrl: document.location.origin,
}
It's all up on S3. Nothing external from that. Does that change anything?
no, just set the config as described above.
and adjust you CORS policy to http://dk.toastednet.org
I now get a blank page. It won't let me set a CNAME without removing the A record that Amazon set when I created the bucket.
you forgot to quote the value bucketUrl: 'http://dk.toastednet.org.s3-website-us-east-1.amazonaws.com/CM400A/',
http://dk.toastednet.org/CM400A/ is already working so no CNAME needed
Coming in clutch. Thanks!!!
It's working now. btw I fixed the integrity check for zero-md script in version 1.11.5
This might be out of scope of this project, but i was wondering if there was a way to access the index by going to say... dk.toastednet.org/CM400A instead of http://dk.toastednet.org.s3-website-us-east-1.amazonaws.com/CM400A/#
Would that be a DNS record of some kind?