There was a problem loading the comments.

Linux VPS Quick Start Guide

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Linux VPS Quick Start Guide

Everything you need to go from welcome email to live website on your new SoftSys Linux VPS.

AlmaLinux / RockyUbuntucPanel & WHMPleskSSH

Quick answer: Check the login details in your welcome email, connect to your VPS over SSH as root, update the server and lock it down. Then add your domains, email and databases in cPanel & WHM or Plesk (or set up a web server yourself from the command line), and point your domain's DNS to the VPS IP address. Each step below links to a detailed guide.

Welcome to SoftSys Hosting! A Linux VPS gives you full root access and is managed from the command line - there is no desktop as on a Windows VPS. You do not need to be a Linux expert to follow this guide. If you get stuck, our support team is available 24x7 - open a support ticket from the members portal at any time.

Before You Start

๐Ÿ“ง Keep your welcome email handy. As soon as your VPS is ready, we send the IP address, root password and control panel login details. You will need them throughout this guide.

What you manage depends on your plan:

Plan Who looks after the server
Fully Managed VPS Our engineers handle server-level tasks and issues within the managed scope. Just open a ticket.
Self-Managed VPS You handle day-to-day administration, and we take care of the hardware and network. This guide is written for you.
Unmanaged VPS You manage the server entirely yourself.

For a full comparison, see Managed Server Services Details.

Choose how you will manage the server:

cPanel & WHM

Paid licence

The most widely used Linux hosting panel. WHM manages the server; cPanel manages each website account.

Plesk

Paid licence

One clean interface for server, websites and email, with developer tools such as WP Toolkit. Also available on Windows.

No control panel

Free

Manage everything over SSH. Lightest on resources and fully flexible, but you set up each service yourself.

โš ๏ธ Choose your control panel when you order. cPanel and Plesk can only be deployed on a fresh server, so adding one later - or moving from one to the other - means reinstalling the VPS and setting everything up again. SolidCP and WebsitePanel are Windows-only and are not available on Linux. Not sure which to pick? See cPanel vs Plesk: Which Control Panel Is Right for You?

In This Guide

1Check logins & resources 2Connect & secure (SSH) 3Websites, email & databases
4Point your domain (DNS) 5Without a control panel 6Set up email
7Reverse DNS (rDNS) 8Ports & firewall 9Install software

1Check Your Login Details and Resources

Try every login in your welcome email. If any details are missing or a login fails, open a ticket and we will fix it.

ย 

Once you are connected over SSH (Step 2), confirm that your VPS has the CPU, RAM and disk space you ordered:

ย 

nproc               # number of CPU cores
free -h             # total and used memory (RAM)
df -h               # disk size and free space
cat /etc/os-release # Linux distribution and version

Low on memory? Adding swap gives you a safety buffer - see How to Add a Swap File on a Linux VPS.

2Connect with SSH and Secure Your VPS

SSH gives you a secure command line on your VPS. Use the IP address and root password from your welcome email:

ย 

ssh root@your-vps-ip

ย 

This works in the macOS or Linux Terminal and in Windows PowerShell. You can also use PuTTY on Windows. For step-by-step instructions, seeย How to Connect to a Linux VPS via SSH from Windows and macOS.

๐Ÿ”’ Secure your VPS right after the first login:

  1. Change the root password: run passwd and enter a strong, unique password.
  2. Install updates: dnf update -y on AlmaLinux / Rocky, or apt update && apt upgrade -y on Ubuntu / Debian.
  3. Switch to key-based login - see How to Set Up SSH Key Authentication and Disable Password Login.
  4. Turn on a firewall that allows only the ports you need - see How to Configure a Basic Firewall with firewalld or ufw. On cPanel servers, use CSF instead - see How to Install ConfigServer Security & Firewall (CSF) on cPanel/WHM.
  5. Optionally, move SSH off port 22 to cut down on brute-force attempts - see How to Change the SSH Port on Linux.

โš ๏ธ Don't lock yourself out. Before you change the SSH port or turn on the firewall, allow the new SSH port first, and keep your current session open while you test a second login.

3Set Up Websites, Email and Databases in the Control Panel

If you chose cPanel or Plesk when ordering, it is already installed - the login details are in your welcome email. The control panel lets you manage domains, websites, email, databases and SSL certificates from your browser, without typing commands.

First-Time Setup

cPanel & WHM

  1. Sign in to WHM at https://your-vps-ip:2087 as root.
  2. Open Account Functions โ†’ Create a New Account, enter your domain, a username and a password, and click Create.
  3. Sign in to cPanel for that account at https://your-vps-ip:2083 to manage the website.

