Access Denied – Whitelist IP Address or Header
Introduction
In this guide, we’ll show you how to fix the Access Denied error when trying to add a site to AAArdvark. This error usually occurs because your site has security layers that block bot traffic. The good news is that we offer two ways to whitelist AAArdvark in your security tools and platforms so that it doesn’t get counted as a bot.
Fix Access Denied Error by Whitelisting AAArdvark
If you encounter the Access Denied error when first adding a new site to AAArdvark, the error is likely due to your site’s security layers, whether that’s Cloudflare or a plugin installed on your site.
In this case, we have two options to help you whitelist AAArdvark in your security tools so that you can bypass this error and start using all that AAArdvark has to offer. You can either whitelist AAArdvark through:
- Custom Header
- IP Address
Custom Header
The first way is to allow requests to come from AAArdvark by allowing traffic with our custom header. To collect the custom header information for your site, click on the Customize Site Settings option on the Add New Site page.
Scroll to the White Listing section. This section contains the custom header Name: Value pair (x-aaardvark-request: unique-code).
Lastly, in your security tools or platform, you can add a rule or exception to your firewall settings to allow requests that include headers with the following:
- Name: x-aaardvark-request
- Value: Unique code shown in your White Listing section
IP Address
In the case that your security or firewall tool doesn’t have the option to make exceptions for custom headers, then you can whitelist AAArdvarks IP addresses.
To use this option, please contact our support team for help setting up the IP addresses. We will share the addresses you need to add to allow AAArdvark to access your site and complete the setup on our end to make sure this works for you.
White Listing Site Settings
If you need to set up a custom header after the site has been created or if you need to double-check your settings, you can find the White Listing information by going to your Site Dashboard > Settings > scrolling to the bottom to see the White Listing section.