sKunKbad Posted February 12, 2009 Share Posted February 12, 2009 I've got a Ubuntu server, and I have name based virtual hosting. The server is on a dynamic IP, and I use zoneedit/ddclient to keep it running 24/7. The server has the typical LAMP installation, and has phpMyAdmin installed, but I'm wondering how to let each website have its own installation of phpMyAdmin, or how to let all the websites use the same installation, but keep it secure. Also, I currently use Filezilla3 and its SFTP connection to move files back and forth, but how would I set up regular FTP so that a website owner could only access their account? Do I only install phpMyAdmin and FTP once, and then configure them, or is there a better way of doing it? I've tried searching for some tutorials, but haven't come across anything. The current O/S could be scrapped and I could start from scratch if it matters, but I do want to stay with either Debian or Ubuntu. Quote Link to comment https://forums.phpfreaks.com/topic/144887-setting-up-a-shared-hosting-web-server-and-keeping-it-secure/ Share on other sites More sharing options...
angelcool Posted February 17, 2009 Share Posted February 17, 2009 chroot; you must have some experience to set it up and could be a very tedious task. Quote Link to comment https://forums.phpfreaks.com/topic/144887-setting-up-a-shared-hosting-web-server-and-keeping-it-secure/#findComment-763945 Share on other sites More sharing options...
steviewdr Posted February 17, 2009 Share Posted February 17, 2009 Do I only install phpMyAdmin and FTP once, and then configure them. Yes. Apt-get everything. This way when security holes are found, a simple apt-get upgrade will install the latest updates. As for FTP, ideally you should run it in a chroot, but proftpd will let you seperate user accounts in its config with this line: DefaultRoot ~ -steve Quote Link to comment https://forums.phpfreaks.com/topic/144887-setting-up-a-shared-hosting-web-server-and-keeping-it-secure/#findComment-764161 Share on other sites More sharing options...
sKunKbad Posted February 18, 2009 Author Share Posted February 18, 2009 Hey thanks for your replies. I'm still learning more about my server, and also learning more about Linux in general. Quote Link to comment https://forums.phpfreaks.com/topic/144887-setting-up-a-shared-hosting-web-server-and-keeping-it-secure/#findComment-764960 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.