/mili

How to Setup Blogger Custom Domain With BIND

Just for record in history !
1. You need to go in your blogger Setting->Publishing, click on custom domain, add your domain (with subdomain ) and save settings.

2. Connect ssh to your BIND server and create file /etc/bind/named.mydomain with this content :
$TTL 86400
@ IN SOA ns.here. root.here. (
2 ; Serial
28800 ; Refresh
14400 ; Retry
604800 ; Expire - 1 week
86400 ) ; Minimum

blog IN CNAME ghs.google.com. ; don’t remove last dot

3. Open /etc/bind/named.conf.local and append these lines :
zone “mydomain.org” IN {
type master;
file “/etc/bind/named.mydomain”;
allow-update { none; };
};
4. Restart your bind server /etc/init.d/bind9 restart

5. Open your blog with web browser.