You are viewing demo account.
LAMP (Linux / Apache / MySQL / PHP) - PHP 8.2 / MySQL 8.0 - Disk Usage: 0.201 / 1GB (20.1%) - Hosting Plan (Premium)
Current outbound traffic status: inactive
Outbound Traffic

To secure your onion service, our hosting infrastructure blocks any outbound traffic. This means that you cannot connect to any third-party service.

However, you can install an extra Tor relay to your onion service.

This allows you to connect to clearnet third-party services or services under the Tor network.

Enabling an extra Tor relay for this onion service incurs an additional cost of US$1.00 per month.

Tor Relay Guideline

1. If you are using Wordpress, you can use the below example code to make a outbound traffic. Sometimes, WordPress plugins generate a substantial amount of outbound traffic, of which you might not be aware. This can lead to numerous timeout requests, causing your WordPress website to become exceedingly slow. It's essential that you add the following code to address this timeout issue.

Modify the file wp-config.php, and add the below code block just before the
require_once(ABSPATH . 'wp-settings.php');
line.
define('WP_PROXY_HOST', 'proxy');
define('WP_PROXY_PORT', '9050');
define('WP_PROXY_BYPASS_HOSTS', 'localhost, demo6mlm22qrq3bg5ewrwotcpndiyp3euwic6klmbvv6x6yvr2ehslyd.onion, *.wordpress.org');

2. If you are not using Wordpress, you can use the below example code to make a outbound traffic.

$url = 'https://www.blockonomics.co/api/price?currency=USD';
$proxy = 'proxy:9050';
$timeout = 5;

$ch = curl_init();
if($ch === false) die('Failed to create curl object');

curl_setopt($ch, CURLOPT_URL,$url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout);

curl_setopt($ch, CURLOPT_PROXY, $proxy);
curl_setopt($ch, CURLOPT_PROXYTYPE, CURLPROXY_SOCKS5_HOSTNAME);
$content = curl_exec($ch);
curl_close($ch);

echo $content;