banner



How To Install Cdn Server

After our redesign, WPBv4, we spent some fourth dimension doing performance optimization (still some work left to do). Subsequently doing some optimization, we saw a major performance comeback on the site. It was noticeable enough that our users emailed us asking about information technology. We've heard your requests, and a complete guide on what nosotros did to speed up our site volition be upwards very presently. Even though we had covered how to install MaxCDN in our tutorial well-nigh W3 Full Cache, nosotros have made some boosted changes since so. In this article, nosotros will bear witness you how to install and setup MaxCDN in WordPress.

Here is the e-mail nosotros got from one of our users:

"…the main reason I am contacting yous is to ask about site speed. How on earth you lot manage to speed up your site so fast? The speed is insane and I just loved it."

We did numerous tests using a site called Pingdom. The fastest load time of our homepage was just 483ms. We ran the test numerous times (different hours and datacenters). Our load fourth dimension range on the homepage was 483ms – 1.7s. Below is one of the screenshots:

WPBeginner Speed Screenshot of Pingdom

A lot went into the operation optimization (reducing HTTP queries such as loading scripts simply when they are needed, combining scripts and stylesheets, optimizing images etc). But one of the main components that makes our website load fast and keeps us from crashing is a corking WordPress CDN. We are using MaxCDN, and you can our MaxCDN review in our Blueprint section where we explain why we use MaxCDN. If you lot don't know what is a CDN or why you lot need a CDN, and then y'all should check out or infographic "What the Heck is a CDN".

Now having that said, in society to follow this tutorial, you MUST have a MaxCDN account. It'due south very affordable and well worth the coin. If you don't have an business relationship, yous can sign up now. Yous can get 25% off using our MaxCDN coupon "wpbeginner"

Video Tutorial

Subscribe to WPBeginner

If yous don't similar the video or demand more instructions, then continue reading.

In one case yous have created your account with MaxCDN, you need to install this free WordPress plugin called W3 Total Cache.

First affair you need to exercise is login to your MaxCDN account and create a "Pull Zone". To do this, click on the Manage Zones button and and then click on "Create Pull Zone" icon.

MaxCDN Create Pull Zone

On the next page, you volition be asked to enter the details for your new Pull zone.

  • Pull Zone Name: This tin can exist anything without spaces, minimum 3 characters long. Think of this as your username.
  • Origin Server URL: Enter the URL of your wordpress blog. Must have "http://" and the trailing slash(/).
  • Custom CDN Domain: Use whatsoever subdomain for example: cdn.wpbeginner.com
  • Label: This is like a description field. Information technology is optional to add together a clarification.
  • Pinch: We recommend that yous enable this every bit it will save the usage of bandwidth on your account.

MaxCDN Pull Zone Details

One time you click create, you will see a success screen. In that green box, yous volition take a URL for your CDN. It will expect something like "wpb.wpbeginner.netdna-cdn.com". Let'due south copy this URL and salve it in your notepad. We will need to utilise information technology in later steps. If you go to your dashboard, you will now see the zone that you have created. Click on the "manage" icon.

Manage MaxCDN Zone

Adjacent, you need to click on the "Settings" tab and look at the custom domains.

MaxCDN Zone Settings

The goal here is to add multiple subdomains (CNAMEs), so we can improve pipelining operation in the browser. To exercise this click on the edit button on Custom Domains, and simply add multiple custom domains.

MaxCDN Multiple Subdomains

One time yous have added the custom subdomains, then but click update. In the Pinch settings, make sure you enable GZip compression.

At present that you have configured your pull zone, take the long CDN url that y'all got in previous steps which looked like this "wpb.wpbeginner.netdna-cdn.com". Nosotros are going to need this to set CNAME records. Nosotros will bear witness yous how to create the CNAME record using cPanel. Most WordPress hosting providers are using cPanel. Login to your cPanel, then scroll down to the Domains Section and click on Unproblematic DNS Zone Editor.

Simple DNS Zone Editor in cPanel

On this page, you will need to fill out the fields to Add an CNAME Record. The two values you will be required to fill are: Name and CNAME.

  • Name: This is the name of your Custom CDN Domain. For example, our custom CDN domain is cdn.wpbeginner.com, and then we will put "cdn" in our proper noun field.
  • CNAME: This volition be URL provided to you by MaxCDN when you created the pull zone. For example: "wpb.wpbeginner.netdna-cdn.com".

Example screenshot:

Add a CNAME Record

Echo this process for all the custom domains you will add together. The CNAME value volition be the aforementioned. All you are irresolute is the name to like "cdn", "cdn2" etc. Adding the CNAME method may be different if you lot have a non cPanel host.

Now that you have configured MaxCDN, lets go ahead and integrate information technology with WordPress. We will need to employ the W3 Total Cache plugin. Install and actuate the plugin. On the General screen, if y'all scroll down, you lot will see the CDN box. Enable CDN and select NetDNA/MaxCDN option.

W3 Total Cache CDN

Save the settings. Now, you will need to go to CDN menu in W3 Total Enshroud to configure MaxCDN with WordPress. This page will enquire yous to enter your API ID, API Central, and your custom domain names.

W3 Total Cache MaxCDN Integration

You can get your API ID and Key from your MaxCDN Dashboard. If you go Manage Account » API. Click on add key, and create your key.

How to Get MaxCDN API Key

Once y'all configure the W3 Total Cache part, yous are good to become. You tin click on the Test NetDNA button, and you should exist able to get Test passed.

Want to speed up your WordPress? Well, then we recommend that you start using a CDN service similar MaxCDN. Use the MaxCDN coupon "wpbeginner" to get 25% off.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you lot can support us.

Source: https://www.wpbeginner.com/wp-tutorials/how-install-wordpress-cdn-solution-maxcdn/

Posted by: perduewopmetuand.blogspot.com

0 Response to "How To Install Cdn Server"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel