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. Normally, when you set up URL redirect for a domain, it takes 30 minutes to take effect.

It is possible to set up URL redirect for a domain pointed to Namecheap default nameservers.

Here you can check the description of all redirect types available.

In order to set up URL redirect, follow the steps below:

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 on Manage button next to your domain:

3. Click on Add redirect button in Redirect domain section to create new redirect:

4. Once done, enter the source URL and destination URL. Make sure to save the changes by clicking on the tick:

As an alternative, you can create new URL redirect in Advanced DNS menu for a domain. In order to do so, follow these steps:

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

2. Find Host records section and click on Add New Record button (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 a URL you would like to redirect a domain to into the Value line:

4. Click on Save all changes button.

To redirect www.yourdomain.tld or any sumdomain like blog.yourdomain.tld to a destination URL, enter www or blog for Host accordingly:

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

You can also use URL Redirect to forward users to specific page on 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 it 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 make sure, that there are no 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 the 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