1. Home
  2. Docs
  3. Looking after a server
Guide

Looking after a server

The everyday jobs on a virtual server, and what to do when something breaks: backups and snapshots, putting a server back, rescue mode, reinstalling, the console, alerts and schedules, upgrading, moving to another location, IPv6 and reverse DNS. Each one is a tab on the server's page in the console.

1Backups and snapshots

Your server is not backed up unless you add Backups. Both live on the server's Backups tab.

  • Backups are a paid add-on, 20% of the server's price. We copy the whole server every night and keep the copies apart from it. You can also press Back up now once a day. Older copies are removed by themselves.
  • Snapshots are free on every server. A snapshot saves the disk exactly as it is now, so you can go back to that moment. Save one before an update or a big change. It sits next to your server, so it isn't a backup. A server holds one snapshot at a time, and it's deleted after 7 days. We email you the day before.

On the Snapshot tab you can also save one on a schedule, every day or every week, at a time in your account's time zone.

2Put a server back

From a snapshot: on the Snapshot tab, choose Put back and type the server's name. The whole server goes back to that moment and restarts. Everything that changed since is lost.

From a backup: on the Backups tab, pick a copy and choose Restore. The server is turned off, put back, and started again. Its IP address stays the same. Everything that changed since that copy is lost, and a snapshot of the server is removed.

Not sure which copy you need? Open a support ticket from the server's page before you restore. We can help you pick.

3Rescue mode

Use it when the server won't start, or nobody can sign in any more (a lost password, a broken update). Under Settings, Rescue, choose Restart into rescue mode. The server restarts into a small rescue system with your server's disk attached. Nothing on the disk is changed.

You get a one-time root password for the rescue system. Copy it straight away: we show it once. Then connect over SSH as root to the server's usual address (your saved SSH key works too), or use the console.

# lsblk
# mount /dev/sda1 /mnt
# arch-chroot /mnt

lsblk lists the disk's parts. Mount the main one, and your files are under /mnt. arch-chroot /mnt lets you run commands as if the server had started normally, for example passwd to set a new root password.

When you're done, choose Leave rescue mode. The server starts from its own disk again.

Your sites and apps are offline while the server is in rescue mode. Your computer may warn that the server's identity changed: remove the old entry with ssh-keygen -R and the address, and again after you leave.

4Reinstall

Under Settings, Reinstall, you can put a fresh copy of the same system on the server or switch to another one. This erases everything on the main disk: files, databases, users and settings. The IP address and hostname stay.

  • Add an SSH key to sign in with it, or set a root password afterwards on the Overview.
  • A startup script, if you add one, runs once as root after the first start.
  • An extra disk is kept as it is, unless you tick the box to erase it too.
  • Backups are kept, so you can restore one afterwards. A snapshot has to be deleted first.

Copy anything you need off the server first. Without Backups, nothing on it can be brought back.

5The console

The Console tab shows the server's screen and keyboard in your browser. Use it when SSH is out of reach, for example after a firewall or network change locked you out. Click the screen before you type. Paste text types a password or a command for you, and Ctrl+Alt+Del sends that key press.

A console closes after 10 minutes with no typing, or after 30 minutes. Open it again to carry on.

There's also a text console, which you turn on under Settings, Options. Only one console can be connected at a time.

6Alerts and schedules

Alerts (under Graphs) email you when something is wrong, and again when it's back to normal. They're free, and nothing is installed on the server. You can watch for:

  • the server being down or not answering, and optionally a web page not loading;
  • busy processors, memory, a full disk, and heavy traffic in or out;
  • an HTTPS certificate close to expiring, and a one-click app that stops working.

We suggest a server down alert and a disk space alert on every server. Your webhooks can get alerts too.

Power schedule (under Settings) shuts the server down and starts it again at set times, every day or Monday to Friday. The server costs the same while it's off. Schedules run in your account's time zone, which you can change from either tab.

7Upgrade to a bigger plan

Under Settings, Upgrade, pick a bigger plan. You pay the difference for the rest of the period you've already paid for. The server restarts once and is offline for about a minute. Files, IP address and settings stay as they are.

You can't move to a smaller plan afterwards, because the disk can't shrink. If you need that, order a new server and move your data over.

8Move to another location

Under Settings, Move, pick the other location and type the hostname. The server is offline for a few minutes while it's copied, then starts at the new location with a new IP address. We email you when it's done. Point your DNS records at the new address.

The old copy is kept, switched off, for a few days. The Move tab shows until when. Until then you can Move back (changes made since the move are lost) or Delete the old copy now once everything works.

The first SSH connection after a move warns that the server's identity changed. That's expected: remove the old entry with ssh-keygen -R and the old address.

9IPv6

Where your server's location offers it, the server has an IPv6 address. Find it under Networking, Addresses. A server without one has a Turn on IPv6 button there.

After you turn it on, the server doesn't use the address yet. Choose Set it up for me: we set it up inside the server, check that IPv6 and IPv4 both work, and undo it if they don't. Or copy the steps we show into the server yourself, or reinstall.

10Reverse DNS

Reverse DNS is the name people get when they look up your server's address. Mail servers check it, so set it if the server sends email.

First point the name at the address where your domain's DNS is managed (an A record for IPv4, an AAAA record for IPv6). Then save the name under Networking, Addresses. If there's no reverse DNS field for an address, it isn't offered for that address yet: write to support and we'll tell you when it is.

11Cancel or delete a server

A server billed by the hour has no term: choose Delete server on its Overview and the charges stop.

A monthly server runs to the end of the term you've paid for. Choose Cancel at end of term on its Overview. It keeps running until that day and isn't renewed; then it's removed with its data. Until then, Keep it undoes the cancellation. Web hosting, databases, load balancers, gateways and object storage work the same way from their own pages.