js-org / js.org

Dedicated to JavaScript and its awesome community since 2015
https://JS.ORG
5.25k stars 3.48k forks source link

p5.js.org domain #6880

Closed jcubic closed 2 years ago

jcubic commented 2 years ago

I would like to add this subdomain to my P5.js playground. Right now I have it located at p5.javascript.org.pl. But want to create something that will be self-contained, that domain needs to be renewed and will not last forever.

Here is a link to working Demo.

I want to use Free infinityfree.net Hosting, but I'm not allowed to add that domain. It complains that it's not registered.

Can you Add DNS records first? And then try to add it in InfinityFree hosting?

MattIPv4 commented 2 years ago

Sure thing -- please open a PR with the CNAME required and we can go from there :)

jcubic commented 2 years ago

@MattIPv4 I don't quite understand, also I am not a DNS expert. I was supposed to modify ns_active.js. Do I still need a CNAME record? I'm not sure If I can add a CNAME record in any way. I can only add a new domain that is hosted elsewhere. But it needs to be registered (be active) before I can host it, the whois command says that subdomain doesn't exist. I can't add DNS records by hand.

MattIPv4 commented 2 years ago

Unfortunately, we no longer offer NS allocation, we only support adding CNAME records.

jcubic commented 2 years ago

Uh, that's bad. I was searching in closed issues and found out about that file.

Can I ask why you don't support it? Maybe there is some other way to use Free Web Hosting. Do you know any that support js.org? I need no more than 10MB, PHP, and .htaccess. Need similar functionality as this application https://send.jcubic.pl/. There are only a few lines of PHP code.

MattIPv4 commented 2 years ago

Giving out NS control of subdomains can be very problematic for us as it becomes very hard to monitor the usage of that subdomain to make sure the content is appropriate, and makes it far easier for folks to abuse the subdomain (e.g. for email spam, etc.).

We've had folks use services like Vercel, Heroku or DigitalOcean's App Platform before without issue I believe, and they all support configuring a custom domain via a CNAME record.

jcubic commented 2 years ago

Ok, thanks. I have some experience with Vercel, maybe will just write a NextJS app then.