Getting started with your VPS

Getting Started with Your VPS

By

·

, ,

Your VPS is an unmanaged Linux server with full root access. That means you install, secure and maintain everything on it yourself, and our support covers the hardware and the network. This guide gets you from the welcome email to a working server.

What you receive

  • A server running Ubuntu, with one public IP address and root access over SSH.
  • The IP address and a one-time root password, sent to your registered email address. Check the spam folder if you do not see it.
  • Server tools in your Yegara dashboard: open Hosting & Services and click Manage next to the VPS.

A VPS has no control panel such as cPanel, no email service and no domain name included.

Log in for the first time

On macOS or Linux, open a terminal. On Windows, use PuTTY or the Windows Terminal. Replace YOUR_IP with the IP address from the email:

ssh root@YOUR_IP

Enter the one-time password. The server then asks you to choose a new root password before you can continue. Pick a long one and keep it safe.

First things to do

  1. Update the system: apt update && apt upgrade -y
  2. Turn on the firewall, allowing SSH first: ufw allow OpenSSH, then ufw enable. If you enable the firewall before allowing SSH, you lock yourself out.
  3. Open the ports your site needs: ufw allow 80 and ufw allow 443 for a website.
  4. Plan your backups. Nothing is backed up unless you set it up, or you ordered the automatic daily backup option.

Point a domain to your VPS

Add two A records for the domain, one for @ and one for www, both with your VPS IP address as the value. Where you add them depends on the domain:

Tools in your dashboard

  • Web Console: a screen and keyboard for the server in your browser. Use it in emergencies, for example when SSH is blocked. For daily work use SSH.
  • Changepass: sets a new root password.
  • Reboot, Reset and Shutdown.
  • Rescue and Rebuild: repair a server that will not boot, or reinstall it from scratch. A rebuild erases everything on the server.

Each tool is explained step by step in Managing Your VPS.

If the server stops responding

  1. Open the Web Console from your dashboard and log in as root. If the console works, the server is running and the problem is the network or the firewall on the server.
  2. Check the firewall: ufw status. Make sure SSH and your website ports are allowed.
  3. Check disk and memory: df -h and free -h. A full disk or no free memory stops most services.
  4. Reboot from the dashboard. Use Reset only if Reboot does nothing.
  5. Check your invoices. A VPS is suspended 3 days after it expires.

If the Web Console itself does not open, or you suspect a network problem, message us on Telegram with the server IP and, if you can, the output of a traceroute or MTR to the server saved as a text file.