Please configure the Virtual Box adaptor so an Internal IP from the same class as your device can be allocated:
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 you are using on your 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, 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 your virtual machine could be accessible from outside.
1) You access your router in a browser
If don't know how to access your 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, you just need to write the model of your 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 extern port of the protocol/SSH service, chose 22 for the intern port - SSH 22 (you can choose another port ex: 2222 so that the SSH can be accessed from extern through another port)
Internal Port - the internal port of the protocol/service, in our case SSH 22/p>
IP Address - the internal port of your virtual machine
Protocol - leave All
Status - Enabled
Do this steps for each port mentioned at Step 1, point 2, until, in the end, you will 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 extern IP is 126.96.36.199 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
We must have checked SSH and after we complete the following:
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.
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 your server can be accessed and if the Linux distribution, in you 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 identified.
Recipe: We chose Standard Web Server (LAMP is what ClusterCS.com is recommended to us).
Click SAVE (see below for advanced setup )
After you completed the 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 even a system to view, in real time, the installation progress of your 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, which you can administrate using 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.
You can manage domains using ClusterCS without needing to have the skills of server management, all you need to do is follow the steps indicated in the ClusterCS interface and add a domain/subdomain in the panel and then simply accessing it./p>
In the add domain, click Emails where you will see different options: accounts visualization, accounts editing and, also, adding some new accounts.
For accessing the emails from your browser, access webmail.domainname.ro in our case http://webmail.clustercstest.example.org
Click on Associate button and choose the permission that will be granted for that user (in our case - all).
Click on Check All button and after click the Associate User button.
We all need automatization, imports/feeds/updates, so this section is dedicated to the cronjobs you want your server to automatically do at a given time.
This section is dedicated to optimizing pages, ClusterCS.com being the first Control Panel offering such a feature.
With the help of this section you can configure how you want the pages of your website 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: 188.8.131.52 www.clustercstest.example.org example.org webmail.example.org
After that SAVE