Site Posts - Embrace the Unknown

Setting up this site for free

In the process of creating this site with an abnormal way (using ddns), most people had told me to give up and go buy a domain, I refuse. And now, here am I.

First they ignore you, then they laugh at you, then they fight you, then you win. -- Mahatma Gandhi

Warning: Always believe in yourselves and never give up during the process.

Patience and diligence, like faith, remove mountains. -- Willian Penn

Site generator

Get the source, run make, the generated files will be in the html directory.

Setup httpd

Install nginx.

Setup cgit

Install cgit, fcgiwrap.

Bare repository

Do git clone --bare.

Virtual hosting

DNS setup

Aha, free sites


Get my domain here

NSD DNS server

I use nsd authoritative-only dns server in conjunction with dnsmasq.

Zone file

Backup DNS

Planning to use


Redirect requests to NSD since MX records aren't working.

Open DNS

Using this setup, people could just spoof udp request and use the server as a bot to ddos other servers. To solve this fast, I did this myself without my father's help (slow), so I did add an iptables rule. external:53 -> internal:5353

iptables -t nat -A PREROUTING -s -p udp -m udp --dport 53 -j DNAT --to

Dynamic DNS service (old setup)

I personally used after signing up for a few dns service.

Port forwarding

I am not sure about this currently. Go ask my father.

Tor Hidden Service

Why? Firewall isn't Tor-proof, prevent censorship and support a better privacy.

Setup Tor hidden service

Edit /etc/tor/torrc

Directing subdomain to Tor