After you activate the production environment, you need to make changes to your DNS entries. These changes are generally made at the level of your registrar (OVH, Gandi, etc.), but they can also be made via a third-party tool, such as Cloudflare.
For legal and security reasons, we are not responsible for our customers' DNS zone. However, we can help you with the configuration necessary for our servers to add entries below.
If your store does not run on www.domain.com but just domain.com (without www), please contact us for the necessary steps. If you already use www.domain.com, please continue below!
Check if your registrar offers ANAME entries
In the majority of cases, traditional registrars do not offer the ANAME option in the configuration of DNS entries. Please check whether your registrar offers this option or not before continuing.
First option: ANAME is activated on your registrar (rare cases)
- You need to open your project on the PS Hosting user interface and select your production environment.
- Go to the tab DNS ANS URLS.
- If they are not there yet, you should add your URLs domain.com and www.domain.com. You should get something like below:
- You can now open your DNS zone inside your DNS provider interface and configure it as follows:
- An ANAME entry for domain.com with the corresponding CNAME value you will get in the Hyperlane interface, the one highlighted in blue.
- A CNAME entry for www.domain.com with the corresponding CNAME value you will get in the same interface, the one highlighted in red.
- Add/Edit TXT entry for emails via PHP with include:spf.hyperlane.co. - In most cases an SPF record already exists, you need to update it.
- That's all ! No IP address is needed, this configuration points directly to our infrastructure, allowing us to route incoming traffic through any gateway in the event of hardware failure or a very large number of visitors during one of your campaigns marketing.
Second option: ANAME is not activated on your registrar (majority of cases)
- You must open your project on the PS Hosting user interface and select your production environment.
- Go to the tab DNS AND URLS.
- If they are not there yet, you should add your URLs domain.com and www.domain.com. You should get something like below:
- Only if the bare domain is not used for another website (eg: guydemarle.fr is a WordPress site with recipes etc., boutique.guydemarle.fr is the PrestaShop site. So we don't want to redirect guydemarle.fr to boutique.guydemarle.fr, as visitors could access the WordPress site).
NO IP REDIRECTION ON THE BARE DOMAIN
Example: vbsa.fr is on a bare domain, but the DNS provider doesn't accept ANAME, so you just need to follow step 5b. -
Two cases, choose one:
- a. The website is on a subdomain:
You can now open your DNS zone inside your DNS provider interface and configure it as follows:
- - an entry A for domain.com to 194.42.75.211
- - an entry CNAME www.domain.com with the corresponding CNAME value you obtained in the DNS AND URLS tab of your production environment, underlined in red in step 3. Don't forget to add an extra
.
at the end - - Add/Edit a TXT entry for emails via PHP with
include:spf.hyperlane.co
In most cases an SPF record already exists, you need to update it.
-
b. The website is on a bare domain, in your terminal, enter:
host prd-prestashop-XXXXXXXX.prestashop.sh
- Edit entry A pour domain.com with the IPV4host prd-prestashop-262d8e0xxxxx.prestashop.sh #returns an IPV4 and an IPV6 prd-prestashop-262d8e0xxxxx.prestashop.sh has address
135.125.xx.xxx prd-prestashop-262d8e0xxxxx.prestashop.sh has IPv6 address
2001:41d0:xxx:xxx::9c0 - - Add an entry AAAA with the IPV6 value
- - Add a CNAME entry www.domain.com with the corresponding CNAME value you obtained in the DNS AND URLS tab of your production environment, underlined in red in step 3. Don't forget to add an extra
.
at the end - - Add/Edit a TXT entry for emails via PHP with
include:spf.hyperlane.co
In most cases an SPF record already exists, you need to update it.
- a. The website is on a subdomain:
- The CNAME points directly to our infrastructure, allowing us to best manage incoming traffic through our gateways.
Comments
0 comments
Article is closed for comments.