Family

Counter

W3Counter Web Stats

Blog

Ali Ayoub's Blog

Google Page Creator Tips

www.liub.com

TOC:

How to add an "A record" to your Google Apps?
How to retrieve GPC CSS file?

How to add an "A record" to your Google Apps?

In Google Apps you cannot add an "A record" for your domain, you can use only CNAME records, which require a second level name, i.e www.yourdomain.com can be assigned to an DNS (like ghs.google.com) but yourdomain.com (without the www) cannot.

A workaround could be using the DNS IP, but this solution may not work since Google doesn't guarantee that the DNS IP won't change.

I've been using this solution for few months and the DNS IP didn't change. To use an "A record" with Google's DNS do the following.

  1. Ping Google DNS (ghs.google.com) and retrieve the IP, currently it's 72.14.207.121
  2. In your DNS configuration, add an "A record" and use the IP found in step 1.
  3. wait 24 hours to let changes take affect, and this should work.

My domain name for example uses this workarround, you can see that liub.com and www.liub.com goes to the same page using Google DNS.

You can see an DNS report for my site here to check the configuration I used.

How to retrieve GPC CSS file?

GPC uses CSS file for your pages design, if you with to create your own pages wish the same pages, it is useful to have the same CSS file of your original pages:

  1. Open the page you want to copy it's CSS file.
  2. View the source of the page using your explorer toolbar.
  3. Copy the CSS content as it appears in the <style> element:

    <style type="text/css"> ------- CSS content is here ---- </style>

    It may look like this:

    #g_title p, #g_footer p, #g_description p {
    margin: 0;
    }
    /*

    -- -- -- -- -- -- --
    Browser Fixes
    -- -- -- -- -- -- --

    This file uses CSS filtering methods to fix various
    layout bugs.

    ....

    #sidebar-alternate ol li, #sidebar ol li {

    color: #5a9f9f;

    }

    /** END CUSTOM SKIN **/

  4. Save the CSS content (use notepad for example) in a file, its name must end with .css extension, say domain.css
  5. In domian.css replace all the instances of "/-/" with "http://your-gpc-site/-/"
  6. Now, the CSS file is ready, you can use it in your customized pages, by inserting the following line to the <head> elemnt of your HTML code: <link rel=stylesheet type=text/css href=path-to-css-file />
  7. For more info on how to link external CSS file to your web pages, click here

  Sign in   Recent Site Activity   Terms   Report Abuse   Print page  |  Powered by Google Sites