Wiki

Web Redirect Record

The Web Redirect (WR) record allows you to redirect the requests for http://yourdomain.com to http://anotherdomain.com.

The WR record has the following look in your ClouDNS Control Panel:

Host: Type: Points to: TTL
yourdomain.com WR http://anotherdomain.com 1 Hour

How to add it?

Go to your Control Panel and click on “Add new record”. Type, as follow:
Type: Web Redirect
TTL: 1 Hour
Host:
Points to: http://anotherdomain.com

You can choose to redirect with frame (not available for Free Customers) and/or to save the request path for example - if your user request domain.com/path, "/path" will be saved on redirect).

You can use these variables for your record:

{*host*} = The current host (ex. www.tokospa.com)
{*domain*} = The current domain (tokospa.com)
{*subdomain*} = The value of the field Host (ex. your-name)

Example 1:
Host: www
Points to: http://{*domain*}/?ref={*host*}
What will happen?
When a user goes to http://www.tokospa.com he will be redirected to http://tokospa.com/?ref=www.tokospa.com

Example 2:
Host: ref-id-123
Points to: http://some-referal-site.net/?ref={*host*}
What will happen?
When a user goes to http://ref-id-123.tokospa.com he will be redirected to http://some-referal-site.net/?ref=ref-id-123.tokospa.com

Example 3:
Host: your-name
Points to: http://some-referal-site.net/?ref={*subdomain*}
What will happen?
When a user goes to http://your-name.tokospa.com he will be redirected to http://some-referal-site.net/?ref=your-name

NOTE! You can't have A, AAAA, CNAME or ALIAS records and WR record at the same time for the same host.

Cookies help us deliver our services. By using our services, you agree to our use of cookies. Learn more