How to Use Net2ftp As File Manager for Vestacp and Add Domain Redirection
Edit Article

  • 1 Editor

What you'll need: A SSH customer like Putty and fundamental learning about how to utilize it. Essential information about basic Unix summon to SSH to your server. A server or VPS with no less than 512MB of RAM (1GB suggested). In the event that you not as of now have one then you can read my rundown of prescribed VPS suppliers or this top low end cloud server suppliers. Brisk proposal: Atlantic.net, Digital Ocean and RamNode. Ensure your server is running one of VestaCP's bolstered OS Debian 7 or Ubuntu 12.04/12.10/13.04/13.10/14.04. Utilizing negligible layout is suggested. Around 20 minutes of your time some espresso or tea.

Step 1 – INSTALLING VESTACP

Before we proceed with, I ought to let you know that the instructional exercise beneath done in a VPS with 512MB RAM running CentOS 6.6 32-bit. It is prescribed to utilize higher RAM. You need to alter the order if your server is running other than CentOS.

  • Login to your server as root
  • Install Vesta CP using command below:
  • It will then solicit you with arrangement from inquiries. Simply answer it in like manner:
  • Once done you'll see something like this which you can see your login URL alongside administrator username and some arbitrary watchword (you can change that later).

Step 2 – VESTACP BASIC CONFIGURATION

  1. Changing default administrator secret key
  2. Alter facilitating bundle design
  3. Include new site it (DNS passages will be produced consequently by means of this errand)
  4. Include new database it (if your site need it)
  5. Transferring/relocating your site on it

Configuration for the purpose of this tutorial:

  • VestaCP user: admin
  • org (doesn’t exist, test purpose only)
  • Package: Default (https, nginx and name all default)
  • App: WordPress installed.
  • Web directory: /home/admin/web/servermomtest.org/public_html

Step 3 – INSTALLING NET2FTP

About Net2FTP: It is essentially an online FTP customer however it has every regular component an electronic document supervisor additionally has yet it use FTP as association with interface you as client with your server so you can have admittance to all your web records & envelopes.


Primary key components: Peruse your web indexes Upload and download files Alter records by means of implicit document supervisor Duplicate, erase, rename and move records and organizers. Look documents, and so on.

HOW TO INSTALL NET2FTP ON VESTACP SERVER

Open up Putty or Terminal and SSH (login) to your server as root or client with root (sudo) benefit: Navigate to one of your web indexes (pick one site as principle one). For instance I utilize servermomtest.org and make new envelop. Name that envelop as file_manager: cd /home/admin/web/servermomtest.org/public_html mkdir filemanager cd filemanager


Download most recent stable adaptation of Net2FTP and concentrate the bundle:

http://www.net2ftp.com/download/net2ftp_v1.0.zip unzip net2ftp_v1.0.zip

It will make another catalog called net2ftp_v1.0, so go inside that envelope, move all records and organizers to upper index then erase the vacant organizer: cd net2ftp_v1.0 (shopt -s dotglob; mv -- * ..) cd .. rmdir net2ftp_v1.0

Go to files_to_upload directory and move all the content to upper directory:

cd files_to_upload (shopt -s dotglob; mv -- * ..) cd .. rmdir files_to_upload

Change permission of temp directory to 777:

Next, edit the settings.inc.php file using your favourite text editor like Nano:

1 nano settings.inc.php

It will look like this: Insert Image 10 There are couple of parameters you can alter inside that setting document. All the fundamental however important things you need to alter are: email address, administrator username, administrator secret word, kill your signing on/(MySQL database required), pick on the off chance that you need to set a day by day utilization limit (requires a MySQL database). In the event that you need to utilize your server as web facilitating suppliers than you ought to turn signing on and set day by day utilization limit. Be that as it may, you can leave those off on the off chance that you simply plan to utilize it as individual facilitating server.


Another essential settings: Permit or not extensive record transfers and exchanges (set the farthest point coz as a matter of course is set to 10MB) As for me, because I just want to use the server as hosting so is just define admin/password. Done adjusting settings? You can now save the changes and exit .(in Nano it is Control+O then Control+X)

Step 4 – GIVE IT A RUN

Now you have installed Net2FTP on your server http://yourdomain.tld/filemanager Open up your web browser and go that url (replacing it with your real domain)


In the event that you've set up an A record for your ftp url in DNS chief then you can utilize ftp.yourdomain.tld or on the other hand just put your VPS IP address there. For Username and secret word field, utilize the username and watchword you use to login to VestaCP which my sample is administrator. On the off chance that you made another Vestacp client for your customers, then you can instruct them to utilize their Vestacp username and secret key to get to their site's documents and organizers by means of the same url above. When you signed in, you'll see something like this:


all files of your website(s) are located at /web/domain.tld/public_html


Well I think this subject is really fascinating: how to make space/web redirection utilizing VestaCP. The arrangement is fundamentally straightforward which I think on the off chance that you are well sufficiently known with LAMP (or say Apache), however it is really befuddling for a few novices. So here it is a short/snappy Vesta Control Panel instructional exercise committed for amateur.


Not at all like WHM/cPanel that gives certain menu to make Domain Redirection so a client will comprehend what is it and how to utilize it, VestaCP doesn't have that element so clients will need to make utilization of and make Apache .htaccess Redirection physically. All menus explain clearly what task each of them is capable of, so do not shy to try them. Enjoy,.. please do not feel shy to drop a comment below. I hope you’d like my article. Please do not hesitate to drop a comment. Thank you

Article Tools

Did this article help you?

YesNo

Become
an Author!

Write an Article