Webroot Directory
Posted by: jastanle84
Posted on: 2006-12-22 10:20:00
If my host domain name is stoodup.net what is my web root on dreamhost?
is it /stoodup.net or / or something else?
Posted by: jastanle84
Posted on: 2006-12-22 10:20:00
If my host domain name is stoodup.net what is my web root on dreamhost?
is it /stoodup.net or / or something else?
Posted by: rlparker
Posted on: 2006-12-22 11:00:00
Unless you changed it form the default when you "added the domain", on DH your "webroot" directory is the same name as your domain name. So, in this case, it appears to be "stoodup.net".
Note that *is* very different than "/stoodup.net" in *nix (Dreamhost runs Debian Linux) terms.
The full "path" of that directory will be :
/home/.something/yourusername/stoodup.net
When referring to the directory in scripts or programming you can (and should) omit the ".something/" part of the path.
--rlparker