Subdomain Hosted on Different Plan from Domain?

Hi guys, my friend at (examples used) has created a subdomain ( for me on their Dreamhost account, and I would like to assign my Dreamhost-hosted domain ( to this subdomain. How can I do this?

In other words, I want to point to using DNS or something like that – no messy redirects. Do you know how I can accomplish this?

You will have to “redirect” in some form or another. Redirection via Panel would probably be the preferred method (click Edit next to your domain and scroll down to Redirect) which should have the effect of redirection occurring close to the DNS level - but I’m not entirely sure how Panel handles it.

A quick, basic method is to edit placing this at the top:

header("HTTP/1.1 301 Moved Permanently");

The above involves first-time visitors querying your own server first before being redirected.

PMJI - I have a similar situation, just want to really confirm the answer:

I want to host but I do not host here. I was going to tell them to set their DNS for that subdomain to point to DH where we would handle services, but in order to host a subdomain, the panel is telling me we first need to host the domain.

In short, I don’t own but they are eager to point a subdomain here.
Can we do that without http redirect?

If not, what issues are we facing? I’m thinking a redirect will be messy too but I’m wondering just how clean a cloak or other mechanism is. If someone comes to, is there any indication to the user that they’re landing at


Add to your account as a DNS-only domain, then add the subdomain.