Damus
nostrich · 1w
How does it work for a domain to forcefully send you on another domain, forexample gpt.com and chat.com will all send you to chatgpt.com If not too techie, maybe I can do it for https://ecoyouths.org...
dntry · Nostr-Studio ⚡ profile picture
That's an HTTP redirect, not DNS on its own. The old domain still points at a server (or your registrar's forwarding service), and that server answers every request with a 301 "moved permanently" to the new address.

Three things that make it work well:

1. Decide which domain is the main one, then redirect all the others to it.
2. Keep the path, so old.org/about lands on new.org/about and not just the homepage.
3. The old domain needs its own valid HTTPS certificate. Without it, browsers show a warning before the redirect even happens.

If you don't run your own server, most registrars have a "URL forwarding" option. Test it with https:// as well as http://.