HighPerformanceProxySetup: Difference between revisions
local>ImportBot Imported from old wiki |
m 1 revision imported |
(No difference)
| |
Latest revision as of 11:56, 14 March 2025
<sidebar>
- Domains
- Main_Page|All Domains
- NewTLD_Main_Page| NewTLDs
- Premium_Domains_Main_Page| Premium Domains
- Services
- Registry_Lock|Registry Lock
- Trademark_Clearinghouse|Trademark Clearinghouse
- Early_Access_Program|Early Access Program (EAP)
- DPML|DPML
- Backorder|Backorder
- EOI_API|EOI Service
- Web_Apps|Web Apps
- RegistrarOC|RegistrarOC
- AdultBlock|AdultBlock
- AUValidation|.AU Validation Service for Natural Persons
- API & SDK
- Domain_API|Domain API
- DNS_API|DNS API
- DNSSEC|DNSSEC API
- SSL|SSL API
- Weebly API|Weebly API
- RootServer|Rootserver API
- Renewal_System|Renewal System API
- Core_API|System API
- EPP_Gateway|EPP Gateway
- https://www.hexonet.net/resellers/integration#api%7CSDKs
- Modules & Tools
- https://www.hexonet.net/resellers/integration#whmcs%7CWHMCS modules
- https://www.hexonet.net/resellers/integration#blesta%7CBlesta modules
- ISPAPI | ISPAPI Command-line interface
- Control Panel & Tools
- ControlPanel | Control Panel
- ICANN Policies
- IRTP|IRTP - Change of Registrant Policy
- ERRP| ERRP - Expired Domain Recovery Policy
- Registrant_Verification|Registrant Verification
- HEXONET & Partners
</sidebar>
High Performance Proxy Setup
Long distances to our main data center in Germany may result in high network latencies. If you encounter such problems, we highly recommend to use this setup, as it uses persistent connections to our API server and the overhead for connection establishments is omitted.
Step 1: Required Apache2 packages and modules[edit]
At least Apache version 2.2.9 is required.
The following Apache2 modules must be installed and activated:
proxy.conf proxy.load proxy_http.load ssl.conf # for HTTPs connection to our API server ssl.load # for HTTPs connection to our API server
Step 2: Apache configuration[edit]
An example Apache configuration with binding to localhost:
<VirtualHost 127.0.0.1:80>
ServerAdmin webmaster@localhost
ServerSignature Off
SSLProxyEngine on
ProxyPass /api/call.cgi https://api.ispapi.net/api/call.cgi min=1 max=2
<Proxy *>
Order Deny,Allow
Deny from none
Allow from all
</Proxy>
</VirtualHost>
After saving your configuration changes please restart the Apache webserver.
Step 3: Use the proxy on localhost as API socket[edit]
Your current API socket URL probably looks like this:
https://api.ispapi.net/api/call.cgi?s_entity=ENTITY&s_login=LOGIN&s_pw=PASSWORD
Please change it to:
http://127.0.0.1/api/call.cgi?s_entity=ENTITY&s_login=LOGIN&s_pw=PASSWORD