Sign up ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

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

share|improve this question

migrated from May 1 '11 at 22:03

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

2 Answers 2

Add a DNS A record to point the subdomain to the different server's ip address: 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 hosted on Dreamhost using Dreamhost's DNS. It has an A record of My Rails app is at 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 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 with value of (IP of A record of the blog on and it redirects to – Aen Tan May 1 '11 at 6:57

Your Answer


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