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 have run into a problem which is that my web host doesn't appear offer addon domains.

I currently have a domain name pointing to my name servers.

I went into cPanel to add an addon domain that points to a sub-directory, but all that is available in cPanel is to park domain at the document root which is 'public_html/'.

So traffic coming from the parked domain would get the wrong content, which is obviously not good.

I get the feeling that this isn't possible, but can I change the parked domain document root from 'public_html/' to 'public_html/sub-directory' ?

Or perhaps can I edit the .htaccess file to redirect traffic from the parked domain to the sub-directory?

Basically I want this address;

To show the content of this sub-directory;

I hope this is possible otherwise I need to look at a new web host.



share|improve this question
up vote 0 down vote accepted

No, its is not possible.

Parked domains does not have any hosting space. It can only mimic the main domain with different name.

share|improve this answer
Yeah I thought so, wishful thinking I guess.. Thanks for the reply. – user77996 Apr 11 '11 at 15:00
So do you think the best option would be to switch web host provider? – user77996 Apr 11 '11 at 15:07

Try the technique from Pointing parked domain to a sub-directory.

Supposing the Parked domain is and the folder inside the main site is /parked, use this rules:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST}
RewriteCond %{REQUEST_URI} !parked/
RewriteRule ^(.*)$ parked/$1 [L]
share|improve this answer
Welcome to Server Fault! Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Iain Mar 15 '12 at 18:16

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.