CentOS 5 :: Virtual Hosting With VSFTPD And MySQL?
Jan 31, 2010
I thought someone might find this useful and not have to lose a day for getting it work... (as I did)...
so this is a Tutorial HowTo based on Virtual Hosting With vsftpd And MySQL On Debian Etch but with modifications needed to work on CentOS 5 (in my case it was CentOS 5.4 x86 32bit).
You will need (if not already installed): yum install vsftpd mysql-server
View 12 Replies
ADVERTISEMENT
Jun 2, 2010
I am running vsftpd-2.2.2-3 on my Fedora 12 box. This box has multiple IPs. What I am looking for is make vsftpd listen on those multiple IPs and when a user FTPs to a certain IP, they get landed to the home directory that has been configured for the IP.
This feature is there in Proftpd and is called virtual hosting. I tried to find for Vsftpd such feature, but couldn't find out exactly how to implement in it. how to implement virtual hosting in Vsftpd?
View 1 Replies
View Related
Nov 3, 2010
I have just finished bulding a virtual web hosting server on my CentOS-5.5 x86_64 linux box with several websites hosted and its working fine. Now I have to build and FTP service in this webhosting server so that i can create indviudal login for each website and provide access to thier respective web directory only. This is where I am stuck. I have been trying to find out some docs and instructions to achieve this but in vain.
What I need is to configure an FTP service in the web server so that individual owner of websites can login to thieir respective web directories only and upload and download files as well as create, delete and modify the contents of their web directory.
View 1 Replies
View Related
Aug 8, 2010
Over the years I've had various flavours of linux on webservers, each has handled this in it's own way - some due to the GUI that was installed etc...
What is your prefered way of holding NameBased Virtual Host records...?
Is it like the redhat system having a sites-available and a sites-active and sim linking the records of the active sites and having httpd.conf only get the info from sites-available?
I know that some people have all the Virtual Hosts records at the end of httpd.conf (or apache2.conf)
What would you do if you had to start a fresh?
I'm running
CentOS 5.5
LAMP (Latest versions at 1/8/10)
View 4 Replies
View Related
Aug 18, 2011
I have designed name based virtual hosting in apache. as of now,I am able to access website using IP also. which is I am looking to block, only can access by the name
View 7 Replies
View Related
Jun 1, 2010
I'm following the directions on the following page but I'm getting a 530 login error:[URL]My vsftpd.conf file looks like this:
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
[code]....
View 3 Replies
View Related
Aug 10, 2011
Using THIS I was able to get virtual users working via standard ftp. After wrestling with selinux and such I'm able to log in as a user defined in the virtual-users file.
At the bottom is the vsftpd.conf. I can start the server no problem. I've been making edits to it so I'm not sure what's right/wrong at this point in it. I have a snapshot I keep reverting to where ftp works with virtual users and then I start monkeying with it again.
First problem I have is I'm not exactly sure how to test it. If I use WinSCP, I try SFTP and in the vsftpd.log I see:
Quote:Wed Aug 10 12:47:50 2011 [pid 3667] CONNECT: Client "192.168.xxx.xxx"
Wed Aug 10 12:47:50 2011 [pid 3667] FTP response: Client "192.168.xxx.xxx", "220 (vsFTPd 2.0.5)"
[Code].....
View 1 Replies
View Related
May 15, 2010
me know the detailed reason that why we can't use name based virtual hosting with SSL
View 1 Replies
View Related
Feb 7, 2010
Just wondering if it's possible to do virtual hosting without a registered domain name. I'm running slackware 13 and just trying to do it like this in my vhost config:192.168.15.149/test1.phpand 192.168.15.149/test2.php
View 14 Replies
View Related
Jun 13, 2010
i am configuring a web server with multiple virtual host on RHEL4 AS but i m getting no error except the following one.but when i browse the web site it does not work even
Starting httpd: [Sun Jun 13 05:53:57 2010] [warn] NameVirtualHost *:80 has no VirtualHosts
my httpd.conf file is as follow
Use name-based virtual hosting.
#
NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
[code]....
View 6 Replies
View Related
Apr 8, 2010
I was told that I could create multiple websites ona single machine useing Virutual Hosts.I have RedHat Linux 9 running Apache/2.0.40. I want to make offline test sites to learn with and have read it is as simple as changing /etc/httpd/conf/httpd.conf file but I have not been able to make it work yet. I have read over the past 3 days of working on this that the default virtual host must contain the same DocumentName and ServerName as the global info above the Virtual Host Section in the httpd.conf file.Above Virtual Host Section:
Code:
Listen 80
ServerName localhost:80
[code]...
View 9 Replies
View Related
Jan 10, 2011
I've been trying to get my name-based server to work for a week now. I've read about everything there is and double checked my configs, but when I go to any of my sites, it always goes to the first virtual host.Here is my Webmin system info -Quote:
System hostnamelocalhost.localdomain
Operating systemRedhat Linux Fedora 11
Webmin version1.530
[code]...
View 6 Replies
View Related
Apr 11, 2011
I am trying to get name based virtual hosts all running on HTTPS (port 443) so I can run multiple sites on the one IP.
The DocumentRoot needs to be different for each host.
[URL]
However, I am unable to find where to actually enable these hosts in the configs. The apache website says to put it in httpd.conf however that file is empty on my machine.
The existing default virtual hosts are in "/etc/apache2/sites-available/default" and "default-ssl"
The main config file is /etc/apache2/apache2.conf
I am running version 2.2.16 of apache
I need to use the same .htpasswd file for all the sites.
I have configured CNAMES on my domain for all of these hosts.
View 4 Replies
View Related
Jul 9, 2010
I am having trouble setting up name based virtual hosting on my Linux Webserver. I have two websites: I need the lowcostchemicals site to use a SSL certificate which I have already created and added to a folder [URL] The lowcostchemicals site needs to go into the folder:[URL] The [URL] site needs to go into the folder [URL] I have tried to set up the virtual hosts but all of the sites go to the root folder: var/www/html/
View 1 Replies
View Related
Feb 21, 2011
i was trying to do some maintenance on the database and i have the following problem when looking at the database with phpmyadmin on the site
Code:
Table Ation Records Type Collation Size Overhead
uc_order_products_pair_vw Browse Structure Search Insert Empty Drop ~01 View --- unknown -
uc_order_products_qty_vw Browse Structure Search Insert Empty Drop ~01 View --- unknown -
uc_order_products_user_vw Browse Structure Search Insert Empty Drop ~01 View --- unknown -
[Code].....
View 2 Replies
View Related
Jul 27, 2011
I am a newbie trying to enable virtual hosting and run it on a local machine without fqdn. I checked the http://9.9.9.92/ (my IP address) site and saw my (default) page. I would like to virtuly host a asdf.com If virtualy hosting is setup properly - how do I access the new setup? Just type http://asdf.com ? or is there more to it?
View 6 Replies
View Related
Apr 13, 2011
Ubuntu 1010 server 64bitlighttpdFor the 1st domain,say domain1
I name the index file as:
/var/www/index.html
/home/lighttpd/default/http/index.html
[code]....
View 4 Replies
View Related
Feb 9, 2011
I am having vitural hosting around three websites using Centos. I need to type in the full domain name include www to enter the 2 of the vitural hosting sites. Pros and Cons of vitural hosting vs separate machine? I got a questions about static IP. Assume I having a linksys router with port forwarding function, I have three seperate machines with different private address connect to the same linksys router. Can I entry all private address forward to port 80? Does it work? If I insist to host website on three machines, does that mean I need 3 static IP and 3 linksys router? I got two conventional web services only showing information but one got mysql db for user to input data, thats why I asking if it is good idea to seperate web page on different machines.
View 14 Replies
View Related
Oct 14, 2010
I've got a working Virtual Postfix server running with mysql doing user authentication. I have a support email address set as support@hostname.com, which has 5 aliases associated; user1, user2, user3, user4, and user5. When an email is sent to support@hostname.com, all 5 users receive the email, just as planned. What I'm looking to do is when an email is sent to support@hostname.com to have it rotate through the members of the alias group. That way all members of the group get support emails evenly and not everybody all at once. Is this possible?
View 4 Replies
View Related
May 10, 2010
I have some problem in apache2 configuration. I have two websites on same IP on LAN.i.e. 192.168.1.5
[Code]...
What should I check in a few blogs I checked they said to mention in [URL]...But in this case what should I put I have two different websites or what other thing I have missed? I do not have access to DNS so that on LAN I can point site1.abc.com and abc.com to same IP 192.168.1.5 which to me seems could resolve the issue.
View 6 Replies
View Related
Jun 10, 2009
I have a running instance of vsftpd. It works like I want for ftp.thisdomain.com and now I want to have it serve for ftp.thatdomain.com from a diifferent document root at the same time. Just lik I can do with Apache. Is this possible? So browsing to ftp.thisdomain.com will take you do /home/ftp/.And browing to ftp.that domain. com will take you to /home/ftp/thatdomain/
View 1 Replies
View Related
Mar 27, 2011
Ubuntu 10.04 32 bitsvsftpd 2.3.4 installed from sources
Code:
# cat vsftpd.conf
listen=YES
[code]...
View 1 Replies
View Related
Jan 18, 2009
Vsftpd virtual users, when a user connects via of ftp they can view all files in the file system. Have a virtual web server and vsftpd working, each user's username is their domain name. FTP works, but not the way I wish for it to work. I only wish for a user to be able to view the files under their username, not the entire Fedora file system and limit changes to files ONLY under their domain name.
View 4 Replies
View Related
Mar 27, 2011
Ubuntu 10.04 32 bitsvsftpd 2.3.4 installed from sources
Code:
# cat vsftpd.conf
listen=YES
[code]...
View 1 Replies
View Related
Jul 6, 2011
Can some one help me to configure vsftpd with Virtual and System user
View 37 Replies
View Related
Aug 31, 2010
I want to upgrade existing MySQL 5.0.77 version on CentOS 5 Red Hat Linux to MySQL 5.1.x. Is anybody have list of patches or upgrades to upgrade to MySQL 5.1.x?
View 6 Replies
View Related
Jan 30, 2010
I have a CentOS 5 server in which I use Virtual Hosting and each domain has its own user/pass for login to upload files. The path is /var/www/vhosts/domain name]/httpdocs/What im attempting is setting up the creation of the [domain name] folder from an administration backend under PHP, which I am developing. What Im worried about is if I allow PHP to run command line commands such as mkdir, then what is stopping anyone from doing the same from their php files on my server??? What is the best way to properly setup my server to allow automated creation of the domain structure within my folder system
View 3 Replies
View Related
Jun 25, 2009
I've rented a small virtual server with some friend for hosting our sites. we had lxadmin panel that is discontinued. Is there a free web-based panel for centos 5.3 that can be installed from a reliable repository without compiling (the vserver is too short on ram for such an operation).
View 1 Replies
View Related
May 4, 2010
setting up Bind for web-hosting as i am using Webmin to configure it?
View 4 Replies
View Related
Jun 4, 2009
I have MySQL 5.1.34 and PHP 5.1.6 installed on my system, how do I install php-mysql? Each time I try, it says
mysql-5.0.45-7.el5.i386 from base has depsolving problems
-- > mysql conflicts with mysql-server-community
error: mysql conflicts with mysql-server-community
View 16 Replies
View Related