May 10, 2013

Naked domains with Blogger

It can be a little confusing setting up a blogger blog with your own domain.  The www is quite straight forward however a naked domain can also be re-directed to a blogger blog and there are a few extra steps.

In settings Choose advanced settings and setup your blog and domains as so:

Then follow these steps.
  1. Find the control panel on your domain registrar’s website, and locate your DNS (Domain Name System) settings. In order to link your blog to your custom domain, follow the instructions below to enter your "CNAME" and "A-records."
    CNAME
    Add two CNAME records. For the first CNAME, where it says Name, Label or Host enter "www" and where it says Destination, Target or Points To enter "ghs.google.com" . For the second CNAME, enter "A7LABD5AAAOU" as the Name and
    "gv-AAAAAAAA.dv.googlehosted.com." as the Destination. See our detailed instructions on providing CNAMEs for various registrars. If yours isn't listed, or if you run into other difficulties, contact your registrar directly and they can help you out.  ( ensure you use the mentioned CNAME records in the instructions )
    A-records (optional)
    The following action links your naked domain (example.com) to your actual site (www.example.com). If you skip this step, visitors who leave off the "www" will see an error page.
    Enter your domain name in the format example.com, and list the I.P. addresses shown below in the "A" section. You'll need to create four separate A-records which point to four different Google IPs.
    216.239.32.21
    216.239.34.21
    216.239.36.21
    216.239.38.21
  2. Update your Blogger settings
    Before you move onto this step, wait about an hour for your DNS settings to activate. If you attempt to change the publishing settings before the DNS changes activate, then we'll let you know with a warning message.
    Now it’s time to make sure Blogger knows about your custom domain so that Google can direct readers to your blog. Just head back to Blogger and update the information on your Settings | Basic tab. Find the area for "Publishing," and click the link to add a custom domain.
    Add a custom domain
    Then, click on "Switch to advanced settings."
    Advanced Settings
    Enter in the URL for your custom domain in the text box provided, and click Save. That’s it! Your blogspot.com address will soon redirect to your new custom domain -- be patient, as it might take up to 24 hours for the redirect to start working.
    Enter URL and save
    Congratulations, you’re all set!
Some helpful notes:
  • If your new domain isn't taking you to your blog, wait another day or two to make sure all the DNS servers have been updated. If it still isn't working, contact your registrar to make sure you entered the DNS settings correctly.
  • Your original Blogspot address will automatically forward to your new domain. That way, any existing links or bookmarks to your site will still work.
  • Your posted images will continue to display on your blog.

Dec 30, 2012

Railo - Java methods resolved by reflection at run time Nice!

I didn't know this was included in Railo 4.0 but it's nice.  If you call a method that doesn't exist in CFML it will fall back and attempt to call a java method.  Consider the following code:



Comes from: https://groups.google.com/forum/?fromgroups=#!topic/railo/IEh5pMdawyk

Dec 3, 2012

ColdFusion PHP ASP.net... they all work


Throughout my day I probably jump between 3 main languages.  PHP, ASP.net and CFML in no particular order.  On the side I do some of my own work and in past years in most cases the language choice has been CFML.  I thought it was worth talking about with all the news around the blogs and podcasts on what else people are working with.  The truth is that for all small side projects I have been using PHP and I like it.  One of the main reasons is that I can get cheap hosting and also have access to all the deploy tools so I can deploy Joomala / Wordpress ect with ease.  And yes I have been building Joomala sites.  Clients know there products and are completely familiar with how they operate so it makes sence to go with these.  I can also say without question that I'm just as quick with PHP as I am with CFML.  Since the fall of Flex I have moved right out of that market and no longer have such a valid reason to use CFML as the back end.  I still like CFML and still support http://www.learncf.com but in the past 24 months I haven’t had a single submission that I didn't have to chase after.

The other language I have been using include NodeJS but I have not had the opportunity to use this at work just yet.

On a quick side note I've also switched from CF Builder to Sublime but really the best IDE is Visual studio and I'm really starting to look forward to ASP.net work as it flows in.


Sep 1, 2012

Merging PDF's with ColdFusion

A new tutorial is up at LearnCf.com merging PDF's with ColdFusion check it out:

http://tutorial45.learncf.com/

Aug 31, 2012

ColdFusion 10 on Java 7

With Java 6 EOL I decided to try ColdFusion 10 on Java 7.


Works fine without any issues so far on our applications.