Initial Setup

Stay organized with collections Save and categorize content based on your preferences.

PageSpeed Service was turned off on August 3rd, 2015. Please see Turndown Information for PageSpeed Service.

This page contains information needed to complete the initial setup to start using PageSpeed Service. The video shows an example of how to perform the initial setup of your website.

NOTE: At this time, PageSpeed Service is not accepting new signups. You can only complete the next steps if you have received confirmation that you have been approved to use PageSpeed Service.

  1. Log into the Google APIs Console

    1. Click on the activation link provided in the approval email you received from the PageSpeed Service team.
    2. Log in using the Google account you mentioned when requesting access to PageSpeed Service.
    3. Click on I agree to these terms checkbox and click on the Accept button.
    4. Click on PageSpeed Service on the left navigation bar, and you should see the following:

      PageSpeed Service Console with no domain added
  2. Provide the domain of the website you want to speed up

    1. Enter the domain of the website you would like to speed up and click the Add button.
    2. If you have never verified the ownership of your domain through Google Webmaster Central, your dialog will look like this:
      Dialog that shows that your domain hasn't been verified
      Click Claim Ownership and follow the steps in Google Webmaster Central.
  3. (Optional) Preview how your site will look when served by PageSpeed Service

    Previewing your site will allow you to experience how your website will render when you start using PageSpeed Service. If you encounter any issues with pages not rendering correctly, you can blacklist the offending URLs from the Rewriter Settings pane in the Google APIs Console, and preview your site again. The preview methods described here should not be used to measure speed up of your site, since these will not provide accurate results. Instead run tests to measure the speed up. You can preview using either of the following methods:

    Note: If your machine requires a proxy to access the Internet, neither of these methods will work for you.

  4. Setup an Origin Host

    PageSpeed Service needs to fetch content from your host servers. This requires specifying the name of an origin host that the service can fetch content from. In this step you will set up a new DNS record for the origin host.

    Sometimes we can identify a suitable origin hostname for your site from its DNS record and pre-fill this information for you. If the Status message for your domain is “Not Ready - Setup Serving domain”, then skip this section and proceed to Step 5. You will be able to edit the recommended origin host name if you wish after setup is complete.

    Otherwise you will need to setup an origin domain name, say Click “Setup origin host” and follow instructions. Detailed instructions for some popular DNS providers are at this page. Remember to Save the DNS changes when you're done.

    Origin domain not yet added state

    PageSpeed Service will send requests to the origin domain with the Host header set to match your primary domain. You should not expose the origin domain to avoid receiving any direct traffic.

  5. Setup the Serving Domain

    In this last step, you will point your site's main DNS record to Google datacenters. Click “Setup serving domain” and follow the instructions to add a CNAME (Alias) record for your serving domain (or edit the existing record) to point to PageSpeed servers. If your website serves pages over SSL, please first consult the SSL Setup Guide to support SSL traffic on your site, before proceeding with the DNS change.
    Serving domain not yet added state

    Detailed instructions for some popular DNS providers are at this page. Remember to Save the DNS changes when you're done.

    Here is one example of how to correctly setup the DNS records for use with PageSpeed Service. Here represents the IP address for your site, provided by your hosting provider. The @ symbol is used in many DNS editors to represent the bare domain name of your site, such as

        Example Initial Configuration:
        Record Type   Host      Points to
        A             @
        CNAME         www       @
        After setup with PageSpeed Service:
        Record Type   Host      Points to
        A             @
        A             origin
        CNAME         www

    If you have an existing DNS A-record for your serving domain, say, delete it so that has only the CNAME-record that you just added (pointing to You should not delete any other DNS records associated with your site.

    • Some DNS providers require adding a period symbol (.) at the end of the CNAME value field in order to point to a different domain. So if you discover that your CNAME record was incorrectly changed to something like then please edit the record value to “” with the period symbol at the end to fix the problem.
    • If you previously pointed your CNAME entry to or, we strongly recommend changing it to point to instead. This will allow you to avail of recent improvements in the way Google crawlers operate on your site.

You can now monitor near-real time traffic and latency metrics for your web site from the “Overview” tab. You can always refer to the FAQ or consult the resources if you need help troubleshooting or have questions.