Test the Premium CDN Package Configuration

Before Marfeel publishing partners activate the Marfeel Premium CDN Package, they can test their CDN configuration. 

These tests allow publishers to test their domain and see how the Marfeel Premium CDN Package pulls it through the network.

There are a few easy processes publishers must complete in order to successfully run this test as documented below:

1 - Determine the IP address of a POP

  1. Open your command line tool in your computer. This would be iTerm in Macs or DOS in Windows.
  2. Enter the following command in the terminal:

    dig nonssl.marfeelcdn.com

    The dig command value will vary depending on the following:

    For publishers that are HTTPS compliant, they would enter:

    ssl.marfeelcdn.com 

    For publishers serving content over HTTP:

    nonssl.marfeelcdn.com

  3. The IP address of the POP is displayed in the answer section of the command. In this case it's 151.101.132.204.

2 - Modify your hosts file

The second step in testing the Marfeel Premium CDN Package before activation is adding a static IP address and domain host entry to the hosts file on your computer. 

  1. Using the IP address that was returned by the dig command, add the following entry to the file, replacing www.example.com with the domain you want to test:

    151.101.132.204 www.example.com
  2. On machines running MacOS or Linux, the hosts file is /etc/hosts. On Windows operating systems, the hosts file in C:\Windows\System32\Drivers\etc\hosts.

3 - Test the domain

Publishers can then test the Marfeel Premium CDN Package configuration using one of these two processes:

a) Browser

To test your Premium CDN Package configuration using the browser:

  1. Open your browser or restart it if it's already running.
  2. Type your domain in the address field. 
  3. If you see the updated domain in the address field, requests are being sent to the Fastly POP (point of presence).

For more information on Fastly POPs, see the Marfeel's Content Delivery Network article. 

b) Ping command

To test your Premium CDN Package configuration using a ping command in the terminal:

  1. Open your command line tool in your computer. This would be iTerm in Macs or DOS in Windows.
  2. Enter the following command replacing www.example.com with the domain you want to test:

    ping www.example.com
  3. This should display the POP address in the results section that was returned with the dig command:

    151.101.132.204