PDA

View Full Version : point domain to a directory?



hanzo
01-08-2006, 11:47 AM
Hello,

Is it possible to point a domain to a directory other than the main directory?

And how?

Thanks alot!

sullise
01-08-2006, 01:06 PM
You could symlink /home/username/domains/domain.com to another directory. (or /public_html).

hanzo
01-10-2006, 11:54 AM
mm is there no way through the control panel?

I need it set up automattically ( I own http://friendsclub.be/ )

sullise
01-10-2006, 12:35 PM
I'm sorry, I misunderstood your question.

You want to have http://friendsclub.be/ point to a directory othre then the root (public_html/), say (public_html/somedirectory)?

http://www.site-helper.com/misc.html#redirect

hanzo
01-10-2006, 12:46 PM
You want to have http://friendsclub.be/ point to a directory othre then the root (public_html/), say (public_html/somedirectory)?


No, I want
www.example.com
to point to
http://www.friendsclub.be/example

Like a domain pointer but then to a map inside my account instead of the main account.

Thanks

sullise
01-10-2006, 07:55 PM
Probably going to have to use .htaccess and redirect then.

hanzo
01-11-2006, 04:18 AM
I'll try thanks:)