View Full Version : Multi Domains
AtomicRax
06-29-2004, 10:23 PM
I have a request for a feature.
I have a client that has multiple domains set up on his account. However, his DNS has not yet changed.
There is a way to view the default domain by going to http://IP/~username
Is there, or can there be, a way to view each domain by going to something like http://IP/~username/domain.com instead of having to switch default domains each time?
nobaloney
06-30-2004, 11:10 AM
Not easily, because each domain is in it's own directory space.
You'd have to have shell access as root, and then create symbolic links.
You can do it for subdomains, though.
Jeff
AtomicRax
06-30-2004, 11:13 AM
Yeah, but they already have a pointer that /~user points to the default domain... So why can't they just add a new pointer for each domain? This should be a DA feature, not something I have to do manually every time...
nobaloney
07-01-2004, 12:29 AM
Because the "~user" designation refers to a linux user, and a site user is a linux user.
The standard httpd setup is for ~username to refer to the html directory directly under the username.
To allow what you'd like DA would have to create a non-standard httpd setup that, in my opinion anyway, would be counterintuitive to anyone who's ever set up or added files to a website.
For me it would create a technical support nightmare that would probably force me to abandon DA; your mileage may very well vary.
As far as creating links automatically inside a public_html directory? I could see where that could play a lot of havoc with (for example) anyone using FPX.
DA is designed as a hosting server to serve the hosting needs of the majority of users.
Jeff
AtomicRax
07-01-2004, 12:45 AM
Ok, I tried.
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.