StarDomain

How to Access Your VPS After Purchase

How to Access Your VPS After Purchase

Congratulations on your new VPS from {{COMPANY_NAME}}! This guide explains how to connect to your VPS, perform initial setup, and get your server ready for use.

What You Receive

After your VPS is provisioned, you will receive a welcome email with:

  • Server IP Address — Your VPS public IPv4 address
  • Root Password — The initial root/administrator password
  • SSH Port — Usually port 22
  • Operating System — The Linux distribution installed on your VPS
  • Control Panel URL — If you ordered a VPS management panel

Connecting via SSH

SSH (Secure Shell) is the primary way to access and manage your VPS.

From macOS or Linux

  1. Open the Terminal application
  2. Run the SSH command using your server IP: ssh root@YOUR_SERVER_IP
  3. When prompted, type yes to accept the server fingerprint (first time only)
  4. Enter the root password from your welcome email
  5. You are now connected to your VPS

From Windows

Modern Windows 10/11 includes SSH in the command prompt and PowerShell:

  1. Open PowerShell or Command Prompt
  2. Run: ssh root@YOUR_SERVER_IP
  3. Accept the fingerprint and enter your password

Alternatively, use a dedicated SSH client like PuTTY:

  1. Download and install PuTTY from the official website
  2. Open PuTTY
  3. Enter your server IP in the Host Name field
  4. Ensure port is 22 and connection type is SSH
  5. Click Open
  6. Log in as root with your password

Tip: After your first login, immediately change the root password using the passwd command and set up SSH key authentication for better security.

Using the VNC Console

If SSH is not working (firewall misconfiguration, SSH service down, etc.), you can access your VPS via the web-based VNC console:

  1. Log in to your client portal at {{SUPPORT_URL}}
  2. Go to Services then My Services
  3. Click on your VPS service
  4. Click VNC Console or Console Access
  5. A browser-based terminal opens with direct access to your VPS

The VNC console works regardless of network configuration, making it a reliable emergency access method.

Initial Server Setup

After your first login, perform these essential setup steps:

1. Update the System

On Ubuntu/Debian, run apt update and apt upgrade commands. On CentOS/AlmaLinux/Rocky, use dnf update.

2. Change Root Password

Run the passwd command to set a new strong password.

3. Create a Non-Root User

It is best practice to create a regular user and use sudo instead of logging in as root directly. Create a user with adduser and grant sudo privileges.

4. Set Up SSH Key Authentication

For better security, set up SSH keys instead of password authentication:

  1. On your local machine, generate an SSH key pair
  2. Copy your public key to the server
  3. Test that key-based login works
  4. Optionally disable password authentication in the SSH config

5. Configure Firewall

Set up a basic firewall to protect your server. Allow SSH access and any other services you plan to run (HTTP, HTTPS). Use ufw on Ubuntu or firewalld on CentOS-based systems.

6. Install a Control Panel (Optional)

If you prefer a graphical interface for server management, install a control panel:

  • cPanel/WHM — Best for hosting providers and multi-site management
  • DirectAdmin — Lightweight alternative to cPanel
  • CyberPanel — Free, with LiteSpeed web server
  • Webmin — Free, general-purpose server management

Managing Your VPS from the Portal

Your client portal provides VPS management features:

  • Start/Stop/Restart — Control your VPS power state
  • Reinstall OS — Wipe and reinstall a fresh operating system
  • Console — VNC console access
  • Resource Graphs — Monitor CPU, RAM, and network usage
  • Reverse DNS — Set PTR records for your IP addresses

Troubleshooting

Cannot Connect via SSH

  • Verify the IP address is correct
  • Check that the VPS is powered on in the portal
  • Ensure port 22 is not blocked by your local network
  • Use the VNC console as an alternative

VPS Not Responding

  • Try a hard restart from the client portal
  • Check resource usage — the VPS may be out of memory
  • Use VNC console to investigate

Forgot Root Password

  • Some VPS management panels allow password reset from the portal
  • You can boot into single-user mode via VNC console to reset the password
  • Contact {{SUPPORT_EMAIL}} for assistance

Need help setting up your VPS? Contact {{SUPPORT_EMAIL}} and our team will assist you.