My website is on Peqi and it's down, what should I do?


Verify if your domain pointing is correct

Make sure that your website's domain is correctly pointing to the Peqi servers. Here are the IPs to which you should point your domain:

151.101.1.91
151.101.129.91
151.101.193.91
151.101.65.91

Blocking our servers on your hosting (403 Errors)

In some cases, the server where your site is hosted might be blocking the Peqi servers. Therefore, ask your hosting support to add the following IPs to the web server and firewall's allowlist:

45.33.21.140
45.33.21.46
45.33.21.223
45.79.42.243

If you want to do the unblocking on your web server yourself, just follow the tips below according to the web server you are using:

On LiteSpeed

<IfModule Litespeed>
Allow from 45.33.21.140
Allow from 45.33.21.46
Allow from 45.33.21.223
Allow from 45.79.42.243
</IfModule>
On Apache 2.4

<IfModule mod_authz_core.c>
Require ip 45.33.21.140
Require ip 45.33.21.46
Require ip 45.33.21.223
Require ip 45.79.42.243
</IfModule>
On Apache 2.2

<IfModule mod_authz_host.c>
Allow from 45.33.21.140
Allow from 45.33.21.46
Allow from 45.33.21.223
Allow from 45.79.42.243
</IfModule>
On NGINX

location / {
allow 45.33.21.140;
allow 45.33.21.46;
allow 45.33.21.223;
allow 45.79.42.243;
# Continue com as demais regras
}

Remember that even after making the above unblocking on your web server, if your hosting has any kind of firewall, it is necessary to request technical support to unblock the mentioned IPs so that Peqi can connect to the server.

Mod Security

You need to add the following rule to your application's .htaccess:


<IfModule mod_security2.c>
SecRule REMOTE_ADDR "^45\.33\.21\.140$" phase:1,log,allow,ctl:ruleEngine=Off,id:999946
SecRule REMOTE_ADDR "^45\.33\.21\.46$" phase:1,log,allow,ctl:ruleEngine=Off,id:999947
SecRule REMOTE_ADDR "^45\.33\.21\.223$" phase:1,log,allow,ctl:ruleEngine=Off,id:999948
SecRule REMOTE_ADDR "^45\.79\.42\.243$" phase:1,log,allow,ctl:ruleEngine=Off,id:999948
</IfModule>

If you have any questions about the above procedures, check with your hosting provider's technical support.

Problems with your application/hosting (5xx errors)

5xx errors should be checked directly with your hosting provider, as Peqi will deliver exactly what the original server (your hosting) is providing. It is important to note that Peqi does not make adjustments to your application. Therefore, if you encounter any problems or decide not to use Peqi anymore, just point the domain back to the real IP of your hosting.

This documentation can help you check if your site is down at the source/hosting.

Related Articles