How to forward a domain to another domain?
NB: Currently domain forwarding comes with the following caveats:
- Creation of the forwarding is not real time. Please wait up to 24 hours before everything is set up correctly (the DNS change, the forwarding itself and the billing).
- There is no API call yet to activate this service
- Already created forwarders can be updated or deleted through the control panel, but please keep in mind that these changes are not real time.
Domain forwarding can be enabled on the second step of domain registration wizard by clicking on Domain forwarding checkbox or for existing domains by clicking on the edit button on the detailpage.
In order to configure it, click on Click to configure and navigate down to Domain forwarding section.
Choose Forwarding type and enter the destination URL.
NB: Be sure to add protocol name (http, https, etc) to the URL!
Forwarding type: permanent (301) vs temporary (302)
A 301 redirect means that the page has permanently moved to a new location.
A 302 redirect means that the move is only temporary. Search engines need to figure out whether to keep the old page, or replace it with the one found at the new location. More information is available online.
Permanent forwarding (HTTP status code: 301) indicates to search engines that the page has permanently moved to a new location. It almost fully passes page authority from an old URL to a new URL. While a visitor won’t notice the difference between a temporary and permanent forwarding, for a search engine, these are completely different signals. Be careful about using 301 forwarding when it isn't permanent. If you remove a 301 redirect, be prepared to wait several weeks or even months to see the redirected URL back in the search engines' indexes.
Temporary forwarding (HTTP status code: 302) indicates that the page move is only temporary. By default, temporary forwarding does not pass any page authority from the old URL to a new URL. This forwarding type is rarely used, since in most cases you want to pass a page's authority, and only the 301 type will let you do that. Over time though, if temporary forwarding is in place for a long time - search engines start to regard the 302 forwarding as a 301 type, due to its permanent nature.
If you use the Openprovider nameservers, an A-record will be set up automatically. In case third-party nameservers are used, please ensure that the A-record for this domain in your DNS zone points to IP address 18.104.22.168.
If forwarding doesn't within 24 hours, please run through the checklist below to make sure configuration is finalized:
- Make sure the A-record in DNS zone of the domain is set to 22.214.171.124
- Make sure (e.g. via the dig command line tool) that the A-record change is already replicated through DNS hierarchy (can take up to 24 hours depends on your TTL settings on the DNS zone record)
- If the above checks are successful - enter the domain name in your browser and confirm that it forwards to the right destination. In case of browser caching, it is more safe to check via any public service that can show HTTP headers.
- www. domain is not forwarding: create a CNAME record forwarding from www. to the naked domain.
Forwarding works only from HTTP websites. This is due to the specifics of the forwarding implementation - in order to configure redirects from HTTPS we would need to store all of our customers' certificates on our servers.
Forwarding from a domain that has active SSL certificate will not work until SSL certificate on destination domain covers source domain as well. Both domains need to be secured by the same SSL multidomain (or wildcard) certificate.
The redirect only works for the "naked domain" and the domain with www. Subdomains are not supported.