How can I change my server’s hostname?

In this post, we will explain how you can change the hostname of your virtual server.

  • Log in to the web interface.
  • Go to the Cloud Manager of your virtual server.
  • In the Actions box, click on Hostname.
  • Now change the hostname in the designated field.
  • Click Save to save the new hostname.

The new hostname will be set immediately. You might need to log in again via SSH to see the new hostname.

Windows hard disk expansion

In this article we will show you step by step how to expand the hard disk of a Windows server.

To be able to expand your hard disk, you first need “unallocated space“. So open the upgrade/downgrade form of your Windows server. Then select a hard disk upgrade.

Upgrade durchführen

Change configurable options

Order the desired configuration by clicking on “Order change with costs“.

Restart Windows Server

After that, go back to the Cloud Manager. Wait for about 1-2 minutes. You should see a message stating that changes are coming for the server. Perform a restart of the server.

There are changes for the server

Manually expand hard disk

After a reboot (this may take a while, please wait patiently) connect to your Windows server via Remotedesktop.

Microsoft Windows Remote Desktop Connection

After you have logged in to the server, you can view your C: drive. It still has the same size as before. This is because we do not allocate the additional space ordered to a partition. You have to do that yourself.

C: has a size of only 50 GB

Click the Start button and search for “Partition“. You should get a program suggested. Open it. If the program is not displayed, you can also type “diskmgmt.msc“. This is guaranteed to work!

Create and format hard disk partitions

Maximize the window that opens best. Wait until the content is loaded. You should now find a black colored block. This is the unallocated memory.

Unallocated space

You now have several options to use this space. You can create a new partition from the unallocated space or append the space to C:. The latter is the most popular approach.

Right click on the blue colored area with the drive letter C:. In the context menu that opens, select “Extend volume“.

Expand volume

A dialog opens. It is sufficient to click on “Next” in this wizard and on “Finish” in the last step. The free memory space is automatically made as an extension.

Assistant for expanding volumes

The changes are now applied live. The process does not take long. The black colored unallocated area should now disappear and be merged with C:.

Hard disk expansion performed

Validate the result in Explorer by looking at the size of the disk.

The hard disk was expanded

The operation is completed. The hard disk space has been increased.

If something is different during this process or if you have any problems, please contact our support at any time. We are happy to help!

Am I allowed to mine on the server?

No! Mining (of any kind) is basically forbidden on all virtualized servers. It is the nature of data mining that this consumes a lot of processor power.

But XYZ is not mining at all!”

– Some customer

This may be technically correct, but we still consider it an overuse of resources. The issue is not whether it is “mining”, but ultimately whether there is a high workload or above-average wear and tear due to the process. Virtual servers are not suitable for this type of program.

Possible consequences of overuse

In all likelihood, we will automatically lock your server if resources are overused or permanently exhausted. The same applies to other disturbances that originate from your server. This regulation is based on our terms and conditions §7, paragraph 2.

If it is a test server, we will delete the server immediately.

Especially with virtual servers this is a bottleneck for other customers and causes a bad quality on the host system. You rent a shared hosting and have accepted the terms and conditions when ordering. These state that permanent overloading of the server must be avoided.

Please be fair and pay attention to other people who need processing power for other programs.

If you have any further questions about this, please feel free to contact us at any time.

Can I use Docker on my vServer?

Docker Logo

Docker is a container-based technology for creating Linux containers. Since the software deeply intervenes in the system, it might not work properly with every virtualization technology.

Basically, you can use Docker on all virtual servers from prepaid hosters. However, there are a few small things to keep in mind.

Our recommendation in advance

If you know you want to use Docker and prefer to be on the safe side, you should rent a KVM server directly.

Virtualization technologyCompatibility
OpenVZPossible restrictions
KVMNo restrictions
Is Docker compatible with OpenVZ and KVM?

Docker on a Cloud vServer

You can usually use Docker on a cloud vServer without any problems. However, there are a few limitations. Since a cloud vServer itself is managed via a container-based virtualization method (OpenVZ7), there may be compatibility issues. Which Docker images you can use with an OpenVZ 7 server is difficult to say in advance. It all depends on the Docker environment you want to use.

Another disadvantage can be the kernel. Docker also likes to access newer kernel components here, which may not yet be available with an OpenVZ Virtuozzo kernel.

Docker on a KVM server

KVM is a full virtualization. This means that the guest system is independent of the host system. You also use your own kernel on the KVM server, which is not shared or virtualized with other clients.

This means that you can use Docker on a KVM server without any restrictions.

If you have any questions about this topic, please feel free to contact us in support. Please note, however, that we can never give you a firm commitment to specific compatibility with cloud servers.

How do I connect via VNC?

In this article we will explain how you can manage your server via VNC.

With VNC you can easily access your server. The advantage is that it works even without an active network connection and SSH is not needed for authentication. VNC is the first place to go if, for example, you have broken the SSH configuration and need to undo changes.

There are two ways to connect. You can use the WebVNC directly in the web interface or you can connect directly via a program.

VNC direkt im Webinterface

So that you do not have to install an extra program, you can connect in the web interface via the browser. You will then see the input line of your virtual server in a browser window.

  • Open the cloud manager of the server you want to connect to
  • Navigate to the actions
  • Click on VPS settings
  • Open the VNC tab
  • Enable VNC if disabled. Restart the VPS afterwards.
  • Click on Open NoVNC (Web-VNC)
  • In the new window enter the password that is displayed in the VNC tab.
NoVNC settings

Use program

  • Log in to the web interface.
  • Navigate to the Cloud Manager of the vServer.
  • Click on VNC data in the Actions field.
  • Enable “VNC” if you haven’t already.
  • Open a VNC program, such as TightVNC Viewer.
  • Enter the VNC address in the Remote Host field.
  • Example: 1.2.3.4::5960
  • Click Connect.
  • Enter the password that is displayed in the web interface VNC dialog. Confirm with Enter.
  • Now you are connected to your server via VNC console.
