2009年8月20日星期四

use a custom domain name for blogger

  • Create a CNAME record for your blog's address, which should be a subdomain of the form www.example.com.
    To create a CNAME record for your domain with the DNS, associating your domain with ghs.google.com. The exact procedure for doing this varies depending on your domain registrar, but you can find instructions for many common registrars here. If yours isn't listed, or if you run into other difficulties, you can contact your registrar directly and they'll be able to help you out.
  • Create 'A' NAME records for your naked domain (blog.com)
    Creating A records for your naked domain is important as it allows Google to redirect people who use in your naked domain name (blog.com) to your blog page (www.example.com). If you do not do this, visitors who leave off the www will see an error page.
    There are four separate A records you will create, and can be done from the same control panel you accessed your CNAME records. Simply point your naked domain (example.com, without the 'www') to each of the following IP addresses:
216.239.32.21
216.239.34.21
216.239.36.21
216.239.38.21

Your DNS setup is now complete!