Please configure the VirtualBox adaptor so an Intern IP from the same class as your device can be alocated:
Click right on our virtual machine in VirtualBox -> choose Settings -> go to Network where we must have:
Attached to: Bridged Adaptor, and on Named the LAN interface (the network board or the wireless, depends on the internet we use on our device and where the virtual machine is instaled).
Next, we install CentOS 6.8, and after the installation is completed, we must verify what intern IP was allocated to your virtual machine: to do this: to do this, in the terminal we write the command: ifconfig
After the OS is installed and you detect your Internal IP, you must open some ports from your router using Port Forward so our virtual machine could be accessible form outside.
1) You access your router in a browser
If you don't know how to access our router, it is better to read the user manual where you'll find the default IP / user and the pasword.
You can find the user manual on google, we need just to write the model of our router followed by the word manual.
Click for exemple
2) Go to Forwarding where you must add the following ports:
3) The port adding
Click on Add New…, where:
Service Port - is the external port of the protocol/ssh service, choose 22 for the internal port - ssh 22 (you can choose another port ex: 2222 so that the ssh can be accessed externally through another port)
Internal Port - the internal port of the protocol/service, in our case ssh 22
IP Address - the internal port of your virtual machine
Protocol - leave All
Status - Enabled
Do this steps for the each port mentioned at Step 1, point 2, until, at the end, you have:
4) Test if you can access your virtual machine from outside:
- first, you must check which is your IP, open a browser and type in google: what is my ip.
Our external IP is 184.108.40.206 which we'll use it to connect from outside to our virtual machine.
Open Putty.exe - you can download it from https://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
Now follow the next steps:
Hostname : your external IP
Port: your port chosen for the ssh connection from outside (see step 1, point 3)
If you can connect with the SSH using the external IP and the SSH port, then you can go to the next step.
If you can't connect, you must double-check if all the above steps are done properly.
We go to www.clustercs.com , register and purchase the free plan.
As you can see, for a 1 server license, here, you will be adding the server created in your virtual machine using the credentials:
After you entered the above data we can move to the next step by pressing the NEXT button.
In the next step the ClusterCS panel checks if our server can be accesses and if the linux distribution, in ur case CentOS 6.8, is compatible.
After, we click CONTINUE TO SETUP.
Setup Name: a name will be introduced which will be added to our server in ClusterCS, so that it can be easy indentified.
Recipe: We chose Standard Web Server (LAMP is what ClusterCS.com is recommended to us).
Click SAVE (see below for advanced setup )
After we've made our setup, click SAVE and after that OK to create the installation package according to our settings. Click OK, then again OK.
Now, the compilation and configuration process has begun.Click for details
There is event an system to view, in real time, the progress instalation of our packages View progress).
At this moment we must wait until the ClusterCS platform will compile and configure the packages.
Your server is configured and ready to be used.
You can add domains, databases, emails.
A nice part is the Firewall one, which you can administrate from ClusterCS through just one click.
You must just to click on the Firewall button located in the right side of the added server - section Servers.
The domains are administrated from the ClusterCS control panel without the knowledge of server administration, all you must do is to add a domain/subdomain in the ClusterCS control panel and afetr that, to access it:
In the add domain, click Emails wher you will see different options: accounts vizualization, accounts editing and, also, adding some new accounts.
For accessing the emails from browser, access webmail.domainname.ro in our case http://webmail.clustercstest.example.org
Click on Associate button after which, all the needed right will be granted (in our case - all).
Click on Check All button and after on Associate User button.
We all need automation, imports/feeds/updates,so this section is dedicated to cronjobs you want the server automatically make them, at a set time.
This section is dedicated to optimizing pages, ClusterCS.com is the first Control Panel that offers such a feature
With the help of this section you can configure how you want the pages of your site to be served.
Open from Start NOTEPAD as administrator (run as administrator) and open the hosts file from C:\Windows\System32\drivers\etc
IP domain name, in our case: 220.127.116.11 www.clustercstest.example.org example.org webmail.example.org
After that SAVE