Published on

What is Hetzner? A Beginner’s Guide to Affordable Hosting (2026)

Hetzner is a high-performance German hosting provider that offers cloud servers, dedicated servers, and storage solutions starting at approximately €4 per month. By providing enterprise-grade hardware at a fraction of the cost of competitors like AWS or Google Cloud, beginners can launch a fully functional Linux server in under 60 seconds. In 2026, it remains the top choice for developers who want powerful infrastructure without the complexity of "pay-per-request" billing models.

Hetzner stands out because it uses a simple hourly or monthly billing model that prevents surprise charges. Unlike larger platforms that charge for every bit of data leaving your server, Hetzner includes massive amounts of bandwidth (the amount of data transferred to and from your server) for free.

The interface is designed for humans rather than massive corporate IT departments. You can deploy a "Cloud Instance" (a virtual private server that shares physical hardware with others but acts as its own computer) with just a few clicks.

We've found that beginners often prefer Hetzner because the performance-to-price ratio is currently unmatched in the industry. You get modern processors like the latest AMD EPYC chips and fast NVMe storage (extremely quick hard drives) even on the cheapest plans.

What do you need before getting started?

Before you create an account, you need to have a few things ready. Hetzner has a strict verification process to prevent fraud and keep their network safe for everyone.

Prerequisites:

  • A Valid Photo ID: You may be asked to provide a scan of your passport or driver's license for identity verification.
  • Payment Method: A credit card or a verified PayPal account is required to activate your billing profile.
  • An SSH Key (Optional but Recommended): A digital "key" used to log into your server securely without a password.
  • Basic Terminal Knowledge: Familiarity with opening the Command Prompt (Windows) or Terminal (Mac/Linux).

How do you create your first Cloud Server?

Creating a server on Hetzner is a straightforward process that takes less than five minutes. Follow these steps to get your first "Project" off the ground.

Step 1: Sign up and Verify Visit the Hetzner Cloud Console and create an account using your email. You will likely receive an email asking you to upload your ID or enter your payment details to verify your identity.

Step 2: Create a Project A Project is simply a folder where you keep your servers and settings organized. Click the "New Project" button and give it a name like "My First Webserver."

Step 3: Add a Server Inside your project, click "Add Server." You will be asked to choose a location; if you are in the US, choose Ashburn or Hillsboro, and if you are in Europe, choose Falkenstein or Helsinki for the best speeds.

Step 4: Pick an OS and Plan Select an Operating System (OS - the software that manages the server), such as Ubuntu 24.04 or Debian 12. For a beginner, the "Shared CPU" ARM64 or x86 plans are perfect and very affordable.

Step 5: Launch Scroll to the bottom and click "Create & Buy Now." Within seconds, your server status will turn green, indicating it is live and reachable on the internet.

What is an IP Address and how do you use it?

Every server on Hetzner is assigned a unique IP Address (Internet Protocol address - a string of numbers like 123.45.67.89 that identifies a computer on the network). This address is how you tell your computer to connect to your new server.

To manage your server, you will use a protocol called SSH (Secure Shell - a way to securely send commands to a computer over the internet). If you are on Windows, you can use the built-in PowerShell; if you are on a Mac, use the Terminal app.

Type the following command, replacing the numbers with your server's actual IP address:

# This command tells your computer to connect as the 'root' user
ssh [email protected]

If it's your first time connecting, your computer will ask if you trust the host. Type "yes" and hit enter. You are now "inside" your server and ready to install software.

How do you keep your server safe?

Security is the most common concern for beginners, but a few simple steps can protect your server from most threats. The most important tool is a Firewall (a digital barrier that decides which traffic is allowed to enter your server).

Hetzner provides a "Cloud Firewall" that you can configure directly in their web dashboard. You should set it to only allow traffic on specific "Ports" (digital doorways for different types of traffic).

Common ports you might open include:

  • Port 22: For SSH access (logins).
  • Port 80: For standard web traffic (HTTP).
  • Port 443: For secure web traffic (HTTPS).

By closing all other ports, you ensure that hackers cannot even attempt to find vulnerabilities in services you aren't using. It's normal to feel a bit nervous about security, but starting with a strict firewall is the best way to learn safely.

What are the common mistakes to avoid?

Even experienced developers make mistakes when setting up new infrastructure. Being aware of these "gotchas" will save you time and potential headaches.

  • Forgetting to Delete Servers: Hetzner charges you as long as a server exists, even if it is turned off. This is because the server is still "reserving" hardware space and an IP address. If you are done experimenting, make sure to "Delete" the server entirely.
  • Losing Your SSH Key: If you set up your server using an SSH key and then delete that key from your laptop, you might get locked out. Always keep a backup of your private key in a secure location like a password manager.
  • Ignoring Updates: Linux servers don't always update themselves automatically. Once a week, you should run a command to ensure your software has the latest security patches.

Next Steps

Now that you have a running server, you can start hosting actual applications. A great first project is installing a "Web Server" (software that serves web pages to visitors) like Nginx.

To install Nginx on your new Ubuntu server, run these commands:

# Update the list of available software packages
apt update

# Install the Nginx web server software
apt install nginx -y

# Check the status to make sure it is running
systemctl status nginx

Once this is finished, type your server's IP address into any web browser. You should see a "Welcome to nginx!" page, which means your server is officially communicating with the world. From here, you can explore installing databases, hosting a personal blog, or even setting up your own AI chat interface using tools like Ollama and Claude Sonnet 4.

For more detailed guides, visit the official Hetzner documentation.


Read the Hetzner Documentation