Article 04 of 46Domain guide

Domain Forwarding and Redirects: How to Point One Domain to Another

How to forward a domain or redirect one site to another: 301 vs 302, forwarding vs DNS, and step-by-step setup.

7 min read46 articles in the journal

Perhaps you just rebranded your company, secured the .com version of your existing .net website, or purchased common misspellings of your brand name to keep competitors from poaching your visitors. You now own multiple domains, but you only want to design, host, and maintain a single website. How do you ensure that anyone who visits your secondary domains lands seamlessly on your primary site without seeing confusing browser warnings or broken links?

Domain forwarding and redirects solve this exact challenge. When configured properly, they preserve your search engine optimization rankings, consolidate your web traffic, and safeguard your brand. In this guide, we explore how forwarding works, the critical difference between 301 and 302 redirects, and step-by-step methods to set up forwarding safely.

Forwarding versus redirect versus pointing: what each means

Website owners frequently use these three phrases as if they were identical, but they refer to completely different technical layers:

Domain Forwarding

A turnkey service provided by domain registrars. When visitors type your secondary domain, the registrar's internal servers intercept the connection and issue an automated instruction sending the browser to your primary website.

HTTP Redirect

The standardized web protocol status code (such as HTTP 301 or HTTP 302) sent by a web server to tell a browser or search engine crawler that a resource has moved to a new destination URL.

DNS Pointing

Configuring DNS records (like an A record or CNAME record) to link a domain name to a server IP address. Pointing directs where traffic travels, but it does not instruct the destination web server how to handle that incoming domain name.

Common reasons to redirect domains

Redirecting one domain to another is standard practice for online businesses. The most frequent use cases include:

  • Company rebranding: Moving your business to a new name or upgrading from a lengthy domain to a crisp, memorable brand name while retaining existing customers.
  • Defending against common typos: Purchasing frequently misspelled variations of your company domain so visitors who make a typing error still reach your official storefront.
  • Securing alternate extensions: Buying .net, .org, or country-code variations (.co.uk, .ca) to prevent competitors from confusing your customer base.
  • Canonical www normalization: Ensuring that both www.example.com and example.com point to one single URL to avoid split search rankings.

301 versus 302 redirects: permanent versus temporary

When a web server redirects a user, it sends a three-digit status code. Choosing the correct code has major implications for search engine rankings:

301 Moved Permanently

Informs search engines that the original URL is gone permanently. Google and other search crawlers will pass between 90 and 99 percent of the original domain's backlink authority and search equity to the new destination.

Best for: Rebranding, permanent domain changes, and typo domains.

302 Found (Temporary)

Tells search engines that the resource has moved only temporarily. Search engines do not transfer ranking authority, and they will continue indexing the original URL in search results.

Best for: Short promotions, temporary maintenance, and A/B split testing.

Method 1: Registrar-level forwarding step by step

If you do not want to purchase web hosting for your secondary domain, registrar forwarding is the fastest and most cost-effective solution. Most major registrars provide this feature at no extra charge:

  1. Log into your domain registrar: Access the dashboard where your secondary domain is registered.
  2. Locate the forwarding settings: Look for an option called "Domain Forwarding", "URL Redirects", or "Web Forwarding".
  3. Choose your redirect type: Select 301 Permanent Redirect. Avoid "Masked Forwarding" or "URL Framing", which hides the true destination inside an HTML iframe and damages search visibility.
  4. Enter the destination address: Type the complete destination URL, including the secure protocol, such as https://example.com.
  5. Configure path forwarding: Decide whether visitors requesting olddomain.com/blog should forward to example.com/blog (path preservation) or simply route to the homepage.
  6. Save your settings: Confirm the changes and allow 15 to 30 minutes for DNS records to update.

Method 2: Server-level redirects (Apache and Nginx)

If both domains point to a web server that you administer, configuring redirects directly in your server configuration gives you superior speed and total routing control:

Apache web servers (.htaccess)

Add the following rewrite rule to your root .htaccess file:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^olddomain\.com$ [NC,OR]
RewriteCond %{HTTP_HOST} ^www\.olddomain\.com$ [NC]
RewriteRule ^(.*)$ https://example.com/$1 [L,R=301]

Nginx web servers (nginx.conf)

Add a dedicated server block to redirect all incoming traffic:

server {
    listen 80;
    listen 443 ssl;
    server_name olddomain.com www.olddomain.com;
    return 301 https://example.com$request_uri;
}

Server-level redirects process in milliseconds, preserve custom query parameters, and allow you to manage your own SSL certificates seamlessly.

Method 3: DNS-based approaches and their limits

Many beginners attempt to redirect a domain by creating a simple CNAME record pointing to their new site. As discussed in our analysis of buying domain and hosting from the same provider, DNS records only map names to physical server locations. They do not issue HTTP instructions.

When you point an A or CNAME record to another website's server, the browser connects to that server and requests the old domain name. If the receiving server has not been configured to recognize and host that incoming domain, it will reject the request or display an "Unknown Virtual Host" error page. DNS alone cannot redirect a visitor: an active web server must handle the connection.

HTTPS pitfalls: why forwarding breaks on SSL

The single most common headache with domain forwarding involves SSL encryption certificates. When a user navigates to https://olddomain.com, their browser initiates a cryptographic TLS handshake before reading any redirect code.

If your registrar's forwarding server only supports plain HTTP, the browser detects an invalid or mismatched certificate and throws an intimidating security error warning that the site is unsafe.

To prevent this issue, ensure that your forwarding provider provides automatic SSL certificates on forwarded domains (such as Cloudflare Redirect Rules). You can also run our free SSL Checker Tool to verify that your certificates are valid and working on both domains.

How to test that your redirect works correctly

After setting up your redirect, do not simply click your bookmark once. Perform a thorough check:

  • Test all four URL variations: Verify that http://olddomain.com, https://olddomain.com, http://www.olddomain.com, and https://www.olddomain.com all route cleanly to the destination.
  • Inspect the HTTP status code: Use your browser developer tools or run curl -IL https://olddomain.com in your terminal to confirm the server returns an authentic 301 status code rather than a 302 code or an iframe.
  • Test in private browsing: Browsers store 301 redirects in local memory. Always test changes in an incognito window to ensure you see real-time server responses.

Frequently asked questions & conclusion

Does domain forwarding cost extra money?

Most domain registrars provide standard domain forwarding free of charge. However, some charge a small fee if you need automated SSL certificates on your forwarded domains.

What is masked forwarding and should I use it?

Masked forwarding loads the destination website inside a full-page HTML iframe, keeping the old domain name in the address bar. You should avoid it completely. Masking degrades search engine rankings, breaks mobile responsiveness, and prevents bookmarking.

How long does a 301 redirect take to transfer SEO ranking?

Search engines usually recognize a 301 redirect within a few days, but full transfer of backlink equity and search ranking signals can take several weeks to a few months during larger site migrations.

Forwarding a domain is an essential skill for protecting your digital brand and consolidating website traffic. By implementing standard 301 permanent redirects, avoiding masked frames, and verifying SSL certificates on all forwarded addresses, you can unify your domains and provide a frictionless experience for every visitor.

Put this guide to work

Check a domain before you commit.

Free availability, WHOIS, DNS, SSL, subdomain, and email checks in one place.

Check availability