Domain Issues

InspecterJones

Verified User
Joined
Feb 27, 2009
Messages
7
I've got a question about the user level, is it capable of doing the following:

if tom has tomsloveshack.com as his main domain and his wife wants marysloveshack.com can it be hosted out of a directory within his account?

tomsloveshack.com = /
marysloveshack.com = /mary/

I'm assuming the domain pointing can do that but I'm just trying to make sure, cause that option seems kinda confusing. How would you fill that out?
 
It is possible, but it requires a symlink (therefore an SSH access).

- add both domains within the tom account
- go to domains/tomsloveshack.com/public_html with SSH
- create a symlink by running "ln -s ../../marysloveshack.com/public_html mary"

Now domains/marysloveshack.com/public_html and domains/tomsloveshack.com/public_html/mary share the same content, achieving what you want.

In a normal setup this should be done by other meanings (custom DNS setup and mod_rewrite or custom VirtualHost), but those are not DA-friendly.

It exists another possibility, scripting the virtualhost creating hook of DA, but it's far more complex.
 
It is possible, but it requires a symlink (therefore an SSH access).

- add both domains within the tom account
- go to domains/tomsloveshack.com/public_html with SSH
- create a symlink by running "ln -s ../../marysloveshack.com/public_html mary"

Now domains/marysloveshack.com/public_html and domains/tomsloveshack.com/public_html/mary share the same content, achieving what you want.

In a normal setup this should be done by other meanings (custom DNS setup and mod_rewrite or custom VirtualHost), but those are not DA-friendly.

It exists another possibility, scripting the virtualhost creating hook of DA, but it's far more complex.

This would require one time ssh access? would it always match the directory? or would every change to the /mary/ directory require this step to be re-done?
 
Back
Top