Prestashop logo, Visit home page

Configure your main domain and/or subdomains on PS Hosting

-

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)

  1. You need to open your project on the PS Hosting user interface and select your production environment.
  2. Go to the tab DNS ANS URLS.
  3. If they are not there yet, you should add your URLs domain.com and www.domain.com. You should get something like below:

    Hosting_dnsurls.png

  4. 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.
  5. In most cases an SPF record already exists, you need to update it.
  6. 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)

  1. You must open your project on the PS Hosting user interface and select your production environment.
  2. Go to the tab DNS AND URLS.
  3. If they are not there yet, you should add your URLs domain.com and www.domain.com. You should get something like below:

    Hosting_dnsurls.png

  4. 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.
  5. Two cases, choose one:

    1. a. The website is on a subdomain:
      You can now open your DNS zone inside your DNS provider interface and configure it as follows:
    1. - an entry A for domain.com to 194.42.75.211
    2. - 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
    3. - 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.

    1. b. The website is on a bare domain, in your terminal, enter:
      host prd-prestashop-XXXXXXXX.prestashop.sh

      host 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

      - Edit entry A pour domain.com with the IPV4
    2. - Add an entry AAAA with the IPV6 value
    3. - 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
    4. - 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.
  6. The CNAME points directly to our infrastructure, allowing us to best manage incoming traffic through our gateways.

 

    •  
    •  
  •  

Share

Was the article helpful?