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; www.parked-domain.com/

To show the content of this sub-directory; www.first-domain.com/parked-directory

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

Regards,

Dean.

link|improve this question
feedback

2 Answers

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.

link|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
feedback

Try this:

http://www.instacarma.com/blog/technical/pointing-parked-domain-to-a-sub-directory/

link|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 at 18:16
feedback

Your Answer

 
or
required, but never shown

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