How to redirect a domain to another domain or url?

How to redirect a domain to another domain or url?

Mar 21, 2019 nginx redirect redirect web redirect dns zone Http 301 http redirect dns table faq domain dns

You can easily redirect your domain to another domain or url if you are using NameOcean DNS.

Step 1

Go to DNS section of NameOcean Dashboard. Click "Manage DNS Zone" then select HTTP Redirect tab.


Step 2

To redirect your base domain name like "example.com" write "@" as hostname as seen on the image. You can also redirect subdomains like "www.example.com" by writing only "www".

Write hostname, target url and select the option if you want to keep request path as is while redirecting. For example if anyone requests "http://example.com/product/14/?color=red", will be redirected to "https://www.any_target_url.com/product/14/?color=red"

Click save to add Http Redirect. You may add Http Redirects for each subdomain.

Read in other languages:

UZ ZH-HANS DA DE ES FR IT HU NL NB PL PT RO FI SV CS EL BG RU TR