If you’re integrating your Pressable site with third-party services like payment gateways, CRM systems, or API providers, those services may require you to allowlist specific IP addresses. This article explains how to find your site’s outbound IP address and provides the full IP ranges you should use when configuring external integrations.
Common scenarios where you’ll need outbound IP information include:
- Allowlisting IPs for API authentication
- Configuring webhook receivers
- Setting up firewall rules for external services
- Troubleshooting failed API connections
Difference Between DNS IPs And Server Outbound IPs
Pressable sites use Anycast IP addresses for DNS A records. These Anycast IPs allows us to use the same IP addresses across multiple servers in different locations, routing incoming traffic efficiently through our global network (which means faster page loads and better uptime). But they’re not the same as the server IPs your site uses for outbound requests.
When your site makes outbound requests (like API calls or webhooks), those requests originate from the specific server pool where your site is hosted. Your site’s outbound IP is tied to its current server pool location. Sites occasionally migrate between server pools for scaling, infrastructure improvements, or load balancing, which means your exact outbound IP can change over time.
Because of this, we strongly recommend allowlisting the full outbound IP ranges rather than individual IPs when configuring third-party services.
How To Find Your Site’s Outbound IP
You can determine your site’s current outbound IP using either the cURL method (via SSH) or the PHP snippet method (via SFTP).
cURL Method (Recommended)
This is the quickest method if you’re comfortable using SSH.
- SSH into your site.
- Run:
curl whatismyip.akamai.com; echo - The returned value is your site’s current outbound IP.
Note: The ; echo adds a line break after the result for cleaner output.
PHP Snippet Method (Alternative)
Use this method if you prefer working with SFTP or aren’t comfortable using SSH.
- Connect to your site via SFTP.
- Create a file named
serverip.phpin your site’s root directory (the same location aswp-config.php). - Add the code below.
- Visit yoursite.com/serverip.php in your browser to view the IP.
- Important: Delete the
serverip.phpfile after you’ve recorded the IP address. This file exposes server information and should not be left publicly accessible.
<?php
$host = gethostname();
$ip = gethostbyname($host);
echo "Server IP Address: $ip";
Recommended IP Ranges To Allowlist
Since your site’s specific outbound IP may change when it moves between server pools, we strongly recommend allowlisting the full IP ranges when configuring third-party services.
Please contact Pressable support for our outbound IP ranges.
While we maintain these IP ranges long-term, infrastructure improvements may occasionally require changes. If you experience sudden connectivity issues with previously working integrations, verify the current outbound IP using one of the methods above.
Troubleshooting
If the cURL command returns an error, ensure you’re connected to your site via SSH and have proper permissions. If the PHP snippet doesn’t display an IP address, verify the file was uploaded to the correct location and that your site can execute PHP files normally.
For assistance with specific integration issues, contact Pressable support with details about the third-party service you’re connecting to and any error messages you’ve received.