Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My domain points to a rails app hosted on Heroku. Is it possible to have blog.mydomain.com point to a WordPress installation somewhere else, e.g. Dreamhost?

share|improve this question

migrated from wordpress.stackexchange.com May 1 '11 at 22:03

This question came from our site for WordPress developers and administrators.

Add a DNS A record to point the subdomain to the different server's ip address:

mydomain.com IN A 321.1.22.55
blog IN A
share|improve this answer

Depending on your domain provider most have a dns manager. in a normal setup that is untouched there would be 2 A records

  1. www @
  2. @ <-- this number is different for every host

if you used the Heroku nameservers then you need to make sure you setup the domain to use its built in dns manager and create new a records

Can you post your domain provider and wether or not you are using nameservers or dns manager

So once your you have access to your dns manager then you would create 1 new record and edit 1 record

edit your current @ record and point it to the ip address you have at Heroku then create a new a record with the host being blog and the "points to" to your new host ip address and you can leave the ttl at what ever value

share|improve this answer
I didn't quite understand your answer. My blog is at otherdomain.com hosted on Dreamhost using Dreamhost's DNS. It has an A record of My Rails app is at mydomain.com on Heroku and uses Zerigo DNS manager. I can add records and stuff. My domain registrar is Godady and points to Zerigo's nameservers. What I want to achieve is for blog.mydomain.com to load my blog, like how you use a CNAME record to use a custom domain in Tumblr. – Aen Tan May 1 '11 at 6:50
I tried adding an A record blog.mydomain.com with value of (IP of A record of the blog on otherdomain.com) and it blog.mydomain.com redirects to otherdomain.com. – Aen Tan May 1 '11 at 6:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.