Public_location on Root.

sumitomo

Verified User
Joined
Sep 25, 2009
Messages
7
Location
fishin pc
Hi,

Ive purchased a new managed vps which is using centos and directadmin from virpus.com

Now i need to asked about wheres the exact location of public_html. Start from im very new to linux, please suggest me with a full path
example :
/var/www/html

thanks.
 
/home/USERNAME/domains/DOMAIN.COM/public_html

Replace USERNAME with your actual username and DOMAIN.COM with your actual domain.
 
@sumitomo,

Did you do it as root? Did you literally spell out USERNAME or did you replace it with the username of the domain? Did you literally type out DOMAIN.COM or did you replace it with the name of your domain?

If you don't know the username you can do this:
Code:
# cd /home/*/domains/EXAMPLE.COM/public_html
where you replace EXAMPLE.COM with the name of your domain.

Once you've gotten there, then use:
Code:
# pwd
to learn where you are in the directory tree.

Remember that you do NOT type the #; it's there to tell you that you have to be root when you type the command.

If you do the above, and it's a standard DirectAdmin installation, that will work.

Jeff
 
Back
Top