Yes, for example I have a shared hosting plan that I can create hosts
like db.mysite.com and db.othersite.com but they both point to the
same db server, called dbxxx.myhost.com. All of these are
interchangable, so I can use the non RoR domain to access the RoR
database.