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: subsim@subsim.com, at: 2009/03/21 05:36
The only thing I can find in the documentation is:
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.
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).
Argh, it says bug tracker, I didn't want to spam it with hand-holding requests
“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.)
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:
ftp://ftp.YOUR_DOMAIN_NAME.com/path/
And that should prompt you for a password, where you can enter the FTP account into.
-Eric
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
Virtualmin:
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”
Save
This will create the user3 folder in public_html
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
HTTP 403
Most likely causes:
This website requires you to log in.
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.
-Eric
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.