Create and redirect subdomain for a parked domain?

Posted by Steve on Server Fault See other posts from Server Fault or by Steve
Published on 2012-11-25T15:58:14Z Indexed on 2012/11/25 17:05 UTC
Read the original article Hit count: 220

Filed under:
|
|

I have a domain parked.com which is parked onto real.com.

I have created the subdomain m.parked.com by editing parked.com's named file:

m 14400 IN A  ip-address
www.m 14400 IN A  ip-address

This works somewhat: if I go to m.parked.com it redirects to http://m.parked.com/cgi-sys/defaultwebpage.cgi

This is my question:

I would like to redirect this subdomain to real.com as that is the domain it is parked on. I do not know how to do this as parked.com does not have its own .htaccess file, etc. (due to it being a parked domain) so I can't do any mod_rewrite magic.

Can anyone help me?

Thanks

EDIT: Clarification

© Server Fault or respective owner

Related posts about dns

Related posts about redirect