How do I set up URL redirect for a domain?

You can set up URL redirect to point your domain (e.g. or sub-domain (e.g. to any destination page of your choice (e.g. Normally, when you set up URL redirect for a domain, it will take effect within minutes.

Please note that you can only set up URL redirect for a domain using Namecheap default nameservers.

You can find more details about different redirect types by this link

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

   - Sign in to your Namecheap account;
   - Choose Domain List in the bar on your left

   - Click on Manage option in front of the domain name you wish to set up the URL redirect for

    - Click on Advanced DNS > then click on Add records or Manage buttons in front of Host records option

   - Input the following details in order to create a URL redirect:

Record Type: choose URL Redirect Record from the drop-down menu
Domain to Redirect: choose SubDomain or This Domain from the drop-down menu depending on your needs
URL Look: choose Both http:// and http://www, Only http:// or Only http://www depending on your need
Destination URL: URL where domain should be forwarded
Redirect Type: choose Permanent (301)
Record Name: here you can name the record as you wish

   - Click Save changes

Once done, make sure that this record has been turned on and click Done.

Redirect a domain/subdomain to a website:

1) To redirect a domain without "www" (e.g. to a destination page, enter your Destination URL and choose Only http:// redirection type in URL Look field as shown in the figure below.

2) To redirect (notice www) to a destination page, enter your Destination URL and choose Only http://www redirection type as shown in the figure below.

3) To redirect a sub-domain (e.g. to a destination, you need to enter the sub-domain name, destination URL and select redirection type depending in your need as shown in the figure below.

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

You can also use URL Redirect to forward users to specific pages 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.


IP address/URL

Redirect type
www1 Permanent (301)
www2 Permanent (301)
www3 Permanent (301)
www4 Permanent (301)

In the above case, will not pass values to the destination URL so, will redirect users to only.

On the otherhand, 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: will redirect users to

In the fourth case, will redirect users to

URL redirect record using both Permanent (301) Redirect and Masked (URL Frame) options will work similar according to the explanations provided above, with the only difference that URL Frame will hide the destination address showing the original one that was entered in the browser address bar.

 This is it!

                    Need any help? Contact us via Helpdesk


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