To forward a domain name to another website, sign in to the registrar or host that manages the domain, open its domain forwarding (or Redirects) setting, enter the full destination URL, choose a permanent 301 redirect for a lasting move or a temporary 302 for a short-term one, and save. Registrars such as Namecheap say the redirect usually starts working within about 30 minutes.
Key Takeaways
- Domain forwarding sends everyone who types one domain to a different URL; it is set up at the registrar, in the hosting control panel (cPanel Redirects), or in the web server configuration.
- Use a 301 (or 308) permanent redirect when a domain has moved for good; Google treats the target of a permanent redirect as the canonical page.
- Use a 302 or 307 temporary redirect only for short-term moves, because search engines keep the original URL.
- URL masking (stealth forwarding) shows the destination site inside a frame, and many sites block framing, so masking often fails and is weak for SEO.
- Keep redirects live for as long as possible; Google recommends at least one year after a site move.
Forward Domain Name to a different Website
You may have noticed that some domain names send visitors straight to a different website. This is called domain forwarding (or domain redirection), and it can be set up from the control panel of the registrar or web host that manages the domain. When this guide was first written, the author’s domain and hosting provider suggested protecting the Justwebworld brand by also registering justwebworld.net, so the author bought that domain and pointed it at the main .com site. This guide explains how to redirect or forward one domain to another website.
How to Forward a Domain Name to a Different Website
Forwarding a domain to a different website takes only a few minutes in the registrar’s control panel. The steps below show the process at the registrar used for this example, Bigrock. The menu names differ from one registrar to another, but the process is very similar at most providers, including Namecheap, Porkbun and GoDaddy.
1 > Sign in to the account at your domain registrar (the company where the domain is registered).
2 > Open the domain’s management page, find the Domain Forwarding option and click it to enable the service.
3 > A dialog box similar to the one below opens.
4 > Enter the destination URL, meaning the full address of the website you want the domain to forward to, and save. In the original example the author forwarded the .net domain to the .com site (as of September 2026 the example domain below no longer resolves): Justwebworld.net
The domain forwarding dialog box also offers three optional settings:
URL Masking / URL Hiding / Stealth Redirection :- Enabling URL masking keeps the original (source) domain in the visitor’s address bar instead of the destination URL. Masking works by loading the destination site inside a frame, so it fails on sites that block framing (see below).
Sub Domain Forwarding :- Enabling subdomain forwarding sends a request made to http://subdomain.justwebworld.net to http://yourdestinationurl/subdomain/
Path Forwarding :- Enabling path forwarding sends requests made to http://justwebworld.net/some/path to http://yourdestinationurl/some/path, so deep links keep working.
In short, the Forward Domain Name option in your registrar’s or web host’s control panel is the quickest way to send one domain to a different website. The sections below cover redirect types, cPanel and server-level methods, and the SEO settings to check. If you have a question, leave a comment below.
The video below walks through how to redirect or forward a domain name to a different website.
What Is Domain Forwarding?
Domain forwarding (also called domain redirection or URL forwarding) is a setting that automatically sends visitors who type or click one domain name to a different web address. The forwarded domain does not need its own website or hosting plan; the registrar or web server answers the request with an HTTP redirect that points the browser to the destination URL.
Common reasons to forward a domain include:
- Protecting a brand by registering other extensions (.net, .org, a country code) and pointing them at the main site.
- Moving a website to a new domain after a rebrand.
- Catching common misspellings of a domain name.
- Using a short, memorable domain for a campaign that points to a longer URL.
If you are still choosing names, the domain name generator and this guide to what to consider during a domain name search can help before you register extra domains to forward.
301 vs 302: Which Redirect Type Should You Choose?
The redirect type tells browsers and search engines whether a move is permanent or temporary. According to Google Search Central’s redirects documentation, Google uses a permanent redirect as a signal that the target should be the canonical URL, while a temporary redirect does not carry that signal.
| Redirect type | HTTP code | What it means | When to use it |
|---|---|---|---|
| Permanent | 301 or 308 | The content has moved for good; Google treats the target as canonical. | Rebrands, domain moves, extra brand domains pointing to the main site. |
| Temporary | 302, 303 or 307 | The move is short-term; Google keeps the original URL in results. | Maintenance pages, short promotions, testing. |
| Masked (stealth) forwarding | No redirect code; a frame | The original domain stays in the address bar while the destination loads inside a frame. | Rarely advisable; often blocked by the destination site. |
| Meta refresh | None (HTML tag) | Google treats an instant meta refresh as permanent and a delayed one as temporary. | Only when server-side redirects are not possible. |
Defaults differ by provider, so check the setting before saving. Porkbun’s knowledge base, for example, lists a temporary redirect as its default and places the 301 permanent option under advanced settings. On Apache servers, a Redirect directive with no status keyword also defaults to a temporary 302, according to the Apache HTTP Server documentation.
How to Redirect a Domain in cPanel
If the domain is added to a hosting account that uses cPanel, the Redirects tool (under the Domains section) can forward it. According to cPanel’s documentation, the process is:
- Choose the type: Permanent (301) or Temporary (302).
- Select the domain to redirect (or all public domains) and, if needed, a path in the “/” box.
- Enter the destination in the “Redirects to” box. The URL must include a protocol such as http:// or https://.
- Pick a www. option: Only redirect with www., Redirect with or without www., or Do Not Redirect www.
- Optionally tick Wildcard Redirect, which sends every file in a directory to the same file name at the new location (for example, /pic.jpg on the old domain goes to /pic.jpg on the new one).
- Click Add.
cPanel writes these rules to the bottom of the site’s .htaccess file, and its documentation warns that rules placed there can conflict with applications, such as content management systems, that manage their own sections of that file. New to hosting terms? See what web hosting is.
How to Redirect a Domain With .htaccess on Apache
On an Apache web server you can add a redirect yourself with the Redirect directive from mod_alias. The Apache documentation gives the syntax as the word Redirect, an optional status, an optional URL-path, and then the target URL. For a permanent redirect of the whole site, a line such as Redirect permanent / https://www.example.com/ sends every request to the new domain, and the Apache documentation notes that any extra path after the matched part is added to the target URL, so /about goes to /about on the new site. The status keywords are permanent (301), temp (302, the default), seeother (303) and gone (410).
Why URL Masking Often Does Not Work
URL masking loads the destination website inside a frame, as Namecheap’s knowledge base describes for its masked redirect. Many websites send the X-Frame-Options header (DENY or SAMEORIGIN) or a Content Security Policy frame-ancestors rule, which MDN Web Docs describes as the way sites stop their pages from being embedded by other sites to prevent clickjacking. When the destination blocks framing, a masked domain shows a blank or error page.
Masking has other drawbacks: the address bar never changes as visitors move between pages, bookmarks point to the masked domain, and search engines do not receive a redirect signal. For most sites a plain 301 redirect is the better choice.
Domain Forwarding and SEO: What to Check
- Use a permanent redirect for permanent moves. Google Search Central recommends server-side permanent redirects (301 or 308) when moving a site.
- Keep the redirect running. Google advises keeping redirects for as long as possible, generally at least one year, and suggests keeping them indefinitely for users. That means renewing the old domain too; if its registration lapses, the redirect stops.
- Tell Google about a full domain move. Search Console’s Change of Address tool works only at domain level, requires you to own both properties and have 301 redirects in place, and forwards signals for 180 days, according to Google’s help page.
- Forward paths, not just the home page. Enable path forwarding (or a wildcard redirect) so old deep links land on the matching page instead of the home page.
- Cover every variant. Make sure both www and non-www versions, and http and https, redirect. A certificate is needed for the https version of the old domain to load without a warning; see this guide to choosing the right SSL certificate.
Common Domain Forwarding Mistakes
- Conflicting DNS records. Porkbun’s knowledge base notes that forwarding can fail if records from an external host or default DNS records are still present; remove the conflicting records first.
- Using third-party nameservers. Registrar forwarding generally needs the registrar’s own DNS; Namecheap, for example, supports its redirect records on its BasicDNS, PremiumDNS and FreeDNS services only.
- Choosing a temporary redirect for a permanent move, which keeps the old URL in search results.
- Letting the forwarded domain expire, which breaks every link that pointed to it.
- Leaving DNS unprotected. Forwarding depends on DNS answering correctly; read about major DNS attack types and how to mitigate them.
Frequently Asked Questions
How long does domain forwarding take to work?
Domain forwarding usually starts working within minutes to an hour. Porkbun says its URL forwarding activates within 10-15 minutes, and Namecheap says a redirect usually takes around 30 minutes. Changes to nameservers can take longer.
Is domain forwarding bad for SEO?
Domain forwarding is not bad for SEO when it uses a permanent 301 or 308 redirect, because Google treats the destination as the canonical page. Masked forwarding and temporary redirects are weaker choices for a permanent move.
What is the difference between domain forwarding and URL masking?
Standard domain forwarding changes the address bar to the destination URL. URL masking keeps the original domain in the address bar by loading the destination inside a frame, which many sites block with the X-Frame-Options header.
Do I need web hosting to forward a domain?
No. Most registrars, including Namecheap and Porkbun, offer forwarding from the domain management panel without a hosting plan, as long as the domain uses the registrar’s DNS. Hosting is needed only if you redirect through cPanel or a web server.
How long should I keep a redirect from an old domain?
Google recommends keeping redirects for as long as possible, generally at least one year, and suggests keeping them indefinitely for visitors. Keep renewing the old domain for as long as the redirect should work.



4 Comments
I don’t my domain is not forwarding to destination domain. I am just new so i don’t know whats the problem. And what is CNAME record !? If u can help me that would just appreciate me! Thanks in advance?!
Nice Article Aman 🙂
Thanks Ankit for take your time for reading my article…
Hello Harshil,
Domain forwarding is helpful in some cases like forwarding old domain to new domain or forwarding all similar domains to a brand domain.
We can also forward our domain names for high pagerank sites to get High PR for our domain names. It’s really amazing, right? 😉
Okay and if I talk about your tutorial then hats off to you man.. It’s simply awesome especially the video tutorial. It is so easy to understand and I learned the same from your video. Thanks buddy! 🙂
Best Regards!
Ankit