How do I set up URL redirect for a domain?

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

You can set up URL redirect for a domain pointed to Namecheap default nameservers. Learn how, here.

Visit this page to learn about all available redirect types.

To set up URL redirect, follow these steps:

1. Sign in to your Namecheap account (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. Click the Add Redirect button in the Redirect Domain section to create a new redirect:

4. Next, enter the source URL and destination URL. Remember to save changes by clicking on the tick icon:

If you try to insert the URL without protocol, the system will return the error message:

As an alternative, you can create a new URL redirect in the Advanced DNS menu for a domain. Follow these steps:

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

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

3. 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:

4. Click the Save All Changes button.

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

Redirect a domain/subdomain to a specific page on a website and pass values via query strings:

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

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 Redirect, A or CNAME record types.

Here is an example of conflicting records:

That's it!

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


We welcome your comments, questions, corrections and additional info 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