Hurricane Electric's IPv6 Tunnel Broker Forums

DNS.HE.NET Topics => General Questions & Suggestions => Topic started by: josephf on April 25, 2024, 10:21:24 PM

Title: URL / Web Forwarding via DNS
Post by: josephf on April 25, 2024, 10:21:24 PM
I know that URL/Web forwarding, strictly speaking, isn't a DNS feature. Nevertheless, many DNS providers do offer this as a feature even with their (otherwise) DNS-only services. Apparently, HE does not offer this (yet) as part of its DNS service.

Acknowledging the above, for domains using HE's DNS, what would be the simplest way to create a URL forwarding?

(In other words, if example.com is using HE DNS and I want to forward http://example.com to http://yahoo.com)

Preferably (though not absolutely necessary) the ability should exist to choose whether the forward masks the forwarded address (in the browser) or it does not mask it.

It would also be nice if the full path (after the domain name) can optionally be forwarded as well, though this isn't critical.

What is important, though, is the ability to forward both the apex/root/naked domain as well as a subdomain, such as www.

Thank you in advance.
Title: Re: URL / Web Forwarding via DNS
Post by: dewdude on April 27, 2024, 11:08:11 AM
Personally, I would just set nginx up to either full reverse proxy or 301 redirect. Full proxy would make it "mask" the forwarded address; a 301 redirect wouldn't.

This, however, would require a server to run nginx. It wouldn't need to be anything super beefy though. I don't know if anyone offering "free cloud" offers anything free enough if you're literally trying to do this for $0.