
Direct Answer
DNS can't redirect a URL by itself. DNS only tells browsers which server a domain lives on; that server must answer with the redirect (a 301 or 302). So a "DNS redirect" means pointing the domain's records at something that sends the redirect: your registrar's forwarding service (a URL or forwarding record), your own web server or CDN, or a redirect service such as RedirHub (an A record on @ plus a CNAME for www). A CNAME alone never redirects.
What is a DNS redirect?#
People say "DNS redirect" when they want oldbrand.com to send visitors to mybrand.com and the setting they find is in their domain's DNS panel. Under the hood, two separate jobs happen. DNS answers the question "where is oldbrand.com?" with an IP address. Then the browser asks the server at that address for the page, and that server replies with a redirect status code and the new location.
That second reply is what browsers and Google act on. Google says a server-side redirect has the highest chance of being interpreted correctly[1], and that 301 and 308 mean the page has moved permanently. DNS records can't send any of these codes, so every working "DNS redirect" ends at a web server.

Which DNS record redirects a domain?#
None of the standard records sends a redirect. Each one either points the domain at a server that does, or does something else entirely:
| Record | What it does | Redirects visitors? |
|---|---|---|
| A / AAAA | Points a name to an IPv4 / IPv6 address | Only if the server at that address sends a redirect |
| CNAME | Makes one hostname resolve like another hostname | No. The address bar keeps the old name; not allowed on the root at most providers |
| ALIAS / ANAME / CNAME flattening | Provider feature that lets the root behave like a CNAME | No, same as CNAME |
| URL redirect / forwarding record | Registrar feature: points the name at the registrar's forwarding server | Yes, the registrar's server sends a 301 or 302 (or frames the page if you choose masking) |
| TXT | Holds text, for example a verification code | No |
| MX | Routes email for the domain | No. Leave it alone when you redirect the website |
The CNAME row trips up many people. A CNAME on the root domain clashes with the NS and SOA records that must live there; as RFC 1912 puts it, a CNAME record is not allowed to coexist with any other data[2]. Use an A record on the root (@) and keep CNAMEs for subdomains such as www.
DNS redirect vs server redirect#
Since DNS never sends the redirect itself, the real choice is which server sends it. There are three common options:
| Registrar forwarding ("DNS redirect") | Server or CDN rule | Redirect service | |
|---|---|---|---|
| What you change | A forwarding record at the registrar | Config file (.htaccess, Nginx) or CDN rules | A and CNAME records pointing at the service |
| Needs hosting | No | Yes, a server or a CDN account | No |
| HTTPS on the old domain | Depends on the registrar | You manage the certificate (or the CDN does) | Usually automatic |
| Paths (old.com/page) | Varies by registrar | Full control, rule by rule | Keep the path or map URLs, depending on the service |
| Best for | One or two simple domain forwards | Path changes on a site you already host | Many domains, migrations, teams without server access |
For SEO, none of the three is better by nature. A 301 is a 301 whoever sends it. What matters is that the old domain answers over HTTPS without a certificate error, that it sends a permanent code for a permanent move (see 301 vs 302 redirects), and that old paths land on matching pages rather than all on the homepage.
How to redirect a domain with DNS at your registrar#
The menus differ, but registrar forwarding follows the same steps everywhere:
- Decide the destination URL and whether the move is permanent (301) or temporary (302).
- Open the forwarding settings at your registrar. At GoDaddy that is Domain Settings, then DNS, then Forwarding; at Namecheap it is Advanced DNS, then Add New Record, then URL Redirect Record.
- Remove records that conflict with the forward, such as an old A, CNAME or ALIAS record on the same host. Leave MX and other email records alone.
- Add the forward: enter the destination (with https://) and choose Permanent (301). Avoid masking or frame options for a real move.
- Cover www as well, either with a second forward or by pointing www at the root as your registrar describes.
- Wait for the change to take effect, usually minutes to an hour.
- Test both http:// and https:// versions of the old domain, with and without www, in the redirect speed test or a private browser window.
Is your redirect working? Enter your domain. You'll see the status code (301 or 302), where it lands, whether HTTPS is valid, and how fast it answers from Washington, Frankfurt and Tokyo, ranked against every redirect tested in the last 7 days.
Test my redirectWhat to know about the big providers (checked October 2026):
- GoDaddy: offers Permanent (301), Temporary (302) and forwarding with masking. Adding forwarding updates and locks the @ A record, and if the domain uses other nameservers GoDaddy switches them to its own[3], which moves your whole DNS zone. Step by step: GoDaddy domain forwarding guide.
- Namecheap: the URL Redirect Record offers 301, 302 (Unmasked) and Masked (URL Frame), and usually works after about 30 minutes. Redirecting over HTTPS is only possible to a different destination domain[4], and an https:// source needs a certificate. Details: Namecheap URL redirects with HTTPS.
- Cloudflare: there is no URL record. You add proxied A records for @ and www pointing to the placeholder 192.0.2.1[5], then a Redirect Rule that sends the hostname to the new domain (Cloudflare's example keeps the path and uses a 301). Walkthrough: Cloudflare domain redirect guide.
Set up a DNS redirect with RedirHub#
With RedirHub the DNS part stays small: you point the root and www at RedirHub and leave everything else, including email, where it is. RedirHub then sends the redirect from 130 global edge locations, with automatic HTTPS for both root and www.
- Start a new Domain Redirect in the RedirHub dashboard.
- In Redirect from, enter the old domain, for example oldbrand.com.
- In Redirect to, enter the destination, for example https://mybrand.com.
- Under Redirect type, keep 301 · Permanent.
- Under Paths, choose Keep the path so oldbrand.com/shop goes to mybrand.com/shop, or Everything to one URL.
- Click Create redirect.
- Open Connect DNS, choose Manual and add the records shown at your DNS provider: an A record on @ pointing to 3.33.236.10, the TXT record starting rehd-verify=, and a CNAME for www. Delete the old A record on @.
- Click I've made the changes. RedirHub checks each record and tells you which one is still missing.
- Once the domain shows as connected, check it with the redirect speed test.

How long does it take? When the records are right, it is usually quick: the typical domain is confirmed about a quarter of an hour after it is added, and about three in four domains that connect do so within the first hour (RedirHub platform data, October 2026). A domain that still isn't connected after a day rarely connects on its own, so recheck the list in Connect DNS (a missing record or an old A record still in place are the usual suspects) rather than waiting longer.
| Registrar forwarding | RedirHub | |
|---|---|---|
| Where the redirect runs | The registrar's forwarding servers | 130 global edge locations (PoPs), close to each visitor |
| Your DNS and email | Some registrars lock records or switch nameservers (GoDaddy does) | Stay where they are; only the root and www records change, no nameserver switch |
| HTTPS | Varies (GoDaddy applies it automatically; Namecheap only to a different domain) | Issued and renewed automatically for root and www; they count as one domain |
| Paths and scale | Varies by registrar, one domain at a time | Keep the path or map each old URL to its own page; several source domains per redirect; CSV import on every plan |
| Redirect types | Usually 301, 302 and masking | 301, 302, 307, 308 and frame |
| Reporting | Usually none | Clicks and unique visitors with bots filtered out; per-domain top links; DNS re-checked every 10 minutes |
| Cost | Usually free with the domain | From $49/month (Core); 14-day free trial on Pro |
RedirHub earns its price when you redirect several domains, need old paths to land on matching pages during a website migration, or want to load hundreds of rules with a bulk CSV import instead of clicking through a registrar panel. If you only forward one or two domains at a registrar that serves the forward over HTTPS, and you don't need path mapping or reports, the free registrar option is enough.
Common DNS redirect mistakes#
- Using a CNAME to "redirect". It only aliases the name: no redirect, and on the root it can break DNS for the whole domain.
- Leaving the old A record in place. With two A records on @, some visitors still reach the old server.
- Forgetting www. www is a separate hostname; if it has no record or forward, www.oldbrand.com simply fails.
- Testing only http://. Links and browsers use https://. If the forwarding server has no certificate for the old domain, visitors see a security warning before any redirect happens.
- Using masking or 302 for a permanent move. Masking frames the new site under the old address and sends no redirect; a 302 tells Google the move is temporary.
- Changing nameservers without copying the zone. If forwarding moves your DNS to a new provider, MX records that aren't copied over stop your email.
Put your domain to work.
Manage branded links, QR destinations, and redirects from one reliable control layer.
Get StartedSources
Frequently asked questions
A DNS redirect is the common name for sending one domain to another URL by changing its DNS records. DNS itself only answers with an address; the actual redirect (a 301 or 302 response) comes from the server those records point to, usually your registrar's forwarding service, your own web server or a redirect service.
No. No standard DNS record tells a browser to load a different URL. What registrars call a URL record or domain forwarding is a DNS record that points the domain at the registrar's web server, which then sends the redirect.
At a registrar that offers forwarding, add its URL redirect or forwarding record (for example Namecheap's URL Redirect Record or GoDaddy's Forwarding). With a redirect service, add the A record it gives you on the root (@) and a CNAME for www, plus any verification TXT record.
No. A CNAME makes one hostname resolve like another, but no redirect is sent and the address bar keeps the old name. A CNAME also can't sit on the root domain at most DNS providers, because it may not coexist with the NS and SOA records there.
It depends on the forwarding service. GoDaddy and Namecheap both let you pick a permanent 301 or a temporary 302; masking or frame forwarding sends no redirect at all. Check the real response with a redirect checker after setting it up.
Neither, as such. Google reads the HTTP response, not where it came from. A permanent 301 or 308 sent by a registrar, a web server or a redirect service is the same signal. What differs is control: HTTPS on the old domain, path handling and how easy the rules are to maintain.
Usually minutes to an hour, depending on the record's TTL and the provider. Namecheap says a URL redirect usually starts working in about 30 minutes; GoDaddy says most changes apply within an hour but can take up to 48 hours.
Not if you only change the records for the website: the root A record and www. Email depends on MX records, which you leave alone. Be careful with providers that switch your nameservers when you turn on forwarding, and never put a CNAME on the root domain.

TC is the Operations Manager at RedirHub, leading the company’s operational strategy and execution to ensure reliable, scalable redirect infrastructure. He oversees internal processes, cross-team coordination, and platform readiness while supporting customers through complex redirect implementations. With a strong understanding of large-scale domain operations and real-world edge cases, TC plays a key role in aligning product and customer success to deliver stable, high-performance redirection solutions.
Related Articles
View All Articles


