this post was submitted on 21 Jan 2025
20 points (100.0% liked)

196

1602 readers
1978 users here now

Community Rules

You must post before you leave

Be nice. Assume others have good intent (within reason).

Block or ignore posts, comments, and users that irritate you in some way rather than engaging. Report if they are actually breaking community rules.

Use content warnings and/or mark as NSFW when appropriate. Most posts with content warnings likely need to be marked NSFW.

Most 196 posts are memes, shitposts, cute images, or even just recent things that happened, etc. There is no real theme, but try to avoid posts that are very inflammatory, offensive, very low quality, or very "off topic".

Bigotry is not allowed, this includes (but is not limited to): Homophobia, Transphobia, Racism, Sexism, Abelism, Classism, or discrimination based on things like Ethnicity, Nationality, Language, or Religion.

Avoid shilling for corporations, posting advertisements, or promoting exploitation of workers.

Proselytization, support, or defense of authoritarianism is not welcome. This includes but is not limited to: imperialism, nationalism, genocide denial, ethnic or racial supremacy, fascism, Nazism, Marxism-Leninism, Maoism, etc.

Avoid AI generated content.

Avoid misinformation.

Avoid incomprehensible posts.

No threats or personal attacks.

No spam.

founded 4 days ago
MODERATORS
 

i KNEW i’d find a good use for this domain.

top 17 comments
sorted by: hot top controversial new old
[–] AdrianTheFrog@lemmy.world 3 points 1 day ago* (last edited 10 hours ago) (1 children)

I did some testing for domain redirects, I think the best way to do a redirect (so you can use https) is using your own server (there might be some places that offer free cloud servers too tho)

first set up a dns record, with a name of @ (the root domain), type of A, and 'data' with the server's public ip address. (there might be an easier way to do this on your domain provider, it just needs to direct the domain to your server with a standard webpage configuration, you might also want to set up www to redirect to the root using a CNAME type record, or for this I guess it would probably be faster just to add another type A record to the same server and put server_name xn-blk.gay, www.xn-blk.gay; in the config)

then install nginx, put the following in the http section in /etc/nginx.conf:

include /etc/nginx/conf.d/*.conf;

I have the following config for an example redirect server (/etc/nginx/conf.d/test.conf):

server {
    listen 80;
    server_name test.adrian.place;

    # Redirect HTTP to HTTPS
    return 301 https://xkcd.com$request_uri;
}

server {
    listen 443 ssl;
    server_name test.adrian.place;
    http2 on;

    # Redirect all requests to the target URL
    return 301 https://xkcd.com$request_uri;
}

and then enable and start the nginx systemd service, run certbot to set up https, and then reload the service

Edit: If it's a home server you'll need to set up port forwarding for 443 and 80 ofc

[–] yuri@pawb.social 1 points 22 hours ago (1 children)

all my hosting is handled through namecheap right now because i am both lazy and uneducated, BUT i’ve been looking into setting up a home server for unrelated reasons! i will absolutely be circling back to this comment ^^

[–] pupbiru@aussie.zone 2 points 21 hours ago (1 children)

you can do similar things for free with cloudflare, if you don’t have an aversion to using cloudflare

[–] yuri@pawb.social 1 points 19 hours ago (1 children)

what’s the deal with cloudflare?

[–] pupbiru@aussie.zone 3 points 19 hours ago

some people are averse to it because some hugely high percentage of all websites run through it - for privacy reasons, that’s not a good thing - if they enshittify, their data set could be more valuable than metas

[–] tuna@discuss.tchncs.de 4 points 1 day ago

I was literally looking at punycode the other day. this is epic

[–] TheCoolerMia@lemmy.blahaj.zone 6 points 1 day ago (1 children)

HUH?! WAIT HOW DOES THAT WORK? :O

O wait u own the domain and u made it redirect to this comm? thats so cool!!! :3 that alternative url and the other in the comments dont work for me tho unless Im doing something wrong

[–] yuri@pawb.social 4 points 1 day ago (1 children)

it’s kinda finnacky. most browsers will parse either one fine, but sometimes just convincing them it IS a url can be weird.

i tried to hyperlink both versions in this comment, but clicking the links in the preview actually crashed voyager for me! perchance punycode doesn’t play well with everyone quite yet lol

[–] Pieisawesome@lemmy.world 2 points 23 hours ago

An ending slash should make the browser parse as a uri

[–] TriflingToad@sh.itjust.works 2 points 1 day ago (1 children)
[–] TheCoolerMia@lemmy.blahaj.zone 5 points 1 day ago* (last edited 1 day ago) (3 children)

this http://xn--bdk.gay/ should work :3

edit: huh wait it doesnt work when I click this link here but it works when I click it from my notes? XP

[–] AdrianTheFrog@lemmy.world 2 points 1 day ago (1 children)

works in Firefox and Chrome on Windows, although it is very slow

in Chrome it seems to work when clicking, when opening in a new tab, when opening in a new window, but when opening in an incognito window it gives an "insecure" warning and doesn't let you proceed to the site

[–] Pieisawesome@lemmy.world 1 points 23 hours ago (1 children)

If you type “Thisisunsafe” you can bypass security warnings

[–] AdrianTheFrog@lemmy.world 1 points 19 hours ago

It has a button to proceed though, it just does nothing when you click on it...

[–] TriflingToad@sh.itjust.works 2 points 1 day ago

ooh! it worked from my computer but not from my phone. Unicode must be weird or something on mobile🤔

[–] yuri@pawb.social 1 points 2 days ago

i actually already have stickers of this design from an unrelated project that never came to fruition