Support Guides

VPS Guides

Guides for Virtual Private Server users, covering control panel installation, CLI usage, and server management.

How to set up port forwarding with iptables

Enable IP forwarding by setting net.ipv4.ip_forward=1 in /etc/sysctl.conf and running sudo sysctl -p. Add a destination network address translation rule such as sudo iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination 192.168.1.1:9086.…

How to check your Ubuntu version

Run lsb_release -a in a terminal or over Secure Shell (SSH) and read the Description or Release line. The command cat /etc/os-release lists the same details on its VERSION and VERSION_ID lines. On Ubuntu Desktop, Settings, then About, shows the version under…

How to edit .bashrc on Linux

Open the file with nano ~/.bashrc or vim ~/.bashrc, add your lines at the bottom and save. Run source ~/.bashrc to apply the changes without opening a new terminal. Common additions include: command aliases, PATH exports, a custom PS1 prompt and shell…

How to use the rsync command in Linux

Run rsync -a followed by the source and destination paths to copy a directory while keeping permissions, timestamps, symbolic links and ownership. A trailing slash on the source copies its contents rather than the folder itself. Repeat runs send only new or…

How to copy files and directories with the cp command

Run cp followed by the source path and then the destination, for example cp index.html backup/ to copy one file. With several source files in one command, the last path is always the destination. Copying a whole directory needs the -r flag, because cp skips…

How to change the SSH port on AlmaLinux

Edit the Secure Shell (SSH) configuration at /etc/ssh/sshd_config, change Port 22 to a number between 1025 and 65535, then run systemctl restart sshd. Test the new port from a second terminal before closing your current session. Open the new port in the…

How to switch users in Linux

Run sudo su followed by a username to become that user with your own password, which needs sudo rights. Run su followed by a username to switch using the target account's password instead. Typing whoami shows which account is active, and exit returns you to…

How to use SCP for secure file transfers

Run scp followed by a source and a destination, writing remote locations as username@hostname:/path. Secure Copy (SCP) encrypts the transfer over Secure Shell (SSH), so files and passwords cannot be read in transit. Useful options include: -r for whole…

How to transfer cPanel accounts between servers

Log in to Web Host Manager (WHM) on the destination server, search for transfer and open Transfer Tool. Enter the source server's IP address or hostname and choose password or key pair login. Click Scan Remote Server, tick the accounts to move and click Copy.…

How to use chown to manage file ownership in Linux

Run chown owner:group followed by the target to change who owns a file or directory, for example chown username:groupname file.txt. Leaving out the group changes only the owner. Adding the -R flag applies the change to a directory and everything inside it.…