Create one cPanel account for each website or customer.

Plesk

Sign in at https://your-vps-ip:8443 as admin (or root), then change your Plesk password.

You can add domains straight away under Websites & Domains.

Common Tasks

Task cPanel Plesk
Add a domain How to Use Addon Domains How to Add a Domain and Subdomain
Create an FTP account How to Create an FTP Account How to Create an FTP Account
Create a MySQL database and user How to Create a MySQL Database and User Create Databases and Database Users (video)
Manage a database in phpMyAdmin How to Manage a MySQL Database with phpMyAdmin Websites & Domains โ†’ Databases โ†’ phpMyAdmin
Install a free SSL certificate How to Install a Free Let's Encrypt SSL with AutoSSL How to Install a Free Let's Encrypt SSL Certificate
Install WordPress How to Install WordPress Through Softaculous WordPress (WP Toolkit) in the left menu
Change the PHP version How to Use MultiPHP Manager Websites & Domains โ†’ PHP
Schedule a cron job How to Create Cron Jobs Tools & Settings โ†’ Scheduled Tasks
Back up and restore How to Back Up and Restore Websites & Domains โ†’ Backup Manager

Upload Your Website Files

Upload your site with an FTP client - see How to Upload Website Files with FileZilla. In cPanel, website files go in the public_html folder; in Plesk, they go in httpdocs. For a few small files, use the browser-based file manager - see How to Use File Manager in cPanel.

Import a Database

Import an existing .sql file through phpMyAdmin - see How to Import a .sql File into MySQL Using phpMyAdmin. To connect to MySQL from your own computer, see How to Allow Remote MySQL Connections from a Specific IP.

4Point Your Domain to the VPS

The last step to go live is making your domain load from the VPS. Choose one of two options:

Option A: Keep your registrar's DNS

Best for: a few domains

Effort: quick, but repeated for every domain

Option B: Use your own nameservers

Best for: many domains, or managing DNS in cPanel or Plesk

Effort: set up once, then reused for every domain

Option A: Keep Your Registrar's DNS

Your DNS stays with the company you registered the domain with. In their DNS manager, add or update these records (or ask them to do it for you):

Host / Name Type Value
@ (root) A Your VPS IPv4 address
www A Your VPS IPv4 address
mail A Your VPS IPv4 address
@ (root) MX mail.yourdomain.com
@ (root) AAAA Your VPS IPv6 address (only if it has one)

For more detail, including how to find your IP addresses from the command line, see How to Point Your Domain to a Linux VPS Using A and AAAA Records.

Option B: Use Your Own Nameservers

In this example the domain is yourdomain.com and the nameservers are ns1.yourdomain.com and ns2.yourdomain.com.

  1. Register the nameservers at your registrar, each pointing to your VPS IP address. See How to Register Private Nameservers at Your Domain Registrar.
  2. Add the nameservers in your control panel (skip this if you gave them to us when ordering). In WHM, open Server Configuration โ†’ Basic WebHost Manager Setup and enter both nameservers. In Plesk, set the NS records in Tools & Settings โ†’ DNS Template so every new domain uses them.
  3. Add the domain in cPanel or Plesk (Step 3). The panel creates the DNS zone for you. To change its records, use Zone Editor in cPanel, or see How to Add or Edit DNS Records in Plesk.
  4. Set the domain's nameservers at your registrar to ns1.yourdomain.com and ns2.yourdomain.com. Use the same nameservers for every other domain you host on the VPS.

โณ Allow time to propagate. With either option, DNS changes can take up to 24-48 hours to take effect worldwide. Moving an existing site? Lower the TTL first - see How to Lower Your DNS TTL Before a Migration.

5Managing the VPS Without a Control Panel

Without cPanel or Plesk, you install and configure each service yourself over SSH. These guides cover the most common setups:

Task Guide
Web server (AlmaLinux / Rocky) How to Install a LAMP Stack on AlmaLinux or CentOS
Web server (Ubuntu) How to Install a LEMP Stack (Nginx, MySQL, PHP) on Ubuntu or How to Install Apache on Ubuntu
Host several websites How to Set Up Apache Virtual Hosts on Ubuntu
Force HTTPS How to Force HTTPS with a 301 Redirect on Apache, Nginx and IIS
Node.js apps Deploy a Node.js App on a VPS (Ubuntu / AlmaLinux)
Open a firewall port How to Configure a Basic Firewall with firewalld or ufw or How to Open a Firewall Port on Ubuntu
MySQL tuning and recovery How to Optimize and Tune MySQL and How to Reset the MySQL Root Password
DNS (own nameservers) How to Configure Custom Nameservers on Your VPS

