These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Created FTP user and his home directory, cant FTP on the new forum.
In Mail and FTP Users, I "Added a user to this server", with e-mail and FTP.
Defined "Subdirectory of server's home" as /home/domain_name/public_html/user_folder
Using the username.domain and the password, I should be able to log into his directory for him, right?
I have tried both www.domain.com and www.domain.com/user_folder as the hostname in FTP.
When I try to log into the Usermin for that user, I get Failed to create /home/subsim//home/domain/public_html/user_folder/.usermin : No such file or directory
I checked my public_html directory for the domain and there is a folder called user_folder there for the FTP user.
What am I doing wrong? Thanks<br><br>Post edited by: firstname.lastname@example.org, at: 2009/03/21 05:36
Has anyone else set up directories for users with Virtualmin?
Well, if you tell it to create a user with email rights, and you later try to log into Usermin and you get an error, that's likely a bug of some sort.
So -- the first thing I would do is install the version of Usermin that just came out today, delete the user, and re-add it.
If that doesn't solve the issue, I'd go ahead and file a bug report, using the Bugs and Issues link below.
The only thing I can find in the documentation is:
<div class='quote'>Another way, which I believe is the best option (saving the best for last!) and most closely matches what you're currently used to without the security implications, is the Automatically create alias domain option (found in every Server Template, though to keep it simple you can just edit the Default template). Just select the radio button beside "Create under" and fill in the domain under which you'd like all of your customer domains to appear.
This option will cause Virtualmin to create a subdomain under your domain for every new domain you create--this will be immediately accessible with a name like "newdomain.mydomain.tld". Easy to remember for the user (because it's their domain name, plus the name of the company they're hosting with), and it isn't a path-based automatic thing, so non-virtual host home directories won't be potentially exposed in any way, as with the Automatic virtual hosts method above (as used by Ensim, cPanel, and others, I reckon). If you need public access to sites, this is the method you really want. Note that this method also does not break SuExec, as the automatic hosts option does, so CGI scripts (and PHP once we get FastCGI+SuExec working) will run as the user that owns the domain...this is safer.
Where is the option to "Automatically create alias domain option" located in the Virtualmin CP??
Bah, I paid $200 for a 50 domain license for this and there is no other means of support than this forum.
<div class='quote'>Where is the option to "Automatically create alias domain option" located in the Virtualmin CP??</div>
Server Templates->Default->Virtual server creation
<div class='quote'>Bah, I paid $200 for a 50 domain license for this and there is no other means of support than this forum. </div>
Where did you get that idea?
This link is in the menu on every page. We have a support ticket system for Virtualmin Professional users, and response time is usually less than 24 hours (usually much less during business hours).
Check out the forum guidelines!
Argh, it says bug tracker, I didn't want to spam it with hand-holding requests :(
thanks, I'll see if I can get a little farther down this road.
<div class='quote'>Argh, it says bug tracker, I didn't want to spam it with hand-holding requests</div>
"Bugs and Issues". You've got issues, and we want to help. ;-)
I'll try to make it more apparent on the new website that the tracker is for both bugs and support issues. (We used to have two tracker instances, one for support and one for bugs, but it was hard for us to keep up with and maintain both, and folks were often filing in the wrong one anyway.)
Check out the forum guidelines!
The Virtualmin folks do watch the forums though, and we try to help out here as well as well as in the Support Tracker... it's just that Sunday afternoon isn't always the best for getting timely responses :-)
Personally, I just got an RC airplane, and boy, it's been hard to stay inside lately!
As for connecting to FTP in a browser, I would use a URL like so:
And that should prompt you for a password, where you can enter the FTP account into.
Thanks, Andy, I guess it is a bug, this is a pretty simple thing I used all the time witn Ensim. I will report it.
Ok, it turns out
<div class='quote'>Defined "Subdirectory of server's home" as /home/domain_name/public_html/user_folder
is incorrect, it should just be
Now, I have the folder, still trying to connect with FTP and figure out what the URL is to connect with browser.
Ok, here's my status (and it's mostly good).
I was not trying to set up ftp://ftp.YOUR_DOMAIN_NAME.com/path/
I wanted to create users with their own folder, and viewers could see webpages via http://www.domain.com/user/
Hallelujah, I got it to work! For other n00bs who read this, here is how I did it (andy, joe, read the next post for my question).
HOW TO ADD A USER AND HIS FOLDER
get the domain in the dropdown list that you want to create a user in
>Edit Mail and FTP,
>Add a user to this server.
>Add username and password,
>In Quota and home directory settings, check the "Subdirectory of server's home": public_html/user3
;subsitutue the name of your user for "user3". in this case, folder is named "public_html/user3"
This will create the user3 folder in public_html
Upload an index.htm page
In web browser: http://www.domain.com/user3/
I created 4 users this way and everything worked fine.
My problem: I selected another domain in Virtualmin to create a user in the same fashion. Everything worked except, I cannot view the index page in my browser:
The website declined to show this webpage
Most likely causes:
This website requires you to log in.
What am I missing? Thanks!
What URL are you using to try and access it?
The URL is http://www.helosim.com/flyboy/
I have no problem with the other folders I've set up under the other domain:
Okay, so it looks like you're getting a good 'ol permission denied error.
You might look in the Apache error_log for an exact cause, but I'd make sure that you have an index file in the public_html folder (sometimes not having one can cause an error like you're seeing).
I'd also make sure the permissions on the public_html folder and files inside it are readable by the virtual server owner.
There is an index file in the folder, just like the folders on the other domain. I'm giving up on using Virtualmin to create user folders. It works "some" of the time, but like this case, even though I follow the same steps, I cannot get it to work properly.