You can easily redirect your domain to another domain or url if you are using NameOcean DNS.
Go to DNS section of NameOcean Dashboard. Click "Manage DNS Zone" then select HTTP Redirect tab.
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.