For those who are awake!
Discount -15%
We use cookies
We use cookies to optimize our website. By continuing to browse the site, you agree to our use of cookies.
New design
Control panel
  • Русский
  • Українська
  • English
  • UAH
  • USD
  • RUB
  • EUR
  • 0-800-307-307 Hotline
  • +38 (044) 392-74-33 Kiev
  • +38 (057) 728-39-00 Kharkiv
  • +38 (056) 794-38-31 Dnipro
  • +38 (032) 229-58-93 Lviv
  • +38 (048) 738-57-70 Odessa
  • +38(093) 170-15-42  Life
  • +38 (067) 400-88-44 Kievstar
  • +1(888)393-24-51  USA, Toll free
  • +44(131)507-01-14  Great Britain
  • +7 (499) 348-28-61 Moscow

3.1.9. Web redirect

Web redirect allows you to organize a redirect to another address without having a site on the hosting.

Important points:

  • Web redirect is only triggered if the request is made over the protocol HTTP, when accessing the domain for which the web redirect is set, using the HTTPS a connection error will occur. If protocol support is required HTTPSthen use this option.
    For example, by setting a web redirect for the domain domain.com on site.ua, the redirect will be triggered as follows:
    • When you go to an address https://(www.)domain.com an error will occur due to the fact that the web redirect does not support HTTPS protocol.
    • When you go to an address http://(www.)domain.com will be redirected to http(s)://site.ua... The target site address can be specified with the protocol HTTPS, since this does not affect the work of the redirect.
  • The domain for which the web redirect is enabled must be served on our NS.
  • The redirect works only for the main domain with www and without www. The rest of the subdomains will work unchanged.
  • When the web redirect is enabled, the specified DNS records of type A and AAAA, for the main domain with www and without www, will be ignored.

To set up a web redirect, do the following:

  1. Open the section "Domains ».
  2. In the domain menu, click "Web redirect»:
  3. Set the radio button next to the desired redirect option:
    • «Do not use Web redirect"- select if the web redirect should be disabled.
    • «Direct redirect"- select if you want the 301st redirect to the specified URL... In this case, the address in the visitor's browser will also change to this URL.
    • «Hidden redirect"- select if you want the address in the visitor's browser not to change when accessing the domain, and the content of the specified URL loaded into a frame that occupies the entire area of the page. When choosing this option, it should be borne in mind that not all sites allow displaying their content in a frame.
  4. Ifa turnon redirect, enter the target address in the field “URL for redirect»:
  5. Click "Save».
  6. Wait approximately 1 hour for the changes to take effect.

If you want the redirect to work not only over HTTP, but also over HTTPS, the web redirect in this case won't fit... If you have the ordered hosting service, you can organize a redirect via HTTPS in one of the ways.

To organize a redirect via HTTPS using a separate site, do the following:
  1. Disable web redirect, if enabled.
  2. Make sure in the section "My sites» added site with the domain name.
  3. Check for the installed SSL certificate... If the certificate is missing, install it.
  4. IN root directory site place the file .htaccess from redirect directives to another site.
To organize an HTTPS redirect using the existing site aliases, do the following:
  1. Disable web redirectif it was enabled.
  2. IN settings an existing site running from our hosting, add to aliases domain name, from which a redirect must be performed, in two versions - with and without www.
  3. Submit a new certificate from Let's Encryptby ticking the added aliases.
  4. IN root directory existing site edit the file .htaccess and add a redirect directive to another site at the beginning. Examples of directives:
    • From one domain to another:
      RewriteEngine On
      RewriteBase /
      RewriteCond %{HTTP_HOST} ^(www.)?fromwhere.com [NC]
      RewriteRule ^(. *) https: //www.goda.com/ [L,R=301]

      Instead fromwhere.com substitute the domain, from which a redirect should be performed (it was added as an alias), and instead of www.куда.com — on which.

    • From multiple domains to one another:
      RewriteEngine On
      RewriteBase /
      RewriteCond %{HTTP_HOST} ^(www.)?(fromwhere1.com|fromwhere2.com) [NC]
      RewriteRule ^(. *) https: // where.com/ [L,R=301]

      Instead fromwhere1.com and fromwhere2.com substitute domains, from which a redirect should be performed (they were added as aliases), and instead of www.куда.com — on which.

    • From several domains to several different ones:
      RewriteEngine On
      RewriteBase /
      RewriteCond %{HTTP_HOST} ^(www.)?fromwhere1.com [NC]
      RewriteRule ^(. *) https: //www. where1.com/ [L,R=301]
      RewriteCond %{HTTP_HOST} ^(www.)?fromwhere2.com [NC]
      RewriteRule ^(. *) https: //www. where2.com/ [L,R=301]

      Instead fromwhereX.com substitute the domain, from which a redirect should be performed (it was added as an alias), and instead of www.thereX.com — on which.