As a website owner who uses Cloudflare services, you must have experienced an error with error code 521. This error causes the Cloudflare service to not be able to connect to the website server that you are currently using, especially for ports 80 and 443.
This error code 521 is one of the causes of the website down, therefore you must immediately address it so that your website visitors do not switch to your competitors’ website pages.
Oh yes! Error code 521 is the most common error for Cloudflare service users. You could say that Cloudflare users will experience an error like this at least once.
Therefore, due to its very general nature, you can easily find a way to fix error 521 in this article. But before going into the technical discussion of how to fix it, it doesn’t hurt us to know first what error 521 is and what causes this error to occur?
Table of Contents
- What is Error 521?
- Cause of Error 521
- Losses that arise as a result of Error 521 Appears
- Then, How to Solve Error 521 Web Server is Down?
- Come on, Overcome Error Code 521 Right Now!
What is Error 521?
Simply put, error 521 occurs because the server you are using is not connected to the Cloudflare service. This results in Cloudflare displaying error code 521 as shown below:
Does your website display a display like the one above? If true, this is called error 521. And if we look at the display, the browser has successfully connected to the Cloudflare server.
However, when the Cloudflare service that you use connects the browser with the server, it gets rejected by the server you are using. Why did this happen?
Now, we will continue the discussion about the cause of error 521. Let’s look at the discussion further!
Cause of Error 521
By understanding the causes of errors that occur on our website, then we can anticipate the future so that these errors do not occur again. During our little research, we found at least two causes of error 521. The causes are as follows:
First, Server Down
The first cause of the emergence of http status code error 521 is that the WordPress server you are using is down. So that the Cloudflare service you are using can’t be connected, because Cloudflare will never connect until you find a way to fix the server down.
Therefore, immediately find out the cause of the server down and solve it as soon as possible.
Second, there is a False Alarm (Wrong Detection)
The second cause is a false alarm or wrong detection. We all know that Cloudflare is one of the most widely used Content Delivery Network services. This service works as a liaison between the browser and your website visitors.
Therefore, because of its nature as a proxy, Cloudflare often accesses your website server using the same IP address. Even though the IP of each website visitor is different. Therefore, the server security system that you use may be considered a hacker attack.
This can happen because the server blocks the Cloudflare IP and generates an error code of 521.
Losses that arise as a result of Error 521 Appears
If your website shows error 521, it means that your website cannot be accessed properly. When your website cannot be accessed properly, visitors will not get the information they are looking for on your website.
The worst possibility is that visitors will switch to your competitor’s website and will forever leave your website if the error is not addressed immediately. Especially if your website is a business website such as an online shop and the like.
Your business will not move if the website experiences an error 521, because now the website is one of the most important wheels for running a business to meet the expectations of business owners. Therefore, immediately solve this problem and apply the method we recommend in this article.
Then, How to Solve Error 521 Web Server is Down?
After you know what error 521 is, the cause of the error, and the losses that can occur due to error 521. Then, how to solve the error 521 web server is down? Don’t worry, we will answer these questions in a few easy ways to solve them, so read on until the end of the discussion, OK!
The First Way, Check Server Online
Error 521 generally occurs because the server is down. Therefore, the first step you can do is check the status of the server whether it is still online or is it dead (offline). If the website dies, you do not proceed to the next step.
Step 1: Find out the IP address of the server you are using.
Step 2: After entering the Exabytes member area page. Click services.
Step 3: On the My Products & Services page click on Manage Product is one of the hosting services (in this demo we chose WP 12 Beginner).
Step 4: Scroll and later you will find the IP Address of the server you are using.
Step 5: Copy the IP Address and open the HTTP Header Checker website at.
Step 6: Enter the IP address that you previously copied in the Exabytes member area into the URL field and click Check
If the status that appears is UP or Online with an HTTP 200 response or if you are a VPS user usually a 404 Not Found or 403 Forbidden response will appear, it depends on your best VPS settings.
However, the response above shows that the server you are using is online because it is still responding.
However, what you need to pay attention to, is if the server you are using is down, it will usually describe the host as Not Found or Failed to connect.
If what you find indicates that the server is down, you can solve this problem by asking the hosting provider you are using (you can ask Exabytes technical support via the available chat feature).
The second way, do the SSL settings
If you are a new Cloudflare HTTPS user, then it could be that the server you are using is still not configured to accept access from Cloudflare’s IP Address on port 443.
Therefore, to overcome this. First, you can try setting up using Flexible SSL on Cloudflare. The trick is to change the SSL, here are the steps:
Step 1: Log in to the Cloudflare dashboard page.
Step 2: Click the SSL/TLS menu and select Flexible.
The Third Way, Make Sure All Cloudflare IPs Are Unblocked
What if the server you are using is running normally or online? How to solve the error 521? If that happens, then one solution is to give access to all Cloudflare IPs so that they are not blocked by the server you are using.
The trick is to make changes to the .htaccess file and make sure all Cloudflare IP addresses are unblocked. If you are confused and have doubts about changing the contents of the .htaccess file, you can contact Exabytes technical support, our technicians are ready to help you!
Done, now you have set up SSL in Cloudflare.
Come on, Overcome Error Code 521 Right Now!
How can the error 521 you experienced be resolved? Error 521 is closely related to the website server you are using. Usually, one way to solve this is to contact the hosting service provider you are using.
So, we advise you to choose a hosting service that has technical support ready to help you anytime and anywhere. Because errors sometimes appear suddenly, if you are one of the users of the hosting service from Exabytes Indonesia. Don’t hesitate to contact our support team, if the error problem still appears.
We will immediately help you whenever you need help, we will not only help if you experience error 521. For those of you who experience other WordPress errors, don’t worry because we can also help with other error problems.
Hopefully, this article can provide the best reference for solving WordPress server problems, don’t forget to share this information so that your friends who experience a similar error can solve it immediately.
Good luck!