TightVNC Viewer

Please note that we change the address of your VNC server from time to time. This has security reasons. So check in the webinterface if you still have the current address.

How do I change the SSH port?

To secure your Linux server against automated attacks, we recommend changing the SSH port. Here we explain different ways to change the SSH port of your server.

Automated via the web interface

VionityCP SSH settings
  • Open the Cloud Manager of the server for which you want to change the SSH port.
  • Click on VPS Settings.
  • Open the “SSH” tab.
  • In the input field “Change SSH port,” enter the desired SSH port. Make sure to use a free port above 1024.
  • Click “Save” afterwards.
  • In the background, the configuration will be adjusted and your SSH server will be restarted.

Important: If you use a software firewall (iptables, ufw, firewalld), you must allow the port beforehand. If you forgot to do this, you can easily fix it via VNC.

Manually edit the configuration

You can also manually edit the configuration of the SSH server. We’ll show you how.

  • Connect to your Linux server via SSH.
  • Open the file /etc/ssh/sshd_config with a text editor such as “nano”.
  • Find the line that contains “Port”. If it doesn’t exist, add it near the top. Make sure the line doesn’t start with “#”. If it does, remove the “#”. Otherwise, the SSH server will ignore this setting.
  • Next to “Port”, write the number you want to use as the SSH server port. For example, Port 2222. Choose a port between 1024 and 65565.
The /etc/ssh/sshd_config file
  • Save the file.
  • Check with the command “ssh -T” if the configuration can be read successfully. If an error message appears, check your configuration.
  • Restart the SSH server (service ssh restart), but do not close the SSH window yet.
  • Open a new SSH window and test the connection. If something doesn’t work, you can continue to use the still open first connection to solve the problem.

Windows server: No ping

If your Windows server shows an error in the web interface that it is not reachable, you have the following options.

We have detected that your server seems to be unreachable at the moment

First of all, please check if your server is turned on.

Then you can check if the server is really down:

First check with a ping to your IP address, then check if your server is reachable via Remote Desktop. If both checks are negative, connect to your server via VNC. If this doesn’t work either, it’s time to open a support ticket. We will help you as soon as possible.

If all services of your Windows server work fine, but the ping does not, use the following solution.

Windows does not respond to pings by default. We have to enable this in the firewall first. For this you can execute the following command via remote desktop as administrator on the Windows server:

netsh advfirewall firewall add rule name="All ICMP V4" d

After running this command on the server (not on your local machine), the Windows server should respond to pings and the error message in the web interface should disappear after a while.

If you have any questions, don’t hesitate to contact us.

Make MySQL accessible from outside

If you install a MySQL or MariaDB server on your virtual server, it will be installed automatically with the “Allow local only” rule. If you want to make the server accessible from outside, you have to change the configuration of the server.

We will show you with an example (MariaDB) how to do this.

Error message which means that MySQL is not reachable from outside:

ERROR 2002 (HY000): Can't connect to MySQL server on '168.119.29.XXX' (115)

Requirements

  • You need a Linux server.
  • You must have MariaDB installed (apt-get install mariadb-server).
  • The port 3306 must be released in a firewall, if one is used.
  • You have created a user that can either access from anywhere “%” or is filtered by IP address/host.

Customize configuration

Modify the file /etc/mysql/mariadb.conf.d/50-server.cfg. Open it with an editor of your choice.

In the area under [mysqld] you will find the setting “bind-address”. Change the configuration as described below.

Before

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 127.0.0.1

After

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
bind-address = 0.0.0.0

Save the file and restart your database server.

systemctl restart mysql

After that, your MySQL server is also accessible from the outside. For security reasons, we strongly recommend that you create a separate MySQL account for external users. The root access should only work internally.

If you have any questions about this topic, please contact us. We will be happy to help you!

My Windows license has expired, now what?

Unfortunately, we do not offer our own Windows licenses for various reasons. Therefore, our servers are only equipped with Windows Server Evaluation licenses.

You are required to provide a valid Windows Server Standard license after setting up the server, but no later than 180 days after initial installation. Alternatively, but this is explicitly not our recommendation, you can reinstall the server.

If you do not do this, your Windows server will shut down at increasingly shorter intervals.

In order to deposit a Windows Server Standard license, it is necessary to change the evaluation version to Standard.

Can I Install a GUI?

Yes, you can install a GUI on your KVM server if you are prepared to handle some technical challenges. Before you proceed, we recommend that you do not use a GUI for the best performance. If having a graphical interface is important to you, consider using our Windows Servers.

KVM Server

You are free to install a GUI on KVM servers because they use full virtualization and have guaranteed resources. However, please note that our host systems do not have graphics cards, so you will not have hardware acceleration. Whenever possible, you should use the VNC console.

Here are the steps you need to follow:

  • Install a desktop environment, such as KDE.
  • Install a VNC server.
  • Configure the VNC server so it runs the correct X server.
  • Connect to your VNC server using a VNC client.

Disadvantages of GUI on KVM Servers

We recommend once again to avoid using a GUI. Here are the reasons:

Resource Consumption: A GUI uses more resources. A vServer without a GUI uses much less RAM when idle.

No Graphics Cards: Our host systems don’t have graphics cards, so there is no hardware acceleration. The CPU has to handle graphic rendering, which can make the GUI feel slow.

Most of the time, there are better and less demanding ways to run programs. The Linux console might seem intimidating at first, but once you get used to it, you’ll find that the commands are quite straightforward.

KDE GUI as Root: Do not attempt this.