====== Linking your domain with a WordPress.com blog ====== WordPress has an [[http://en.support.wordpress.com/domain-mapping/map-existing-domain/|FAQ]] with useful and important information on how to link your domain name and your WordPress blog. We recommend that you consult it to help you better see how you may want to proceed. ===== Using Gandi's web forwarding ===== Free WordPress account users have a blog address like ''%%http://example.wordpress.com%%''. You may want, however, for users who browse to your domain name to be redirected automatically to your WordPress.com blog. To do this you can use Gandi's [[en:domains:management:domain-as-website:forwarding|web forwarding service]] (free). Simply create a forwarding address that forwards from the subdomain ''www'' to the full address of your WordPress blog, using our web forwarding interface. Remember, if you want ''%%http://www.example.com%%'' and ''%%http://example.com%%'' to forward visitors to your WordPress blog, then you need to create two forwarding addresses: One for ''www'' and one for the bare domain (leave the subdomain field empty). ===== Using Gandi's DNS to point at your blog ===== If you already have other services running on your DNS (mail, ftp, web hosting, etc.) and you **just want to add your WordPress blog**, you can simply add a [[en:dns:zone:cname-record|CNAME entry]] to point your address to your hosting space on the WordPress servers. blog 28800 IN CNAME example.wordpress.com. You would, of course, replace ''blog'' in the above example with the name of your subdomain (this could even be ''www'') and ''example'' with the name of your blog as visible in your ''wordpress.com'' URL. **Do not forget the dot at the end of the line or it will not work.** More on this in the [[http://en.forums.wordpress.com/topic/wordpress-dns-a-record|WordPress FAQ]]. ===== Using WordPress DNS ===== If you are a WordPress.com user with a Premium account, then you have the possibility of linking your WordPress blog directly to your domain name at Gandi via DNS. The basic way to link your domain to your WordPress blog is by changing your DNS to be: NS1.WORDPRESS.COM NS2.WORDPRESS.COM NS3.WORDPRESS.COM Note, though, that if you have any other services (Gandi Mail, BaseKit) then they will go offline, because the WordPress nameservers will take over the resolution of your domain name totally (see the next section). ==== Using GandiMail with WordPress DNS ==== If you wish to use GandiMail with WordPress DNS servers, follow the directions from WordPress for editing your DNS entries [[http://en.support.wordpress.com/domain-mapping/custom-dns/|here]]. Then, simply use the following entries in your custom DNS records: MX 10 spool.mail.gandi.net. MX 50 fb.mail.gandi.net CNAME imap access.mail.gandi.net. CNAME smtp relay.mail.gandi.net. CNAME webmail agent.mail.gandi.net. CNAME pop access.mail.gandi.net. ===== See also ===== * Want to run your very own WordPress install with Gandi hosting? See [[en:hosting:tutorials:wordpress]] -> * [[http://en.forums.wordpress.com/topic/wordpress-dns-a-record|WordPress FAQ]] * [[http://en.support.wordpress.com/|WordPress.com support]] * [[http://en.forums.wordpress.com/|WordPress.com forums]]