Forwarding a domain name to another website
Sometimes you want a domain name to automatically forward to another website. Maybe you have an old domain that you want to point to your new site, or you use a short domain for a marketing campaign. This is called domain forwarding. Read more about registering a cheap domain name.
When do you use domain forwarding?
- Rebranding: your old company name points to your new domain
- Catching typos: example.nl and exampel.nl to the same site
- Marketing: short campaign URLs (promo.nl to example.nl/summer-promo)
- Multiple extensions: .com and .eu point to your .nl
- Parking a domain: keep a domain and forward it until you use it
301 vs 302 redirect
There are two types of redirect. The difference is important for SEO:
| Type | Meaning | Use for |
|---|---|---|
| 301 | Moved permanently | A definitive move, rebranding |
| 302 | Moved temporarily | Temporary campaigns, maintenance |
301 redirect: Google transfers the SEO value from the old domain to the new one. Use this for permanent situations. Read more about the .io domain name.
302 redirect: Google keeps the old domain in the index. Only use this for temporary situations.
Setting up a redirect
Option 1: through your domain registrar (DNS)
Most domain registrars offer "URL forwarding" or "Domain redirect":
- Log in to your domain management
- Look for "Forwarding", "Redirect" or "Forward"
- Enter the target URL
- Choose 301 (permanent) or 302 (temporary)
- Save
With Theory7 you can set up forwarding directly in your domain management.
Option 2: through your web hosting (.htaccess)
If your domain is already on hosting, you can set up redirects through .htaccess:
# Redirect the whole domain to another site
Redirect 301 / https://www.newdomain.nl/
# Redirect a specific page
Redirect 301 /old-page https://www.newdomain.nl/new-page
Option 3: through Cloudflare
Do you use Cloudflare? Then you can use Page Rules for redirects, even without hosting.
Forwarding with or without a path
Some forwarding options offer "path forwarding":
- Without a path: olddomain.nl/page to newdomain.nl (always to the homepage)
- With a path: olddomain.nl/page to newdomain.nl/page (the path is preserved)
For SEO "with a path" is often better, as visitors and search engines land on the right page.
URL masking: do not do it
Some services offer "URL masking" or "cloaking": the visitor sees the old domain in the address bar while the content of the new domain is shown. This works through an iframe.
Why you should not do this:
- Bad for SEO (duplicate content)
- Problems with HTTPS
- Does not work well with modern websites
- Confusing for visitors
Always use a real 301 redirect instead of masking.
Frequently asked questions
How long does it take before a redirect works?
Through DNS it can take up to 24 hours. Through .htaccess it works immediately.
Can I remove a redirect again?
Yes, but browsers cache 301 redirects. Visitors who have already seen the redirect may continue to be forwarded until their cache expires.
Do I need hosting for a redirect?
Not necessarily. Many domain registrars offer forwarding without hosting. For more advanced options (with a path, specific pages) you do need hosting or Cloudflare.
Does my old domain keep its SEO value?
With a 301 redirect Google transfers the value to the new domain. The old domain disappears from the search results over time.
Forwarding a domain at Theory7
Setting up a redirect
There are several ways to forward a domain:
Through your registrar
Many registrars offer URL forwarding in their dashboard:
- Log in to your registrar
- Go to DNS or Forwarding
- Choose URL forward or Redirect
- Enter the destination address
- Choose the type of redirect (301 or 302)
Through hosting with .htaccess
If your domain points to a hosting plan, you can set up redirects through .htaccess:
RewriteEngine On RewriteRule ^(.*)$ https://newsite.nl/$1 [R=301,L]
This forwards all traffic to the new site while preserving the paths.
301 vs 302 redirects
The type of redirect is important:
- 301 (permanent): tells search engines that the move is definitive. Link value is transferred. Use this for permanent redirects.
- 302 (temporary): the original URL stays indexed. Link value is not transferred. Only use this for temporary situations.
When in doubt: use 301. A permanent redirect is almost always what you want.
Common forwarding scenarios
An old domain name to a new one
You have rebranded or bought a better domain. Forward your old domain to the new one so that visitors and link value are preserved. Keep the old domain name registered for at least a year.
Multiple domains to one site
You have yoursite.nl, yoursite.com and your-site.nl all registered. Forward them all to your primary domain. This prevents duplicate content and bundles all your traffic.
With or without www
Choose whether you want site.nl or www.site.nl as your primary address. Forward the other variant. This is important for SEO, as consistency prevents duplicate content problems.
HTTP to HTTPS
After activating SSL you want to forward all HTTP traffic to HTTPS. Technically this is also a redirect and it ensures that visitors always see the secure version.
Problems with redirects
Redirect loops
A redirect loop occurs when A points to B and B points back to A. The browser then shows a "too many redirects" error. Check your rules carefully and test after every change.
Redirect chains
A points to B, B points to C. This slows down loading and can lose link value. Always forward directly to the final destination without intermediate stops.
Best practices for redirects
- Always use 301 redirects for permanent redirects
- Avoid redirect chains (A to B to C)
- Test redirects after setting them up
- Keep old domains registered for at least a year after forwarding
- Update internal links to the new address where possible
- Inform Google about the move through Search Console
Correctly configured redirects ensure that visitors and search engines reach your content without problems, regardless of which address they use. Take the time to do it right.
Domain redirects are essential for a good online strategy. Whether you send multiple domains to one website, redirect old URLs or manage region-specific domains, the right redirect ensures that visitors always land in the right place. Test your redirects regularly and check that they still work as intended. A broken redirect means lost visitors.
Redirects are essential for a good user experience. Make sure visitors always end up on the right page.
Good redirects are invisible to the user but crucial for the experience. Take the time to set them up correctly.
Do you have a domain at Theory7? Setting up forwarding is possible directly through your domain management. No domain yet? You can register one from €2.49/year.
Domain forwarding: scenarios and solutions
There are many situations in which you want to set up domain forwarding. Below are the most common scenarios with the right solution.
| Scenario | Type of redirect | Recommended | SEO impact |
|---|---|---|---|
| Website permanently moved | 301 (permanent) | Yes | Positive - link value is preserved |
| Temporary redirect (maintenance) | 302 (temporary) | Yes | Neutral |
| Old domain to new | 301 (permanent) | Yes | Positive |
| www to non-www (or the reverse) | 301 (permanent) | Yes | Positive - prevents duplicates |
| HTTP to HTTPS | 301 (permanent) | Yes | Positive |
| URL masking/cloaking | Frame redirect | No | Negative |
Technical: setting up domain forwarding
You can set up domain forwarding in various technical ways. The method depends on your access and technical knowledge:
- Through your registrar: most domain registrars offer a forwarding option in their control panel. This is the simplest method.
- Through .htaccess: on Apache servers you can set up redirects with RewriteRule rules in the .htaccess file.
- Through DNS (ALIAS/ANAME): some DNS providers support ALIAS records with which you can forward a root domain.
- Through server config: in Nginx you configure redirects with a
return 301directive in the server block.
Do you manage your domain name at Theory7? Then you can easily set up redirects through DirectAdmin.
Frequently asked questions about domain forwarding
Do I lose SEO value when forwarding my domain?
With a 301 redirect most of the link value (90-99%) is passed on to the new URL. This is the recommended method for permanent redirects. A 302 redirect does not pass on any link value.
Can I forward a domain name to a specific page?
Yes, you can forward a domain to any URL, including specific pages, subdirectories or even external websites.
How long should I keep a 301 redirect active?
Google advises keeping 301 redirects active for at least 1 year. In practice it is wise to leave them in place permanently as long as you own the old domain. Over time Google fully processes the redirect.
Domain forwarding through .htaccess
A commonly used way to set up domain forwarding is through the .htaccess file on an Apache web server. These are the most common configurations:
Forward an entire domain to a new domain
Use the following code in your .htaccess file to forward all pages from the old domain to the new domain while preserving the path:
RewriteEngine On- activates the rewrite engineRewriteCond %{HTTP_HOST} ^olddomain\.nl- checks the incoming domainRewriteRule ^(.*)$ https://newdomain.nl/$1 [R=301,L]- forwards with a 301
Check your redirects
After setting up redirects it is important to check that they work correctly. Use an HTTP header checker tool for this. Check that:
- The status code 301 (permanent) or 302 (temporary) is correct
- The destination URL is right
- No redirect loops occur (A points to B, B points to A)
- All variants are caught (with and without www, HTTP and HTTPS)
Do you manage your domain names at Theory7? Then you can also set up redirects through the DirectAdmin panel without .htaccess knowledge.
Domain forwarding: summary and recommendations
Correctly setting up domain forwarding is essential for your online visibility. Always use a 301 redirect for permanent redirects to transfer maximum SEO value. Test your redirects regularly with an HTTP status checker. Avoid redirect chains (more than two consecutive redirects) because these slow down your loading time and lose SEO value. Keep an overview of all your active redirects, and periodically clean up outdated redirects. With this approach you ensure that visitors and search engines always end up in the right place. Also see our domain name page for more information about domain name management and configuration at Theory7.
Domain forwarding: advanced techniques
In addition to simple redirects there are advanced techniques for domain forwarding that offer more control over how visitors are guided.
Path-specific redirects
Instead of forwarding the whole domain, you can forward specific paths to different destinations. For example: yourdomain.nl/shop points to your online store on another platform, while yourdomain.nl/blog goes to your blog. This is particularly useful if you host different services on different platforms but want to present everything under one domain. Configure these redirects through DNS records or your .htaccess file.
Forwarding with URL masking
With a standard redirect the URL in the browser changes to the destination address. With URL masking (also called cloaking or framing) the original domain stays visible in the address bar, while the content of the destination domain is shown. Note: URL masking is discouraged for SEO purposes because search engines index the actual source URL. Only use it in specific cases where the user experience takes priority over SEO.
Comparison of forwarding methods
| Method | URL in browser | SEO impact | Set up through | Suitable for |
|---|---|---|---|---|
| 301 redirect | Changes to destination | Positive (transfers value) | DNS or htaccess | Permanent move |
| 302 redirect | Changes to destination | Neutral | DNS or htaccess | Temporary redirect |
| URL masking | Stays original | Negative | DNS (frame) | Specific cases |
| CNAME | Does not change | Neutral | DNS | Subdomains |
Domain forwarding: SEO considerations
Correctly setting up your domain forwarding is crucial for preserving your SEO value and preventing problems with duplicate content.
Setting a canonical URL
If you own multiple domains that point to the same website, you have to set a canonical URL. This tells search engines which domain is the primary version. Without a canonical tag Google may consider your website duplicate content, which negatively affects your rankings. Set the canonical URL through the HTML header of your pages and through 301 redirects from your secondary domains to your primary domain.
Preserving value during a domain change
If you switch domains, it is essential to forward all old URLs through 301 redirects to the corresponding new URLs. Do not forward everything to the homepage, because then you lose the specific page authority. Set up individual redirects for your most important pages. After the change, monitor your search positions and traffic in Google Search Console. Read more about linking a domain name to hosting for the technical configuration.
Domain forwarding: frequently asked questions and tips
When it comes to domain forwarding, many of the same questions come up. Below we answer the most frequently asked questions with practical tips.
When do I use a 301 versus a 302 redirect?
A 301 redirect is a permanent redirect that tells search engines that the page has definitively moved. Use this if you want to forward a domain permanently to another address. A 302 redirect is temporary and tells search engines that the original URL is still relevant. Use this for temporary redirects, for example during maintenance or A/B tests. In most cases a 301 redirect is the right choice because it transfers SEO value.
Can I set up a redirect without hosting?
Yes, many domain registrars offer a basic forwarding service that works without a hosting plan. You can set up a DNS forward with your registrar that automatically forwards the domain to any address you want. This service is usually included for free with your domain registration. The redirect is less flexible than a server-side redirect through htaccess but is sufficient for simple purposes.
Frequently asked questions about forwarding
- Does forwarding affect my SEO? A 301 redirect transfers about 90 to 99 percent of the link value. It is the recommended method for domain changes. A 302 redirect does not transfer link value.
- How long does a redirect stay valid? A redirect stays active as long as the configuration is on the server or with the registrar. There is no expiry date for redirects.
- Can I forward specific pages? Yes, with server-side redirects you can forward individual pages to specific destination URLs. This is the recommended approach for a site migration.
- Does forwarding also work for email? No, domain forwarding concerns only web traffic. For email you have to set up separate MX records or configure email forwarding.
Domain forwarding: summary and the best choice
With the right forwarding technique you ensure that all your domains guide visitors to the right destination. Here we summarize the recommendations for optimal domain forwarding.
The best method per situation
For a permanent domain change you use a 301 redirect that transfers SEO value to the new address. For forwarding additional domains to your main domain you set up 301 redirects per domain with your registrar or through the htaccess file. For subdomains that point to external services you use CNAME records in your DNS configuration. For temporary redirects during maintenance you use a 302 redirect that tells search engines the original address is still valid.
Checking after setting up redirects
After setting up your redirects you carry out a thorough check. Test each redirect by typing the source URL into your browser and verifying that you end up at the right destination. Use an online redirect checker to check that the type of redirect is set correctly as 301 or 302. Verify in Google Search Console that there are no crawl errors related to your redirects. Monitor your search positions in the weeks after setting up the redirects to verify that no negative SEO impact has occurred.
Domain forwarding: frequently asked questions
Domain forwarding raises questions for many users. A frequently asked question is the difference between a 301 and a 302 redirect. A 301 redirect is permanent and transfers the SEO value to the new address. A 302 redirect is temporary and keeps the SEO value at the original address. Always use a 301 redirect for permanent redirects. Another frequently asked question concerns propagation time. DNS changes for redirects can take up to 48 hours to be applied worldwide, although most changes are visible within a few hours.
Monitoring after forwarding
After setting up a domain forward, monitoring is essential to guarantee that everything functions correctly. Use tools such as Google Search Console to verify that the redirect is recognized and indexed by search engines. Check regularly that the redirect is still active and points to the right address. Monitor the traffic through your analytics tool to confirm that visitors are actually being forwarded and are not receiving error messages.