Go live with your Hypernode
You have copied your shop to Hypernode and tested its functionality. Now is the time to go live with your Hypernode. Follow these steps for a a smooth transition.
Table of contents
- 1 Prerequisites
- 2 Step 1: Put the site on your old host into maintenance mode
- 3 Step 2: Synchronize database and files
- 4 Step 3: Take old site out of maintenance mode (optional)
- 5 Step 4: Take Hypernode out of maintenance mode
- 6 Step 5: Change your base URL to include WWW
- 7 Step 6: Flush Magento cache on Hypernode
- 8 Step 7: Change DNS records
- 9 Step 8: Configure SSL
- 10 Step 9: Configure cron
- 11 Step 10: Configure backups on Hypernode (optional)
- 12 Downgrade or cancel your previous plan
- You have verified that your site runs properly on Hypernode, including redirects, password protected areas, etc.
- You have access to the DNS settings of the domains for all your storefronts.
- You have lowered the DNS TTL for these DNS records (300 seconds is a good value).
- Check which domains will need to be configured by listing the base URLs. (
- You have checked whether there are external dependencies on your shop’s IP address (for example, external suppliers who need your IP for their firewall. Bol.com is a known example).
Step 1: Put the site on your old host into maintenance mode
This will prevent data being changed while performing a last synchronization to Hypernode. Maintenance mode can easily be activated by placing a file called
maintenance.flag in the top Magento folder on your old host. (
Step 2: Synchronize database and files
Final synchronization of files and database, using the Hypernode importer on Hypernode:
hypernode-importer --host ssh.yourdomain.com --user yourdomain.com --path yourdomain.com
The importer will overwrite any local modifications made to
fpc.xml configuration files, so if you have made custom modifications (Redis config for example) between hypernode-importer runs, you should make a backup of these files.
If you have custom changes that need to be made to the site after copying to make it run on Hypernode, now is the time to apply them.
Step 3: Take old site out of maintenance mode (optional)
If you want to keep maintenance time low at the cost temporarily serving a slow site, you can change the configuration of the old site to use the new database. This step can be safely skipped.
Configuration can be taken from the new
local.xml, but this will typically just involve changing the database host to mysqlmaster.myapp.hypernode.io.
After reconfiguring the database, you can take the site out of maintenance mode by removing the maintenance flag. (
Note: from now on, database changes (orders) will be written to Hypernode, but not file changes. At this stage, do not upload new media (products) in the old Magento backend.
Step 4: Take Hypernode out of maintenance mode
Remove the maintenance flag on the Hypernode, so customers accessing the new site won’t hit the maintenance page. (
Step 5: Change your base URL to include WWW
If you use Hypernode’s WWW-redirection service, ensure that the base URL of your shop starts with
www. or a subdomain such as
shop.. Otherwise, your visitors will bounce back and forth between the redirection service and the Hypernode.
Step 6: Flush Magento cache on Hypernode
Flush the cache of Magento on the Hypernode. (
Step 7: Change DNS records
NB: Using a subdomain (for example: webshop.yourdomain.com) as main URL? See our manual on configuring DNS for more information.
For all storefront URLs (not starting with WWW), the DNS records should be changed now. Remove all A records for your web domains, since the IP address of your Hypernode might change at any time. The correct configuration is for all domain names is:
www.mydomain.com CNAME myapp.hypernode.io mydomain.com ANAME or ALIAS myapp.hypernode.io
If your DNS provider doesn’t support ANAME or ALIAS records, you can use our forwarder to redirect all traffic from your naked domain.com to www.domain.com, by creating the following records:
www.mydomain.com CNAME myapp.hypernode.io mydomain.com A 126.96.36.199 mydomain.com A 188.8.131.52
See our manual on configuring DNS for more information. As the DNS changes are propagated, traffic will go to your Hypernode.
SPF records (for experts)
If you have previously configured SPF, you should also update your the SPF policy. You should include
spf.appname.hypernode.io for all domains you choose to send mail from using Hypernode.
The following example allows mail from both your mail exchangers and all your Hypernode nodes:
mydomain.com TXT v=spf1 mx:mydomain.com include:spf.appname.hypernode.io ~all
For more information have a look at our article about SPF records
Step 8: Configure SSL
Enable ssl for your shop for safety and to improve search engine optimization.
You can find a detailed howto in this article about configuring ssl on your shop
Step 9: Configure cron
Configure cron jobs to run on your Hypernode (
crontab -e), and configure them not to run on your old host (
Note that the time on Hypernode is configured to UTC, so the times used in the crontab are one or two hours later than Central European Time. More information about cronjobs can be found in Configure cronjobs on Hypernode.
Step 10: Configure backups on Hypernode (optional)
For Hypernode Go Big and Excellence hosting plans free backups are available. If you need a backup, contact us via email@example.com. Hypernode Start and Grow plans do not have free backups included, but we can make one available for 100 euros excl VAT per backup. Alternatively you manually configure backups yourself, which is a cheaper solution.
Downgrade or cancel your previous plan
Do you currently have a different Magento hosting plan at Byte? If you require email, domain registration and/or SSL services, you should downgrade this plan to one of the following plans:
- Presence: choose this plan if you only need domain registration and/or SSL certificates
- Presence Plus: choose this plan if you need email at Byte and/or domain registration and/or SSL certificates
We recommend to downgrade to a Presence plan and then use an external mail service to provide for your email needs. Information about these plans can be found on www.byte.nl.