public_html

PCTech

Verified User
Joined
Nov 27, 2005
Messages
104
Location
USA
I just got my server and have DirectAdmin. There is no public_html folder listed. I'm trying to figure out exactly where that folder is supposed to be. My actual domain name has not linked to my IP address yet and when I put http://my.ip.address I get the apache placeholder (but I think that is on Staminus' site).

Thanks
 
Your IP address takes you to /var/www/html which is the server's html area. It's like the public_html area for the server name (server.domain.com) associated with your IP. Squirrelmail, webmail, and phpmyadmin installs reside in this area. I typically will put a php redirect in there as index.php so the apache page will not come up for the general public.

Within DA you will find the puiblic_html space for the domain you associated with your admin account here:

/usr/home/admin/domains/yourdomain.com/public_html
 
Ok - just before I got your reply, I figured it out. It is http://my.ip.adddress/~user.

But I wonder if there is any way to 'manage' the site via something like CPanel? For *my* site, I can use putty to do it. But I will be reselling hosting and would like something easy for my users. A way for them to upload files and view their site via a web based tool.

Thanks a lot!
 
NICE! :D - I assumed DirectAdmin was another version of CPanel and sorry to ask here, but I wasn't sure. I'm new to this and learning! :) Thanks for the info.
 
I just thought of something - you said:
http://www.yourdomain.com:2222 or http://youripaddress:2222
I assume when I set up other sites they will have the same IP as me but us a different name after the ~, how would they gain access? (or does the username and pass put them in the right spot)?
 
Ok - this is all making sense, but - it referes to 'users' as 'resellers' I created a test account and can login to it fine, however, this isn't a reseller, it is someone that I want to allow to have a website on my server. I don't want them to be able to add other 'resellers' - any way around this?
 
Your admin account has 3 levels of control. If you want to create a reseller, you do it from the Admin level. If you want to create a user, you do it from the Reseller level. The Reseller has 2 levels of control and create user accounts within the bounds of a Reseller "package" assigned to him/her. The user has only the User level controls and can create only the things within the "package" assigned to him/her.

Personally, the only accounts I create from the admin level are my own. I have a reseller account that creates all user accounts for my hosting customers. It keeps things clear for me. Everyone is different.

In the middle of the page linked to below, you will find Manuals for each level. You have some reading to do!

http://www.directadmin.com/support.html
 
Last edited:
Back
Top