How to Redirect a Domain: Complete Website & DNS Forwarding Guide (2026)
How to Redirect a Domain: Complete Website & DNS Forwarding Guide (2026)
Whether you are rebranding your business, acquiring secondary domain names, or consolidating multiple web properties into a flagship Shopify store, knowing how to redirect a domain to another website is an essential technical skill.
When executed properly, domain name URL forwarding seamlessly preserves your existing Google search rankings, direct customer traffic, and inbound backlink authority. When executed poorly, a domain move can wipe out years of organic search visibility in a matter of days.
In this actionable 2026 playbook, we cover every aspect of domain redirects, DNS forwarding to another domain, and how to map deep internal product URLs without breaking your store.
Domain Forwarding vs. 301 Permanent Redirection: What's the Difference?
Before changing any DNS settings, understand the two primary ways web addresses forward traffic:
| Redirection Method | Technical Mechanism | Passes Google PageRank? | Best Use Case |
|---|---|---|---|
| DNS-Level Forwarding | Registrar A/CNAME Forwarding | Minimal or None (often 302/masked) | Forwarding parked domains or typos to a root address |
| HTTP 301 Permanent Redirect | Server/Edge Header (HTTP 301 Moved) |
100% Full Equity | Rebranding, permanent domain migration, platform replatforming |
| Masked / Frame Forwarding | HTML <frameset> embedding |
Negative (Hurts SEO) | Never use for e-commerce or commercial sites |
> Key Rule: For any permanent brand move, always ensure your domain forward issues a true HTTP 301 Moved Permanently status header, not a temporary 302 or cloaked iframe.
How to Redirect a Domain to Another Website (Step-by-Step)
If you own oldbrand.com and want to forward all traffic to newbrand.com:
Step 1: Decide on Domain DNS Routing
Navigate to your domain registrar (GoDaddy, Namecheap, Cloudflare, or Google Domains):- Root Domain (
@): Set anA Recordpointing to your destination server IP (for Shopify:23.227.38.65). - Subdomain (
www): Set aCNAME Recordpointing toshops.myshopify.com(or your destination CNAME).
Step 2: Configure Primary Domain Forwarding in Shopify
1. In your Shopify Admin, navigate to Settings > Domains. 2. Connect both your old domain and your new primary domain. 3. Select your new domain and click Set as primary. 4. Check the box: "Redirect all traffic to this domain". This forces all traffic hittingoldbrand.com to forward directly to newbrand.com.
Step 3: Handle Deep URL Paths (The Crucial Step)
Domain-level forwarding only sendsoldbrand.com to newbrand.com. What happens when a customer or Googlebot clicks a backlink to an old product: oldbrand.com/products/leather-jacket?
Without granular path mapping, the visitor hits a 404 Page Not Found error.
- Use GP Easy Redirects with wildcard pattern matching:
Pattern:
oldbrand.com/products/</em> ➔ Target: https://newbrand.com/products/$1Pattern:
oldbrand.com/collections/</em> ➔ Target: https://newbrand.com/collections/$1
Top 4 Mistakes to Avoid When Forwarding a Domain
1. Letting the Old Domain Expire: Never let your old domain registration drop immediately after migrating. Keep it active for at least 1–2 years so historical backlinks and customer bookmarks continue to route to your new store.
2. Redirecting All URLs to the Homepage: Forcing every legacy product and blog post to land on newbrand.com/ causes Google to flag the redirects as Soft 404s, destroying the page-level ranking credit.
3. Forgetting SSL Certificates: Ensure an active SSL certificate covers both the old and new domains. An SSL warning screen (Your connection is not private) prevents visitors and search crawlers from completing the redirect.
4. Ignoring Redirect Chains: Ensure your old domain forwards directly to the final https:// version in a single hop. Chaining redirects (http://old.com ➔ https://old.com ➔ http://new.com ➔ https://new.com) slows page load speed and risks crawler abandonment.
Frequently Asked Questions (FAQ)
How long does a domain redirect take to take effect?
DNS record changes typically propagate globally within 15 minutes to 24 hours. Edge-based 301 redirects configured in GP Easy Redirects resolve instantly in under 5 milliseconds worldwide.Will redirecting a domain hurt my SEO traffic?
If configured with correct 301 status headers and one-to-one path mapping, Google transfers full PageRank authority. Expect minor ranking fluctuations for 1 to 2 weeks while Googlebot recrawls your catalog, followed by a full traffic recovery.How do I verify my domain redirect is working correctly?
Use a free HTTP header checker tool or Chrome DevTools (Network tab). Look for the initial response header returningHTTP/1.1 301 Moved Permanently with a Location: header pointing to your exact target URL.