Troubleshooting connection issues

If VaultPress is having trouble connecting to your site, here are a few things to check:

  • Does the URL you have entered go directly to your publicly available installation of WordPress? Please disable any “Under Construction” plugins, and ensure that your site is publicly accessible. If your root domain redirects to the www version of your domain (or vice versa), please make sure that the URL a browser ultimately redirects to is the one you have entered on the Settings page of your VaultPress dashboard.
  • Are you or your web host accidentally blocking VaultPress IPs?
    Please whitelist these IP ranges with your hosting provider. VaultPress’s user agent is registered as “curl”, as that is the system that VaultPress uses to communicate with external sites.
  • Do you use a reverse proxy, load balancer, or caching server, such as CloudFlare, Varnish, or Incapsula?
    These servers often provide the client IP addresses in the X-Forwarded-For header. You’ll need to re-configure your web server so that these addresses are used. Your host should be able to assist with this step.
  • If you can’t modify your server configuration, you can address this issue at the PHP level by adding these lines to your wp-config.php file, right after the “<?php” line:
    if ( !empty( $_SERVER['HTTP_X_FORWARDED_FOR'] ) ) {
        $forwarded_ips = explode( ',', $_SERVER['HTTP_X_FORWARDED_FOR'] );
        $_SERVER['REMOTE_ADDR'] = $forwarded_ips[0];
        unset( $forwarded_ips );
    }

Still unable to connect? Contact support, and we’ll be happy to help you out!