You are viewing the legacy StackPath SecureCDN Help Center. Please use support.stackpath.com if you signed up after July 1, 2018 or log in through control.stackpath.com

StackPath Support

Magento 2: StackPath CDN Setup Guide

The purpose of this article is to show StackPath Secure CDN customers how to setup our serivces with websites utilizing the  Magento 2 CMS.

Please follow these steps in order to integrate the CDN into your Magento website.

    1. Log into the StackPath Control Panel.
    2. Log into the admin panel of your website

      Magento admin panel

    3. Go to Stores -> Configurations

      Magento stores configuration

    4. Under General select Web option

      Magento web configuration

    5. Follow these setup instructions:
      1. Set the Base URL for Static Files to http://site.company.stackpathdns.com/pub/static/
      2. Set the Base URL for User Media Files to: http://site.company.stackpathdns.com//pub/media/

Magento base URL configuration

Return to top