6Set Up Email

cPanel and Plesk both include a mail server, so you can create mailboxes as soon as your domain is added:

Task cPanel Plesk
Create a mailbox How to Add an Email Account How to Create an Email Account
Forward email How to Create an Email Forwarder How to Create a Mail Alias
Set up DKIM Email โ†’ Email Deliverability How to Add the DKIM Record in the Plesk Panel
Open webmail https://your-vps-ip:2096 Mail tab โ†’ webmail link for the mailbox
  • Keep mail out of spam folders - set up SPF, DKIM and DMARC. See How to Set Up SPF, DKIM, and DMARC Records.
  • Sending mail from PHP? Use authenticated SMTP rather than PHP's mail() function - see Send Mail from PHP.
  • No control panel? You will need to install and secure a mail server yourself. For most users, a control panel is the simpler and safer choice for email.

7Request Reverse DNS (rDNS)

Reverse DNS maps your IP address back to a hostname, which helps your outgoing email get delivered. Only SoftSys can set it, because we own the IP address. Open a ticket with:

  • The IP address
  • The hostname it should point to (for example, mail.yourdomain.com)

The hostname must already have an A record pointing to that IP address. See How to Set Up a PTR / Reverse DNS Record for Your Mail Server.

8Ports and Firewall

These are the ports you are most likely to need. Make sure the ones you use are allowed in your server firewall:

Port Used for
22 SSH (or your custom SSH port)
80 / 443 Websites (HTTP / HTTPS)
2083 / 2087 cPanel / WHM
2096 cPanel webmail
8443 Plesk
21 FTP
25 / 465 / 587 Sending email (SMTP)
993 / 995 Reading email (IMAP / POP3 over SSL)

To protect customers from common attacks, incoming traffic to the following ports is blocked across the whole SoftSys network, whatever your firewall says:

Port(s) Service
68 DHCP
135-139 NetBIOS
389 LDAP
445 SMB (file sharing)
497 Backup software
1025 Microsoft scheduled task endpoint
1433-1434 SQL Server default ports

๐Ÿ’ก Good to know: none of these blocks affect a typical Linux website - SSH, web, email and MySQL (port 3306) all work normally. To learn why each port is blocked, see Network-Wide Port Blocks for Enhanced Security. Need one opened? Open a ticket explaining why, and we will review it.

9Install Software

Install software with your distribution's package manager:

Distribution Install a package
AlmaLinux / Rocky / CentOS dnf install package-name
Ubuntu / Debian apt install package-name
  • On cPanel servers, install web apps such as WordPress with Softaculous, and change PHP versions with MultiPHP Manager (see Step 3). Avoid installing a separate web server or PHP from the command line, as it can conflict with cPanel.
  • On Plesk servers, add components from Tools & Settings โ†’ Updates, and manage WordPress with WP Toolkit.
  • Without a control panel, follow the guides in Step 5.

Not sure what you are allowed to install? See Which Software Can I Install on VPS?

Frequently Asked Questions

Does a Linux VPS come with a desktop (GUI)?

No. A Linux VPS is managed over SSH from the command line, with full root access. For a point-and-click experience, choose cPanel or Plesk when you order. See Do You Provide GUI With VPS or Just a Command Line?

Can I add cPanel or Plesk later?

We do not recommend it. cPanel and Plesk can only be deployed on a fresh server, so adding one later - or switching between them - means reinstalling the operating system, which erases everything on the VPS. Choose your panel when you order. Already running and need a panel? Open a ticket to discuss your options before making any changes.

Can I use SolidCP or WebsitePanel on Linux?

No. SolidCP and WebsitePanel are Windows-only. On Linux, choose cPanel & WHM or Plesk - see Which Control Panel Is Offered to Manage Domains on VPS?

I locked myself out of SSH. What should I do?

This usually happens after a firewall or SSH port change. Open a ticket with your VPS IP address and what you changed, and our team will help you regain access.

Can SoftSys manage the server for me?

Yes. On a Fully Managed Linux VPS, our engineers handle setup, updates, security, monitoring and troubleshooting for you - just open a ticket.

SoftSys Hosting

SoftSys Linux VPS plans include full root access, your choice of AlmaLinux, Rocky or Ubuntu, and optional cPanel & WHM or Plesk when you order. Choose Self-Managed for full control, or Fully Managed to let our team look after the server.

Self-Managed Linux VPS ยป Fully Managed Linux VPS ยป


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting