Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to migrate a site to a new server (centOS5 and plesk 9.2.1)

I would like to get the site running on a subdomain before pointing the root domain to the new server.

In plesk I created and the subdomain and then I pointed to my new server. That works.

plesk setup folders as follows:


At the moment, shows the index file in

I would like to serve the files out of

Here is what I have tried. - using a server alias in plesk instead of a subdomain - using a subdomain, then modifying's DocumentRoot in httpd.include to be and restarting apache

I've searched everywhere, is there an easy way to achieve this?

share|improve this question
up vote 4 down vote accepted

I figured it out. It was actually quite easy. I am just dumb. I'm posting my "solution" (if you can call it that) in case another noob is having the same problem.

I created the DomainAlias and enabled the local DNS service. Done.

Note: When I created the domain alias, I disabled synchronizing the DNS zone, because I didn't want the subdomain ( to be pointed to the old server, which is currently serving

share|improve this answer
+1 for following up your own question with an answer for future people with this problem – Mark Henderson Jul 30 '09 at 1:30

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.