Where to upload files for root domain

anay

Verified User
Joined
Dec 7, 2005
Messages
120
I have to make a site for a domain . The problem is that its a root domain for a DirectAdmin server and the passwrod I am provided with to log in ftp is having no place to upload files
..

I think for root domains files are at /var/www/html

but login via ftp is taking me to /home/admin

and there is no place to upload files.

Opening root domain presenst me ::

PHP:
 Hey, it worked !
The SSL/TLS-aware Apache webserver was
successfully installed on this website.

If you can see this page, then the people who own this website have just installed the Apache Web server software and the Apache Interface to OpenSSL (mod_ssl) successfully. They now have to add content to this directory and replace this placeholder page, or else point the server at their real content.

    ATTENTION!
    If you are seeing this page instead of the site you expected, please contact the administrator of the site involved. (Try sending mail to <webmaster@domain>.) Although this site is running the Apache software it almost certainly has no other connection to the Apache Group, so please do not send mail about this site or its contents to the Apache authors. If you do, your message will be ignored. 

The Apache online documentation has been included with this distribution.
Especially also read the mod_ssl User Manual carefully.

Your are allowed to use the images below on your SSL-aware Apache Web server.
Thanks for using Apache, mod_ssl and OpenSSL!  Hey, it worked !

Basically I want to configure a site over there..
 
DirectAdmin specifically says to use a hostname independent of any site name. Now you know at least one of the reasons why :) .

You can create a user and point the user's home directory to /var/www (not /var/www/html because otherise your ftp user won't be able to get into the cgi-bin directory, which is on the same level as html).

But you'll have to do it manually, and make sure that you set up proftpd.conf properly so the user can ftp into that directory. And don't forget to change the file and directory rights so the user can get there, and write there.

Jeff
 
I removed the domain from admin panel and then again added it as new user and I got my problem solved. Ofcourse I had to change the HOSTNAME also .
 
Back
Top