A blog about cutting edge technology at its maximum pace.

Ritesh Warke On Tuesday, January 4, 2011

With AdSense for domains, users can find relevant information rather than see empty pages or "page not found" errors. If you have undeveloped domains, then AdSense for domains can help your users. This article is assist you to pointing your domains to Google's servers, allowing you to display Google ads on your hosted domains.


Pointing your domains to Google's servers


The simplest way to assign your domains to AdSense for domains is to delegate your domains' nameserver to Google's DNS nameserver, which is described below. Alternatively, you can update your domain’s A records and CNAME, though this is more complicated.

Delegating your nameservers is a single step with most domain registrars. All you need to do is change you domain's nameserver to be all four of these values:

  • ns1.googleghs.com
  • ns2.googleghs.com
  • ns3.googleghs.com
  • ns4.googleghs.com

As soon as the records validate, usually within 24 hours, google will start serving ads to traffic that comes to your site.

How to set your domain’s A records and CNAME Record


First, if you've previously changed your domain's nameserver, make sure you change it back to point to your registrar's default nameservers.(If you're not sure, you probably have not changed this and don't need to change anything.)

Second, create the following CNAME (alias) records for your www host using your domain registrar. You can find your unique identifier on the AdSense for domains setup page:


Host Name/Alias
Record Type
Value/Destination
wwwCNAME (alias)
pub-xxxxxxxxx.afd.ghs.google.com. (where pub-xxxxxxxxx is your unique ID listed on the AdSense setup page)

Next, create the following A records for your domains at your domain registrar


Host Name/Alias
Record Type
Value/Destination
@A (address)
216.239.32.21
@A (address)
216.239.34.21
@A (address)
216.239.36.21
@A (address)
216.239.38.21

Note: Please be sure that these four A records are the only existing A records for your domain. For information on common DNS terms including both A and CNAME records, visit the Google Apps Basic Guide to DNS.

Note: Google is not involved with the selection or registration of any domain names, and is not in a position to arbitrate trademark disputes between the registrants, advertiser partners, and trademark owners.
                                                                                                   HACKING TRICKS AND NEWS

0 comments:

Post a Comment

New Users Register Here