DNS Settings Hypernode

in Usage Tags: DNS

Hypernode is a cloud-based hosting service. This has the big advantage, that in case of an up- or downgrade, your shop can transparently be moved to other hardware with different specs. However, this might cause the IP address of your shop to change.

If you follow the suggestions for smart DNS configuration below, an IP change will not impact your site visitors.
In Magereport Premium you will find the “Store Front Status”.
The Store Front Status shows you whether your DNS settings are correctly set up for the storefronts defined in your webshop.

There are three strategies, explained in more detail below:

  • Strongly recommended: order your domain at Byte or migrate it and link your domain to your Hypernode. We will update the DNS records when the IP of your Hypernode changes.
  • Have a CNAME for your www-domain + an ANAME/ALIAS pseudo-record for your apex (also called naked) domain. This requires a DNS provider that supports those types of records.
  • Have a CNAME for your www-domain + an A record for your apex (also called naked) domain pointing to a redirector that redirects to the www-domain.

Keep in mind:

  • Preferably the TTL for the DNS records is reasonably low to make the transition to Hypernode quick. Check this beforehand.

Preferred: let us manage your DNS

If you have your domain at Byte, we can manage your DNS. Log in to your Service Panel with your customer number and password and select your Hypernode.

Navigate to ‘SSL & DNS instellingen’ under tab ‘Instellingen’. Here, you will see an overview of all available domains. In the column ‘DNS Beheren’ you can link a domain to your Hypernode by choosing ‘Koppel domeinnaam aan deze Hypernode’.

Whenever you want to unlink a domain, simply choose ‘Ontkoppel domeinnaam van deze Hypernode’.

When linking a domain to your Hypernode, we will immediately change the DNS records of the domain. Plan this moment carefully when migrating to Hypernode, and make sure content on the original location is no longer used.

We will create an A-record for domain.com and a CNAME-record for www.domain.com. Other A- and CNAME-records for both domain.com and www.domain.com will be removed. Records for subdomains are not touched, so it’s still possible (and perfectly reasonable) to have a subdomain for your blog on blog.domain.com, which points to plan on the Byte cluster platform.

If a domain is linked to a Hypernode, it’s no longer possible to manually change the apex records that points to your Hypernode. We will make a backup of the record we adjust. These show up in the DNS admin as TXT records for __backup__.domain.com. If you unlink your Hypernode, we will put the backup records back in place. You can delete or change them if you choose to do so.

Keep in mind:

  • By letting us manage your DNS, you will also be able to use your apex domain
  • Point all other records to your apex domain using a CNAME, or otherwise when your IP changes, all other non-apex domains will be broken, effectively taking your shop down.

Manage your own DNS: use CNAME, not A

These examples assume you have a site called yourdomain.com and a Hypernode called yourd01.hypernode.io.
The recommended way to configure your DNS is to create a CNAME record in your DNS configuration, pointing to Hypernode:

www.yourdomain.com      CNAME       yourd01.hypernode.io

This means that www.yourdomain.com will point to wherever yourd01.hypernode.io points, and we will make sure that that always points to the correct IP address.
NB: You can also configure your wildcard (*) domain name to Hypernode.

*.yourdomain.com      CNAME       yourd01.hypernode.io

‘Apex’ or ‘naked’ domain names when managing your own DNS

Problems arise when people visit your naked (also called apex) domain name: yourdomain.com, without the ‘www.’-prefix. It is not possible to create a CNAME record for your apex domain.

Some DNS providers, like DNSimple or DNS Made Easy have the possibility to create ALIAS or ANAME pseudo-records. These behave like CNAME-records for apex domains. Unfortunately they are not wide-spread yet, so the chances are your provider doesn’t support it.

Another solution is to redirect traffic for the apex domain yourdomain.com to its www-counterpart www.yourdomain.com. You might be able to configure redirecting with your DNS provider, or you can use our free wwwizer service. Just configure the following A-records for your apex domain and they will redirect all traffic for you.

# Add both for redundancy!
yourdomain.com A
yourdomain.com A

NB: Note that the redirect server doesn’t have your SSL certificate configured, so people that directly visit https://yourdomain.com/, will get a certificate warning from the browser.

Don’t fancy these solutions? Migrate your domain to Byte and let us manage your DNS.

Redirects in Nginx

If you want to force a redirect to either the www. or the non-www. domein, you can use a redirect.
You can read how this works in this article.

Shop on a subdomain?

If you host your shop on a subdomain (for example shop.yourdomain.com), and you don’t want to be available on www.shop.yourdomain.com, you can forget all about the wwwizer service, and there’s no need to add the two IP-addresses in your A-records as explained above. Simply create a CNAME-record pointing to your Hypernode, and it will work:

shop.yourdomain.com      CNAME       yourd01.hypernode.io

Use the Store Front Status check in Magereport Premium

If you visit Magereport Premium with your Hypernode plan, you can verify whether your domains are redirected to your Hypernode.

It will tell you if they’re live (DNS is redirected to Hypernode) and if it’s configured correctly. In case, the storefront tool tells you that the DNS is misconfigured it will present an example of how you should configure the DNS correctly.