martedì 2 marzo 2010

Spostare un blog da blogspot a dominio

Ho voluto cedere alla tentazione di provare a spostare un blog su piattaforma blogspot ad un mio dominio.


    Ovvero, a fare in modo che il blog che normalmente si raggiunge come mioblog.blogspot.com, diventi accessibile attraverso l'indirizzo www.mioblog.it.

    Le istruzioni sembrano semplici... si trovano qui: http://www.google.com/support/blogger/bin/answer.py?hl=it&answer=55373 :

    How do I use a custom domain name on my blog?

    Note: The setup process for newly-purchased domains may take up to 24 hours.
    Publishing on Blog*Spot is the fastest and easiest way to use all of Blogger's great features. (And for free, no less!) If you don't care to have blogspot.com in your blog's address, though, you can get a domain of your own. We'll continue to host all your content as before, but it will be displayed at your new address. (Unlike FTP publishing, which requires you to buy both a domain name and a hosting service.)

    Choose and Register Your Domain

    The first thing you'll need to do is to choose a domain name, like example.com and register it. You can register domain names from any of a number of different registrars, and you can use .com, .org, .net or any other valid addresses. Remember: you only need to get the domain name; you don't have to pay extra for hosting service. The easiest way to register a domain is to buy your domain directly through Blogger. If you go this route, we'll automatically configure all of your relevant DNS settings and attach your new domain to your existing blog immediately.

    Update the DNS Settings

    DNS stands for Domain Name System, and a DNS server determines what site a given address takes you to. So far, you have a domain name but none of the servers on the internet know what to do with it yet. To take care of this, you need to do two things:
    • 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

    Ebbene, ho provato a seguire il tutto passo passo...

    • ho registrato il dominio (NOTA: solo dominio e relativa gestione DNS, senza nessunissimo servizio accessorio di housing/hosting/email o chissà che altro... è un qualcosa che, complessivamente, non dovrebbe costare più di una dozzina di euro all'anno)
      C'è la possibilità di acquistare il servizio anche attraverso Blogspot (e costa pure poco: dieci svalutatissimi dollari all'anno...), ma non è possibile farlo per domini .it, per i quali bisogna necessariamente rivolgersi ad altri mantainer.
    • ho cercato di cambiare le impostazioni del DNS come sopra spiegato; dopo aver sbattuto per mezz'ora la testa contro il control panel della gestione del DNS, ho finito per contattare l'assistenza del mantainer.
      Ed ho scoperto che semplicemente NON SI POTEVA fare attraverso il control panel messo a disposizione dell'utente medio. Doveva farlo il mantainer, a mano.
    • lo hanno fatto (gratis), e 36 ore dopo il DNS si era propagato correttamente: su qualsiasi pc digitassi il mio dominio, ottenevo un messaggio di errore di google... il che è corretto.
    • a questo punto, sono tornato sul control panel di Blogspot, ed ho reindirizzato il blog sul nuovo dominio.
      Attenzione che, anche se non pare esserci un motivo ragionevole e plausibile, il reindirizzamento non è immediato, e può impiegare un po' di tempo (nel mio caso, comunque meno di un'ora).
      Quindi, all'inizio sarete nel panico perchè otterrete un messaggio di errore sia sul nuovo indirizzo che sul vecchio indirizzo blogspot... tranquilli, ed aspettate fiduciosi. Alla fine funzionerà tutto!