• PageSpeed support

    Overview PageSpeed (mod_pagespeed) optimizes your site and makes content load more quickly. PageSpeed applies a variety of filters including minifying scripts, inlining CSS, and automatically deferring JavaScript to avoid blocking DOM rendering. Users can browse your site with less latency, and in turn, improve visitor engagement. Availability PageSpeed is available on all v5+…

  • Accessing web page views and error messages

    Site statistics can be viewed, in raw form, through access logs available via /var/log/httpd/access_log. Likewise, errors that may arise from improperly-configured PHP scripts or general diagnostics are available in error logs via /var/log/httpd/error_log. These errors are typically manifested as 550, 500, 403, or status codes also more commonly referred to…

  • Uploads are denied with 406, Not Acceptable

    Overview When uploading a particular file it fails with a 406, Not Acceptable error message. Cause All inbound file uploads are scanned for viruses before being saved on the server. If a file is found to contain a virus, it is rejected with a 406, Not Acceptable message. File scanning…

  • Disabling PageSpeed

    Overview In rare certain situations, PageSpeed may make debugging a staging site more difficult or interfere with custom JavaScript that manipulates the DOM in a HEAD tag. Although likely unnecessary to disable, PageSpeed may be disabled on your site with a simple htaccess directive: Create a file named .htaccess in…

  • I need to restart the web server…

    Overview During certain situations you may become confused with what is wrong with your site. For example, moving WordPress or Drupal to another location or even misplacing files on your web site may lead to an erroneous conclusion that the web server must be “restarted” to clean its cache or memory…

  • Expunging PageSpeed cache

    PageSpeed will make a best effort to expire its asset (.css, .js, .png, .gif, .jpg) cache periodically. During periods of rapid changes, automatic expunction may lag behind changes pushed to a server necessitating a manual flush of the cache. Expunging PageSpeed cache A PURGE header may be sent to the asset…

  • Forwarding a web site elsewhere

    Overview A forwarded website can be accomplished by first creating a subdomain or addon domain in the control panel, then using an .htaccess in document root to redirect all traffic to the new web site using mod_rewrite. Important terminology Forwarded domain: domain that will redirect to the target domain Target domain: domain…

  • Creating a subdomain

    Overview A subdomain is an extension of your primary domain or an addon domain that can serve as both an e-mail domain and website location. Creating a subdomain Configuration parameters A subdomain may be added within the control panel under Web > Subdomains. A subdomain may exist in a few…

  • Rewrite rules fail on subdirectories, subdomains, or addon domains

    Overview Rewrite rules remap a URL to another location or resource accessible on a web site. These rules are located in .htaccess files. A common snippet looks similar to: RewriteEngine On RewriteCond %{REQUEST_FILENAME} ! -f RewriteRule ^(.*)$ index.php [QSA, L] When located anywhere else besides the document root of the primary…

  • HTTP2 support

    Overview HTTP2 is a next-generation binary protocol that supports multiplexing HTTP requests to greatly decrease page load times. Your site loads up to 2x faster, and it’s supported by every modern browser. Activating HTTP2 HTTP2 support requires a SSL certificate (and IP address) to activate. HTTP2 is available on all v6.5+…