Error 521 Web server is down | network unreachable resolving

feerdispzoo

Verified User
Joined
Jan 17, 2022
Messages
189
Cloudlinux + litespeed web server

After build Error 521 Ray ID: 73ef12695b85907c • 2022-08-22 22:33:45 UTC Web server is down on all websites.

I check everything,
systemctl status lshttpd.service
active (running)

journalctl -xe

Code:
network unreachable resolving 'ali.ns.cloudflare.com/AAAA/IN': 2400:cb00:2049:1::a29f:408#53

I research this issue for resolve and I see:
Code:
All of the addresses are IPv6. Seems an IPv6 issue, you probably have no IPv6 networking configured. Disable IPv6 suport in Bind:



Edit /etc/sysconfig/named and set:



OPTIONS="-4"



Then restart bind:



service named restart

I've only IPV4, I do this above steps, now in journalctl -xe still this above issue, and this above changes not resolved my issue. Any solution?
 
@jamgames
I do this step, now I not see any error in journalctl -xe but still no any website work. ERR_CONNECTION_REFUSED

I not see any error. Any other solution ?
 
maybe trying rewrite_confs

/usr/local/directadmin/custombuild/build rewrite_confs
 
Below is output:
[root@vim735ac ~]# /usr/local/directadmin/custombuild/build rewrite_confs
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Configuring /etc/container/php.handler...
Using 65.21.xx.xx.xx for your server IP
CloudLinux Selector setup: successful
PHP has been secured.
Failed to restart httpd.service: Unit not found.
Restarting litespeed.
[root@vim735ac ~]#
 
I don't use cloudlinux, so I don't know how correct way to rewrite_confs.

@smtalk Can help you, just wait him. or create ticket support in cloudlinux site.

because I saw some error on rewrite_confs.
Failed to restart httpd.service: Unit not found.
 
Back
Top