Bobcares

Why CyberPanel Blacklisted Domain?

by | Jul 14, 2023

How to fix the issue, of “blacklisted domain in CyberPanel”? Read the article to find out more. Bobcares, as a part of our CyberPanel Support offers solutions to every query that comes our way.

Fixing blaclisted domain in CyberPanel

When we try to create a website account with CyberPanel, we may sometime encounter the “blacklisted domain” message. However, after checking the domain on multiple domain blacklist checkers, we may find no issue with the domain.

In such a case, we must understand that the CyberPanel has a line of code that prevents the domain from being the same as the server’s hostname. For instance, the socket.gethostname() can be an offender. This line will prevent the server’s hostname to be used as a website account.

In this post, we’ll look into two methods to fix this issue.

Method 1

We can simply remove socket.gethostname() from acl.py, which is placed in this directory, to fix the issue:

cyberpanel blacklisted domain

With this line of command, we can search for it if it is in a different directory:

cyberpanel blacklisted domain

If the location of CyberPanel is in the same directory, then we can also use the below code to fix the issue:

cyberpanel blacklisted domain

Method 2

Altering the server’s hostname is another way to fix this. We can use the below code to change the server’s hostname:

Restart the CyberPanel after updating the hostname of the server using the below code:

We can try again to create the website account after completing any of the above methods.

[Want to learn more? Reach out to us if you have any further questions.]

Conclusion

We can easily fix the “blacklisted domain” issue in CyberPanel by carrying out any of the two methods from our Tech team described in this article.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.