HTTP Redirect provides a service that will redirect any domain or subdomain using only DNS records. Point your hostname at this service, add a corresponding TXT record describing the destination URL, and redirects are served automatically.
STEP 1 Point your domain at this server
Create a CNAME or A / AAAA records for the domain you want to redirect:
# CNAME
www.your-domain.com. IN CNAME http-redirect.com.
# or A / AAAA records
your-domain.com. IN A 5.161.17.225
your-domain.com. IN AAAA 2a01:4ff:f2:f9c1::1
STEP 2 Add a TXT record with the destination
Create a TXT record prefixed with _redirect on the same domain, containing the target URL:
_redirect.www.your-domain.com. IN TXT "https://www.new-domain.com"
_redirect.your-domain.com. IN TXT "https://new-domain.com"
DNS changes may take a few minutes to propagate.
Status codes
By default, redirects use temporary — 302 for standard requests and 307 for form submissions and API calls. Append a keyword or numeric code to the TXT record value to change it.
View status code reference →
Dynamic redirects
Preserve hostname labels, paths, query strings and other request details by including placeholders such as {uri} or {path}{?query} in the target URL.
View placeholder reference →
Examples
See common redirect scenarios and advanced use cases in the documentation.
View examples →