Home / Tutorials / How to whitelist your Server IP to use the API
How to whitelist your Server IP to use the API
Important Note
Creating an API ID/Key Pair is imperative to be able to utilize the NetDNA API. The Key/ID Pair are used to authenticate the user to the API Server, therefore allowing them to execute API commands.
Text Tutorial
Login to your CDN Control Panel.
Click on “API” on the top-left area.
You will be redirected to “developer.netdna.com“, click “Sign in” on the top-right side of the page.
You will be have to authorize with your Account Email and Password.
When logged in, on the top-right menu, you will see your login email address, hover on it, and click ”Whitelist new IP“
Add the Main IP Address for your server in the box. You can add wildcard IPs as explaind below:
Specific IP address:122.122.122.122 (whitelists one IP)
Wildcard IP address:122.122.122.% (allows class C)
Wildcard:* (allows any IP)
Click “Whitelist IP“
ServerIP.php
If you do not know the Main IP Address of your web server, use this little PHP Script that will show you the IP. Just upload it to your website and point your browser to the php file. Alternatively, check with your server Adninistrator.
Download the configuration file here.