Monthly Archive: August 2019

Can not upload ads.txt in Github Pages using Hexo

Problem: My GitHub Pages use Hexo to deploy a website, but somehow ads.txt failed to upload.

I also don’t know why 😂. There may have some issues with Hexo setting.

Solution: Go to Github Pages repo, upload manually. (or upload it using Git) Then wait for Google AdSense detect your file.


After a restart, apache return ERR_CONNECTION_TIMED_OUT in CentOS 7

Problem: Before the restart, everything works fine on all websites and apache.

Solution: Try below solution, something must be re-enabled if you choose AWS or other web service provider

  • Allow incoming traffic on port 80:
iptables -A INPUT -p tcp --dport 80 -j ACCEPT
  • Disable firewall
systemctl stop firewalld
  • Disable SELINUX

First edit /etc/selinux/config, then replace SELINUX= to SELINUX=disabled

sudo nano /etc/selinux/config


Then restart

reboot -h now