Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain which is parked onto

I have created the subdomain by editing's named file:

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

This works somewhat: if I go to it redirects to

This is my question:

I would like to redirect this subdomain to as that is the domain it is parked on. I do not know how to do this as 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?


EDIT: Clarification

share|improve this question

1 Answer 1

up vote 0 down vote accepted

I have solved this issue.

  1. Edit's DNS record so it has a subdomain: m 14400 IN A ip-address
  2. Add to's ServerAlias in httpd.conf
  3. Restart both Bind and Apache
  4. Going to will now bring you to
  5. You can then use's .htaccess for your normal URL rewriting.
share|improve this answer

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.