XiaTools

Namecheap Domain Redirect Configuration Tutorial

By Rohit, founder of XiaTools · Updated 15 Oct 2026

Setting up a domain redirect on Namecheap allows you to forward traffic from one domain or subdomain to another destination URL seamlessly. Whether you are rebranding, consolidating multiple landing pages, or moving your primary traffic to a new website, proper redirection ensures visitors and search engine crawlers reach the correct destination. Before making major DNS modifications, it is always a best practice to verify your live routing behavior using the Redirect Checker on XiaTools to immediately spot HTTPS errors, endless loops, or incorrect HTTP status codes.

Understanding Namecheap Redirect Options

Namecheap offers a few different ways to forward traffic depending on your architecture and whether you are redirecting a root domain or a specific subdomain. Understanding how these features interact with DNS settings prevents common configuration errors.

Permanent vs. Temporary Redirects

When configuring a forwarding rule, you must choose between a permanent and a temporary status code:

  • 301 Moved Permanently: Tells web browsers and search engine bots that the page has moved indefinitely. Search engines transfer ranking power (SEO juice) from the old URL to the new destination.
  • 302 Found (Temporary): Tells crawlers that the move is temporary, instructing them to keep indexing the original URL while sending current visitors to the new destination.

Masked vs. Unmasked Redirects

Namecheap also supports masked forwarding for basic redirects:

  • Unmasked (Standard): The browser loads the destination URL and the address bar updates to show the new, final URL.
  • Masked (Frame-based): The target website is loaded inside an invisible HTML frame, so the original domain name remains visible in the browser's address bar. Masked redirects break modern responsive design, hinder deep linking, and cause security warnings on HTTPS sites, so they should generally be avoided.

Step-by-Step Namecheap Domain Redirect Setup

Follow these exact menu paths within your account dashboard to configure your redirects. Keep in mind that specific labels on the Namecheap interface may vary slightly over time.

Step 1: Access Domain List

  1. Log into your Namecheap account dashboard.
  2. Click on Domain List in the left-hand sidebar.
  3. Locate the domain you want to redirect (e.g., example.com) and click the Manage button next to it.

Step 2: Navigate to Domain Redirect Settings

  1. Scroll down to the Domain tab or the Redirect Domain section.
  2. Look for the Redirect Domain setting block.
  3. Click the Add Redirect button.

Step 3: Configure Destination URL and Settings

  1. In the Source URL field, choose whether you are redirecting the root domain (example.com) or adding a specific subdomain like www or shop.
  2. In the Destination URL field, enter the full target URL including the protocol, such as https://www.example.com or https://newbrand.com.
  3. Select the redirect type from the dropdown menu:
    • Choose Permanent (301) for standard permanent moves.
    • Choose Temporary (302) for short-term testing.
  4. Leave Masked disabled unless you have a specific legacy requirement that demands it.
  5. Check the box to automatically update associated DNS records (such as adding necessary A or CNAME records) if prompted.
  6. Click the green checkmark or Save Changes button.
Redirect Type SEO Value Passed Address Bar URL Best Use Case
301 Permanent Yes (Full) Updates to target Domain rebranding or permanent site migration
302 Temporary No Updates to target Maintenance, seasonal campaigns, or testing
Masked (Frame) No Stays on source Hiding a destination URL (Not recommended)

Configuring Advanced Redirects via DNS and CNAME

If you prefer managing your redirects via standard DNS records rather than the built-in Namecheap forwarder, you can point your root domain to a redirection service or use CNAME records for subdomains.

Pointing Root Domains with CNAME Flattening

Standard DNS specifications do not allow CNAME records on root domains (apex domains). However, Namecheap provides CNAME-like behavior or URL redirect features for root zones. To point example.com to an external host, you typically use Namecheap's default URL Redirect Record at the root level.

  1. Navigate to your domain's Advanced DNS tab.
  2. Delete any conflicting A or ALIAS records for @.
  3. Add a URL Redirect Record pointing @ to https://www.example.com.

Subdomain Redirects via CNAME

For subdomains like blog.example.com, you can create standard CNAME records if you are hosting the target on a third-party platform:

Type: CNAME Record
Host: blog
Value: target.hostingprovider.com.
TTL: Automatic

Verifying Your Setup and Troubleshooting

Once saved, DNS changes and redirect rules require time to propagate globally. This can take anywhere from a few minutes up to 24 hours.

Using Command Line Tools

You can inspect HTTP headers directly from your terminal using curl to verify that your 301 or 302 status codes are returning properly:

curl -I https://example.com

Sample expected output for a correct permanent redirect:

HTTP/1.1 301 Moved Permanently
Date: Wed, 10 Oct 2023 14:00:00 GMT
Location: https://www.example.com/
Content-Type: text/html

Common Mistakes and How to Fix Them

  • Too Many Redirects Error: This occurs when a circular loop is created (e.g., Domain A redirects to Domain B, and Domain B redirects back to Domain A). Double-check your destination URLs.
  • Mixed Content / SSL Certificate Warnings: If you redirect an HTTPS domain to an HTTP destination, browsers flag the connection as insecure. Always ensure your destination URL starts with https:// and has a valid SSL certificate installed.
  • Conflicting DNS Records: Having active A records pointing to IP addresses like 192.0.2.1 while simultaneously trying to run a Namecheap URL redirect can cause inconsistent behavior. Clean up old A and AAAA records when enabling root redirects.

Quick Checklist for Namecheap Redirects

  • Logged into Namecheap and opened Domain List > Manage.
  • Selected correct source root or subdomain.
  • Entered destination URL with https:// protocol.
  • Selected 301 Permanent for SEO-friendly moves.
  • Tested live resolution and HTTP status codes using verification tools.

Frequently asked questions

How long does it take for a Namecheap redirect to start working?

Basic Namecheap URL redirects usually activate within 10 to 30 minutes. However, if you modified underlying DNS records like A or CNAME entries, global DNS propagation can take anywhere from 2 to 24 hours depending on your internet service provider and local caching.

Should I use a 301 or 302 redirect for my website?

You should use a 301 Permanent redirect if you are permanently moving your site, changing domains, or consolidating URLs, as it passes search engine ranking power. Use a 302 Temporary redirect only if the forwarding is short-term, such as during site maintenance or promotional campaigns.

Can I redirect a root domain to a www subdomain on Namecheap?

Yes, Namecheap allows you to forward your root domain (example.com) to your www subdomain (www.example.com) using their built-in domain redirect tool or free DNS hosting features. Make sure the destination URL includes the https:// prefix to avoid security warnings.

Why am I getting a 'Too Many Redirects' error after setting up a redirect?

This error happens when a redirection loop is created, such as pointing example.com to www.example.com while simultaneously having a server-level rule that forces www back to the root. Check both your Namecheap redirect settings and your web hosting configuration to break the loop.

Does Namecheap support HTTPS for redirected domains?

Yes, Namecheap provides free SSL certificates for domain forwarding services, ensuring that secure https:// requests do not trigger browser security warnings before reaching the destination URL.

Related articles

Free tools