View Full Version : home to symlink to home?
neorder
08-02-2004, 08:09 AM
i've a user deleted his public_html accidentally, now i've recreated a public_html for him, but what is the standard format to syslink his public_html to the real public_html?
say he has 2 domains hosted in one account, how can i do symlink?
below doesnt work
ln -s /home/public_html /home/user/domains/domain.com/public_html?
thank you.
nobaloney
08-02-2004, 09:08 AM
Nope, it sure doesn't. :)
I'm not exactly sure what you want to do.
He has multiple domains?
So under /home/user/domains he has multiple domains?
Is there a /home/user/public_html link to /home/user/domains/domain.com/public_html?
If not, then that's what you need to create.
The easy way to create it is to log in through the DirectAdmin http administration page for that user, and make the domain you want the "default domain".
That'll create the link.
Jeff
neorder
08-02-2004, 07:21 PM
i've tried
ln -s /home/da/domains/hisdomain.com/public_html /home/da/public_html
but it doesnt' create a public_html shortcut under /home/da.
the user claim that he din't delete it, is it possible due to the DA upgrading from 1.22 to 1.24? :confused:
nobaloney
08-03-2004, 08:54 AM
I hesitate to respond since you didn't say whether you tried my method or not.
But...
Do you get any kind of error when you try to create the link?
If not, what happens when you search for public_html ?
# find / -name "public_html"
You should get a bunch of directories and links.
Check 'em all. I sone of them misplaced?
Jeff
Powered by vBulletin™ Version 4.0.4 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.