Setting up a Hyper-V Ubuntu Server with Hestia CP on Windows 10

Abstract: Deploy Hestia Control Panel on an Ubuntu Server virtual machine in Hyper-V to manage web hosting and databases efficiently.

Created: 2026-10-21 by

Install Ubuntu Server in a Hyper-V virtual machine on Windows 10, then deploy Hestia Control Panel using the automated installation script. This setup provides a lightweight, web-based hosting environment for managing domains and databases without the overhead of full desktop GUIs.

Creating the Virtual Machine Environment

The foundation of this development environment is a properly configured Hyper-V virtual machine. Start by opening the Hyper-V Manager from your Windows 10 host. Right-click your server name and select New, then Virtual Machine. During the creation wizard, assign sufficient resources; at least 2GB of RAM and 20GB of dynamic storage are recommended for smooth operation. When configuring the network adapter, ensure it is connected to your primary external switch so the VM can access the internet for package downloads. Once the virtual machine is created, attach an Ubuntu Server ISO image to the DVD drive. Boot the VM and proceed with the standard installation steps. Select Ubuntu Server rather than the desktop version to conserve system resources. During the partitioning phase, choose Guided - use entire disk to simplify the process. Create a user account with sudo privileges, as you will need elevated permissions to install control panel software later. Complete the installation and reboot the system. After logging in, update the package lists by running sudo apt update && sudo apt upgrade -y to ensure all base components are current.

Installing Hestia Control Panel

HestiaCP is a free, open-source control panel designed for Linux servers. It offers a clean interface for managing web, DNS, mail, and database services. The installation process is streamlined through a single command-line script provided by the developers. First, verify that your server has a valid hostname set using hostnamectl set-hostname your-domain.com. This step is critical because Hestia uses the hostname for SSL certificate generation and internal routing. Next, download the installation script directly from the official repository. Use wget https://raw.githubusercontent.com/hestiacp/hestiacp/release/install/hst-install.sh. Before executing the script, it is prudent to review its contents or check for any recent changes in the documentation. Run the installer with bash hst-install.sh. The script will prompt you for several configuration details:
  • Email Address: Enter an admin email for receiving notifications and password resets.
  • Hostname: Confirm the FQDN you set earlier.
  • IP Address: The script usually detects this automatically, but verify it matches your VM’s static IP.
  • Language: Select your preferred interface language.
The installation typically takes between ten to twenty minutes depending on your internet speed. Once completed, the terminal will display the login URL and default credentials. Access the panel via https://your-server-ip:8083 in your browser. Note that you may need to accept the self-signed SSL certificate warning on the first visit.

Configuring Network and Firewall Rules

A common pitfall in Hyper-V setups is firewall misconfiguration. Ubuntu uses UFW (Uncomplicated Firewall) by default, which might block essential ports required by Hestia. To allow traffic, run sudo ufw allow ssh, sudo ufw allow http, sudo ufw allow https, and sudo ufw allow 8083 for the admin panel. Enable the firewall with sudo ufw enable if it was previously disabled. If you encounter connectivity issues, refer to our guide on Troubleshooting "Check Internet Connection" Error While Downloading Files in HestiaCP on Ubuntu 22. This resource addresses specific network stack problems that can arise during initial deployment. Additionally, ensure that Hyper-V's virtual switch is not isolating the VM from the host network. You can test connectivity by pinging external domains from within the Ubuntu shell.

Initial Setup and Best Practices

After logging into HestiaCP, configure the basic settings immediately. Set up a domain name and create a user account for yourself. Avoid using the root account for daily tasks to maintain security. Install Nginx as your web server, as it is the default and performs well for most use cases. Configure DNS records to point your domain to the public IP address of your Windows 10 host, assuming you have port forwarding enabled on your router. For advanced users managing containers alongside this setup, be aware of potential volume issues. See Docker on HyperV: Persistent Volume Not Working with Windows Prox64, Docker Desktop 4.25.1, and Kubernetes if you plan to integrate Docker services with Hestia. This ensures that data persistence remains stable across reboots. Regularly backup your Hestia configurations using the built-in backup feature to safeguard against data loss.

Frequently Asked Questions

Can I run HestiaCP on a local IP instead of a public one?

Yes, but you cannot host public websites securely without proper port forwarding and a public IP. Local IPs are suitable for internal testing only, as external clients will not be able to reach your server.

Why does my browser show a security warning when accessing the admin panel?

Hestia generates self-signed certificates by default during installation. Browsers flag these as insecure because they are not signed by a trusted Certificate Authority. You can replace them with Let's Encrypt certificates once your domain DNS points correctly to the server.

Is it safe to use Windows 10 as a production host for this VM?

No, Windows 10 is not designed for enterprise-grade server workloads. While excellent for development and learning, it lacks the stability, licensing model, and performance optimizations of Windows Server or dedicated Linux hardware for production environments.

How do I reset the HestiaCP admin password if I forget it?

You can reset the password via the command line on the Ubuntu server. Run /usr/local/hestia/bin/v-change-user-password admin new_password replacing 'admin' with your username and 'new_password' with your desired strong password.

What happens if I lose internet connection during the installation script?

The installation will likely fail and leave the system in a partially configured state. You should remove the Hestia packages manually, clear the temporary files, and restart the installation process after ensuring stable connectivity.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More