Wednesday, December 24, 2008

Configure your domain using GHS

Google Hosting service (such us mail, doc, calendar, blog, etc) is a wonderful servce, thanks to Google Team to provide this service!

after we buy a domain, and we want to use Google into our domain, but how? okay lets configure DNS configuration. in This tutorial we want to build udienz.net to use Google Services such us mail, documents, calendar, blogspot, etc). okay lets configure DNS, originallyt located at /etc/bind/udienz.net.host or /var/named/chroot/udienz.net/host (cmiiw). and we must add some configuration, an example we want to add Google mail as primary mail services, lets configure!

# pico /etc/bind/udienz.net.host

and add some address

$ttl 38400
udienz.net. IN SOA dns1.udienz.net. udienz.gmail.com. (
1228900356
14400
3600
604800
38400 )
udienz.net. IN NS ns1.solo.linux.or.id.
udienz.net. IN NS dns1.udienz.net.
udienz.net. IN MX 1 aspmx.l.google.com.
udienz.net. IN MX 10 alt1.aspmx.l.google.com.
udienz.net. IN MX 15 aspmx2.googlemail.com.
udienz.net. TXT "v=spf1 a mx ~all"
udienz.net. TXT "v=spf1 include:aspmx.googlemail.com ~all"

Simple eh?

and if we want add some service, add CNAME into ghs.google.com
googlefd3f978648db15f7 CNAME google.com.
tweak.udienz.net. IN CNAME ghs.google.com.
doc.udienz.net. IN CNAME ghs.google.com.
calendar.udienz.net. IN CNAME ghs.google.com.
start.udienz.net. IN CNAME ghs.google.com.
mail.udienz.net. IN CNAME ghs.google.com.
sites.udienz.net. IN CNAME ghs.google.com.

save and restart your DNS,
# /etc/init.d/bind restart
or
# services named restart

and enjoy your Google!

0 comments:

Post a Comment