How do I set up a URL redirect for a domain?

You can set up a URL redirect to forward your domain (e.g., http://yourdomain.tld) or subdomain (e.g., http://subdomain.yourdomain.tld) to any destination page of your choice. Usually, when you set up a URL redirect for a domain, it takes 30 minutes to take effect.

It is possible to set up a URL redirect from Namecheap's side for domains that are using our BasicDNS, BackupDNS, PremiumDNS or FreeDNS.

Visit this page to check all available redirect types.

To set up a URL redirect, follow these steps:

1. Sign into your Namecheap account (The Sign In option is available in the top hat of the page).

2. Select Domain List from the left side menu and click the Manage button next to your domain:

3. Navigate to the Advanced DNS tab at the top of the page:

4. Find the Host Records section and click the Add New Record button. Click if you're not able to edit Host Records.

5. Select URL Redirect Record from the drop-down menu for Type, put @ (your bare domain, e.g., yourdomain.tld) for Host and enter the URL you would like to redirect to into the Value line:

6. Click on the Save All Changes button.

To redirect www.yourdomain.tld or any subdomain such as blog.yourdomain.tld to a URL, enter www or blog for Host accordingly:

7. After the setup, you might also want to check for conflicting records for the same Host and remove them, if there are any.

The records you need to check may be of Unmasked/Masked/Permanent URL Redirect Record, A Record or CNAME Record types.

Here is an example of conflicting records:

Redirect a domain/subdomain to a specific page on a website and pass values via query strings (for domains pointed to our BasicDNS):

You can also use URL Redirect to forward users to a specific page at the destination URL and pass values via query strings to the destination. It is important to note that the value in the Destination URL affects where and how the URL is redirected.

Host name

Destination URL

Redirect type
www1 Unmasked / Masked or Permanent (301)
www2 Unmasked / Masked or Permanent (301)
www3 Unmasked / Masked or Permanent (301)
www4 Unmasked / Masked or Permanent (301)

In the first case, will not pass values to the destination URL, so www1.yourdomain.tld/xyz.html will redirect users to only.

In the second case, www2.yourdomain.tld/xyz.html will redirect users to (pay attention to the / in the configuration).

In the third case, www3 combines query string values (if any) and passes them to the destination URL. For example: www3.yourdomain.tld/something?a=b will redirect users to

In the fourth case, www4.yourdomain.tld/example?a=b will redirect users to

That's it!

If you have any questions, feel free to contact our Support Team.


We welcome your comments, questions, corrections and additional information relating to this article. Your comments may take some time to appear. Please be aware that off-topic comments will be deleted.

If you need specific help with your account, feel free to contact our Support Team. Thank you.

Need help? We're always here for you.

× Close