From c0d511f83a015d08a5442741b60f724bc8977dd5 Mon Sep 17 00:00:00 2001 From: "Wiktor A. Falkowski" Date: Fri, 23 Oct 2026 22:02:54 +0000 Subject: [PATCH] docs: rewrite help guides and navigation --- src/pages/DocumentationPage.jsx | 811 ++++++++++++++++---------------- 1 file changed, 394 insertions(+), 417 deletions(-) diff --git a/src/pages/DocumentationPage.jsx b/src/pages/DocumentationPage.jsx index 602de2d..d416cd4 100644 --- a/src/pages/DocumentationPage.jsx +++ b/src/pages/DocumentationPage.jsx @@ -15,7 +15,7 @@ function DocumentationPage() { const { isAuthenticated } = useContext(AuthContext); const [searchQuery, setSearchQuery] = useState(''); const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false); - const [activeArticleId, setActiveArticleId] = useState('account-creation'); + const [activeArticleId, setActiveArticleId] = useState('site-navigation'); const navigate = useNavigate(); const searchInputRef = useRef(null); const scrollRef = useRef(null); @@ -41,54 +41,193 @@ function DocumentationPage() { icon: Home, color: colors.blue, articles: [ + { + id: 'site-navigation', + title: 'Finding Your Way Around AnchorHost', + content: `# Finding Your Way Around AnchorHost + +This guide shows where things live in ${branding.name}. If you have an account, sign in and open the Dashboard. If you are comparing services, the public home page has the service overview, price estimate, and common questions. + +## Open the documentation +On the public home page, choose **Documentation** in the top navigation. On a phone, open the menu first. Once signed in, you can also choose **Documentation** near the bottom of the Dashboard sidebar. + +The guide list is on the left on a computer. On a phone, tap the menu button at the top of the page to open it. Pick a section, then an article. Use search to find a topic by name or by a word in the guide; press / to focus search when you are not typing in another field. Choose **Return to Dashboard** or **Return to Portal** at the bottom of the guide list to leave documentation. + +## The Dashboard sidebar +The signed-in Dashboard has a sidebar with the main areas of your account. On small screens it becomes a menu; open it to switch sections. + +- **My Servers** lists your servers. Select a server card to open its details and management tabs. +- **Create Server** opens the setup form. Choose a server type, image, and version, then review the resource estimate and capacity before creating it. +- **Domains** is where you create AnchorHost subdomains, add custom domains, and link domains to compatible servers. +- **Store** is where you add account credits. +- **Support** opens your support tickets. +- **Settings** contains account details and display preferences. + +Administrators may also see an **Admin Panel** entry. Your credit balance and connection status appear above the sidebar sections. + +## Inside a server +Open **My Servers**, then select a server card. The tabs across its detail view lead to the server's tools. Which tabs appear depends on the server type: + +- **Overview** shows status, resource use, connection details, and power actions. +- **Console** is available for game servers and sends commands to the game process. +- **Plugin Store** and **Quick Settings** appear for supported Minecraft servers. +- **Files** opens the built-in file manager where supported. VPS and database servers use other access methods. +- **Network** shows public port mappings. Some server types can add or remove custom mappings here. +- **Backups** manages restore points. +- VPS servers do not show **Terminal** or **Logs**; website and game servers do not show **Terminal**. Other tools depend on the selected server type. + +If an older guide mentions a tab you cannot see, check whether the guide describes the same server type. The panel hides tools that do not apply. + +## Common tasks +To create a server, choose **Create Server** in the sidebar. To reach a running service, open that server's **Network** tab and use the public address and external port shown there. To transfer website files, open the server's **Files** tab or use its SFTP details from **Overview**. To ask for help, choose **Support** and create a ticket. + +The Dashboard needs an active connection to load live server data. If its status says Offline, give it a moment to reconnect, then refresh the page or reopen the server before retrying an action.` + }, { id: 'account-creation', title: 'Creating Your Account', content: `# Creating Your Account -Creating an account on ${branding.name} gives you access to our Kubernetes-based cloud hosting platform. +From the public home page, choose **Create account** in the top navigation and complete the registration form. You will need a unique username, an email address you can open, and a password. Your username also appears in the AnchorHost subdomain shown by the Domains page, so choose one you are comfortable using. -## Step 1: Registration -Navigate to ${branding.name} and click the Register button. You can also sign up using Google or Apple for a faster experience. +If the registration flow asks you to verify your email, open the message sent to that address and follow its link. Check spam if it does not arrive. If the link expires, return to sign-in and use the available account recovery options, or contact Support. -## Step 2: Required Information -- **Username**: Must be unique. This determines your dedicated subdomain: \`u-{username}.${branding.domain}\`. -- **Email Address**: Used for verification and critical alerts. -- **Password**: Securely hashed using bcrypt. - -## Step 3: Deployment -When you click "Create Account": -1. Your account is initialized in our **PostgreSQL** database. -2. A dedicated Kubernetes namespace is provisioned: \`user-{username}\`. -3. You receive **200 welcome credits** (2.00 EUR value) to test the platform. -4. A verification email is sent to finalize account activation. - -> **Note**: Your username is permanent and directly affects your network identity. Choose carefully!` +After signing in, the Dashboard shows your account balance and current service prices. Review those values before creating a server. Keep your email current under **Dashboard > Settings** so account notices can reach you.` }, { id: 'logging-in', title: 'Authentication and Security', - content: `# Authentication and Security + content: `# Sign In and Protect Your Account -${branding.name} utilizes a hybrid approach of REST and WebSockets for secure, real-time management. +Choose **Sign in** from the public home page and enter the email or username and password associated with your account. Google and Apple sign-in are also available when configured. If you have forgotten your password, use the recovery option in the sign-in window. -## Authentication Flow -1. Credentials are verified via secure hash comparison. -2. A **JWT (JSON Web Token)** is issued, valid for 24 hours. -3. This token is stored in your browser's \`localStorage\` as \`anchorhost_token\`. -4. The dashboard establishes a persistent **WSS (Secure WebSocket)** connection for live updates. +## Two-factor authentication +You can manage two-factor authentication under **Dashboard > Settings**. Use an authenticator app to scan the setup code and enter the confirmation code shown by the app. Store any recovery information privately. Do not share one-time codes with anyone, including Support. -## Two-Factor Authentication (2FA) -We strongly recommend enabling 2FA in your **Account Settings**. -- Uses TOTP (Time-based One-Time Password) standards. -- Compatible with Google Authenticator, Authy, and Ente. -- Provides a critical layer of defense for your infrastructure. +## Dashboard connection status +The sidebar shows whether the Dashboard is connected to live server data. When it is offline, wait for it to reconnect before repeating a server action. Refresh the page or reopen the server if its status does not update. -## Real-time Connectivity -Look for the status indicator in the top bar: -- **Connected** (Green): Full sync with Kubernetes API. -- **Reconnecting** (Yellow): Attempting to restore session. -- **Disconnected** (Red): Network interruption detected.` +Use a unique password, keep your email address current, and sign out on shared computers. If you think someone else has access, change your password and contact Support.` + } + ] + }, + { + id: 'dashboard-guides', + title: 'Using the Dashboard', + icon: Book, + color: colors.blue, + articles: [ + { + id: 'create-server-guide', + title: 'Create Your First Server', + content: `# Create Your First Server + +Start from the Dashboard sidebar. Choose **Create Server** to open the setup form. The form checks capacity as you make choices and shows an estimate based on the selected type and resources; review the estimate shown in the form before you submit. + +## Choose a type and image +Pick the job that matches what you plan to run: + +- **VPS** gives you a virtual machine and operating system to configure yourself. +- **Game Server** provides a managed game runtime, including Minecraft and the other listed games. +- **Website** provides a web server or supported website stack. +- **Database** provides a managed database engine. + +Choose an image and version from the options shown. Some choices expose extra fields; Minecraft, for example, lets you choose a version and server loader. If an option is not listed, the panel does not currently offer it for that type. + +## Set resources and a name +Use a preset as a starting point or adjust CPU, memory, and storage in the custom configuration. The estimate changes with the selected values and service type. Capacity can change while you fill out the form, so a successful check does not reserve a slot until the server is created. + +Enter a name that identifies the service. Review the image, version, region, resources, and price, then choose **Create Server**. Keep the Dashboard open while it reports progress. When creation finishes, open **My Servers** and select the new server card. + +If capacity is unavailable or your credit balance is too low, adjust the configuration or add credits from **Store** and try again. The message in the form explains which condition blocked creation.` + }, + { + id: 'server-overview-guide', + title: 'Read the Server Overview', + content: `# Read the Server Overview + +Open **My Servers** from the Dashboard sidebar and select a server card. **Overview** is the starting point for checking its state, resource use, and available actions. + +The status tells you whether the service is running, stopped, or changing state. CPU and memory figures describe recent use; they do not guarantee spare capacity inside the operating system. Use **Refresh** if the values look stale after a reconnect. + +Start, stop, and restart controls act on the selected server. Wait for the status to change before repeating an action. Restarting interrupts connected users, so let them know before restarting a live game or website. + +Game servers include **Console** for game-process commands; supported Minecraft servers also show **Plugin Store** and **Quick Settings**. **Files** is available for supported game and website services. **Network** shows how clients reach the service, and **Backups** manages restore points. The panel only shows Terminal or Logs when those tools apply to the selected server. + +On a phone, the server tabs wrap onto additional rows. If you do not see a tab, check whether it is available for this server type.` + }, + { + id: 'file-manager-guide', + title: 'Upload and Manage Files', + content: `# Upload and Manage Files + +For a supported server, open **My Servers → select the server → Files**. The file manager opens at the working directory for that server type. The path above the file list tells you which directory you are viewing; open a folder to enter it, or use the breadcrumb and parent-folder control to go back. + +## Upload a file +Choose **Upload**, select a file from your device, and leave the page open while progress is shown. When the transfer finishes, the file list refreshes. For large files, keep the Dashboard connected until you see completion. If it stays at “Starting upload…” or reports an error, check the connection and available storage before retrying. If the problem repeats, open a Support ticket with the server name, file size, and approximate time. Do not include private file contents. + +You can also drag and drop where the file list accepts it. The browser still needs permission to read the selected file, and the server needs enough free storage. + +## Work with existing files +Select a file to preview or edit supported text formats. File actions can download, rename, copy, move, archive, or delete items. Deleting a file is permanent unless you restore it from a backup, so check the selected path before confirming. Create a folder first when you want to keep a project in a separate directory. + +## Use SFTP instead +The **Overview** page shows SFTP access when it has been provisioned. Use the displayed host, port, username, and password in an SFTP client such as FileZilla or WinSCP; SFTP uses SSH and is not the same protocol as FTP. The account is scoped to the server's shared files. SFTP may show that shared volume under /data, while the file manager displays the service's working path. Those paths can look different while pointing to the same stored files. + +For example, an Nginx website's document root is mounted from the same storage that SFTP presents under /data. A file uploaded to the document root should appear at the top level of the SFTP share. If it appears inside an extra data directory, check the file manager's current path before uploading again.` + }, + { + id: 'network-tab-guide', + title: 'Use the Network Tab', + content: `# Use the Network Tab + +Open a server and choose **Network** to see its public address and port mappings. The internal port is where the application listens inside the server; the external port is the public entry point assigned by ${branding.name}. From your computer or game client, use the external address shown in the table. + +The first address is a shortcut for the primary mapping. Choose **Copy address** to avoid transposing digits, especially when sharing a game address with players. + +## Add a port mapping +For supported VPS, game, and database servers, enter the internal port your application listens on, choose **TCP** or **UDP**, then submit. The panel assigns an external port and adds it to the mapping list. Configure the application to listen on the internal port you entered; clients connect to the external port shown after the mapping appears. + +Default mappings are marked as system-managed and cannot be removed from the panel. You can remove a custom mapping with its delete control; doing so blocks new connections through that external port. Website traffic follows website and domain routing, so the custom port form is not shown for website servers. + +If a mapping exists but a connection fails, confirm that the server is running and the application listens on the mapped internal port. Then check that the client uses the external port and correct protocol. A mapping does not install or configure an application inside a VPS.` + }, + { + id: 'backup-guide', + title: 'Create and Restore Backups', + content: `# Create and Restore Backups + +Open a server and choose **Backups**. The list shows available manual backups and automated snapshots. Create a named manual backup before a risky change such as replacing website files, updating a game server, or editing system configuration. + +Choose **Create Backup**, enter a name you will recognize later, and wait for the operation to finish. The page reports its status. + +Restoring a backup replaces the server's current data with the saved state. Confirm the selected server and backup name before proceeding; save a second backup first if you might need the current files later. The server may be unavailable while restoration runs. Wait for completion before starting it again. + +The backup page says manual backups remain until deleted and automated daily snapshots are retained for seven days. Treat backups as recovery points, not a second live copy of your work; keep another copy of files you cannot afford to lose.` + }, + { + id: 'domains-guide', + title: 'Create and Link a Domain', + content: `# Create and Link a Domain + +Choose **Domains** in the Dashboard sidebar. The page separates AnchorHost subdomains from custom domains that you own. + +## AnchorHost subdomain +Choose **New Subdomain**, enter a label, and review the full name shown in the form. You can select a website or VPS to link while creating the subdomain, or leave it unlinked and connect it later. The page also offers your username domain directly when that option is available. + +## Custom domain +Choose the custom-domain action and enter the full domain name. Before adding it, update DNS at your current registrar or DNS provider using the record and target shown in the dialog. Keep your existing nameserver setup unless you intend to move DNS hosting. The panel checks the record and reports whether it can verify the domain. + +After a domain appears in the list, use its link action to select a compatible website or VPS. DNS directs traffic to the platform; linking tells the platform which server should receive it. Both steps matter. If verification fails, check the spelling and DNS record at the provider, then allow time for cached answers to expire before retrying.` + }, + { + id: 'support-guide', + title: 'Contact Support and Manage Your Account', + content: `# Contact Support and Manage Your Account + +Choose **Support** in the Dashboard sidebar to view tickets or start a conversation. A useful ticket names the affected server, describes what you were trying to do, and includes the exact error and when it happened. For upload or connection trouble, include the file size or the address and port you tried, but never include passwords, private keys, or private file contents. + +Use **Settings** to update account and contact details and choose display preferences such as currency. Keeping your email current helps you receive account notices. If the Dashboard says the live connection is offline, reconnect before assuming a saved change failed; refresh the relevant page and check its current state first.` } ] }, @@ -101,142 +240,83 @@ Look for the status indicator in the top bar: { id: 'connection-basics', title: 'The Golden Rule: IP and Port', - content: `# Understanding Connection Basics + content: `# Understand an Address and Port -If you are new to hosting, the most important thing to understand is how your computer "finds" your server. +An address tells your client which server to reach; a port tells it which service on that server should receive the connection. Keep the port attached to the address when the client expects one. -## The Apartment Analogy -Think of our main server as a **Large Apartment Building**. -1. **The IP Address (85.237.179.121)**: This is the **Street Address** of the building. It gets you to the front door. -2. **The Port (e.g., 31452)**: This is your **Apartment Number**. +## Find the address in the panel +Open **Dashboard > My Servers > select a server > Network**. The primary address appears near the top, and each active mapping appears in the table below it. Choose **Copy address** to copy the public host and external port together. -**Without the Apartment Number (Port), you are just standing at the front door of a building with 10,000 people. You will never find your room!** +An address written as HOST:PORT means the client connects to HOST on PORT. A Minecraft client uses the game server's external address; an SFTP client uses the host and port shown in SFTP access details. Do not use the internal port from the mapping table when connecting from your computer. -## The Format -When connecting to anything on ${branding.name}, you will almost always use this format: -\`85.237.179.121:PORT\` - -> **Idiot-Proof Tip**: Look at your Server Card in the Dashboard. The number after the colon (\`:\`) is your unique Port. You **MUST** include it.` +## If the connection fails +Confirm the server is running, copy the address again from **Network**, and check that the client supports the service protocol. A web browser, Minecraft client, SSH client, and database tool use different connection settings. The application must also listen on the internal port targeted by the mapping.` }, { id: 'connect-website', title: 'Connecting to your Website', - content: `# How to view your Website + content: `# Open Your Website -Websites can be accessed via a custom subdomain or directly via IP. +Start with the server's **Overview** and confirm its status is running. For a public hostname, choose **Domains** in the Dashboard sidebar, create a subdomain or add your own domain, then link it to the website server. A custom domain also needs the DNS record shown in the domain form at your current DNS provider. -## Method 1: Using a Subdomain (Recommended) -You can register a free subdomain (e.g., \`mysite.u-username.${branding.domain}\`) via the **Domains** tab. -1. Go to the **Domains** tab in your Dashboard. -2. Register your preferred subdomain. -3. Once registered, you can simply type it into your browser's address bar. +After DNS and linking are in place, enter the full hostname in your browser. A new DNS record may not work immediately if your device or provider has cached an earlier answer. -## Method 2: Using the IP -If you haven't set up a subdomain yet: -1. Find your **External Port** in the Ports tab (usually for web it maps to 80). -2. Type \`http://85.237.179.121:PORT\` into your browser. +For a direct address, open the website's **Network** tab and use the public mapping displayed there if one is available. Website hosting commonly routes through a hostname, so do not assume every website has a shareable IP-and-port address. Use the exact address shown by the panel. -> **Why is it not working?** Make sure your server is **Running** (Green status) and you have exposed Port 80 in the Ports tab!` +If the hostname opens but shows the wrong page, check that the domain is linked to the intended server and that the site's index file is in the document root shown by **Files**. If the browser cannot connect, check server status and domain verification first.` }, { id: 'connect-game', title: 'Connecting to a Game (Minecraft)', - content: `# How to join your Minecraft Server + content: `# Join a Minecraft Server -Joining your server is simple once you have your Port. +Open **My Servers**, select your Minecraft server, and choose **Network**. Copy the public game address shown in the primary-address area. The value contains the host and external port assigned to your server. -## Step 1: Get your Address -In your Dashboard, look for your server's address. It will look like: -\`85.237.179.121:30542\` +In Minecraft, open **Multiplayer**, choose **Add Server**, paste the copied address into the server-address field, then save and connect. If the client offers separate host and port fields, split the address at the colon and enter each value in its field. -## Step 2: In Minecraft -1. Open Minecraft and click **Multiplayer**. -2. Click **Add Server**. -3. In **Server Address**, paste the full address (including the numbers after the colon). -4. Click **Done** and Join! - -> **Common Mistake**: Forgetting the port. If you just type \`85.237.179.121\`, you will see "Connection Refused" or join someone else's server!` +Use the address from the panel rather than a number from an old message. A server can receive a different external port after it is recreated. If the client cannot connect, confirm the server is running, copy the address again, and check that you used the game mapping rather than SFTP or another service port.` }, { id: 'connection-software', title: 'Software Recommendations', - content: `# Recommended Software for Every Platform + content: `# Choose a Client for Your Server -To connect to your servers, you need the right tools. Here is what we recommend for your device. +Use a client that speaks the same protocol as the service you are connecting to. Find the address and port in the selected server's **Network** tab or its SFTP access details. -## SSH (Linux VPS & Game Console) -Used for typing commands and managing your server. -- **Windows**: **PowerShell** (Built-in), **PuTTY**, or **Termius**. -- **macOS / Linux**: **Terminal** (Built-in). -- **Android / iOS**: **Termius** or **JuiceSSH**. +- **VPS over SSH:** Windows Terminal or PowerShell on Windows; Terminal on macOS and Linux. PuTTY is another SSH client for Windows. +- **Windows VPS over RDP:** Microsoft Remote Desktop or another RDP client, using the address and port shown for the server. +- **Database:** A client for the selected engine, such as DBeaver, plus that database's host, external port, username, and password. +- **Files:** Use the built-in **Files** tab where available, or an SFTP client such as FileZilla or WinSCP with the credentials shown in the server overview. -## RDP (Windows VPS) -Used for seeing the Windows desktop. -- **Windows**: **Remote Desktop Connection** (Built-in). -- **macOS / iOS / Android**: **Microsoft Remote Desktop** app. -- **Linux**: **Remmina**. - -## Databases (MySQL, Postgres, etc.) -Used for managing tables and data. -- **Windows / macOS / Linux**: **DBeaver** (Best all-in-one), **HeidiSQL** (Windows only, very light), **TablePlus**. -- **Mobile**: We do not recommend managing databases on mobile. - -## File Transfer (SFTP) -Used for uploading and downloading files. -- **Windows / macOS / Linux**: **FileZilla** or **WinSCP** (Windows only). -- **Dashboard**: Use our built-in **File Manager** for quick edits!` +A game Console tab sends commands to the game process. It is not a general SSH terminal. For a VPS, connect from an SSH client instead.` }, { id: 'connect-vps-beginner', title: 'Connecting to your VPS (Beginner)', - content: `# Your First Time Login to VPS + content: `# Connect to a VPS with SSH -A VPS doesn't have a "game menu." You talk to it using a text window called **SSH**. +The server detail view does not provide an interactive VPS terminal. Connect from your computer with an SSH client, using the public IP and external SSH port shown in **Dashboard > My Servers > select VPS > Network**. -## Method A: The Dashboard Console (Easiest) -1. Click on your VPS in the Dashboard. -2. Click the **Console** tab. -3. You will see a black screen. Press **Enter**. -4. Type your username (e.g., \`ubuntu\`) and the default password. -5. **Note**: When you type passwords in Linux, you won't see any dots or stars. **It is still typing!** Just type it and press Enter. +On Windows, open PowerShell or Windows Terminal. On macOS or Linux, open Terminal. Run this command and replace the placeholders with your server's details: -## Method B: Using your PC (Recommended) + ssh -p PORT USER@HOST -### Windows Users -1. Open **PowerShell** or **CMD**. -2. Type: \`ssh ubuntu@85.237.179.121 -p YOUR_PORT\` -3. (Optional) Download **PuTTY** if you prefer a graphical interface. +The login name depends on the operating-system image. Use the credentials supplied for your instance, then change the initial password after you log in. Password characters usually do not appear as you type. -### macOS and Linux Users -1. Open **Terminal**. -2. Type: \`ssh ubuntu@85.237.179.121 -p YOUR_PORT\` - -### Mobile Users -1. Download **Termius** from the App Store or Play Store. -2. Add a new "Host". -3. IP: \`85.237.179.121\`, Port: \`YOUR_PORT\`, User: \`ubuntu\`.` +If SSH times out, confirm the VPS is running and use the external SSH port, not internal port 22. If authentication fails, check the OS username and initial credentials rather than repeatedly guessing.` }, { id: 'connect-db-beginner', title: 'Connecting to your Database', - content: `# How to see your Database Data + content: `# Connect to a Database -You don't "open" a database like a folder. You use a tool to look inside it. +Use a database client such as DBeaver or the command-line client for your selected engine. Open **My Servers**, select the database server, and check **Network** for its public host, external port, and protocol. -## Recommended Tools -- **DBeaver (Universal)**: Works on Windows, Mac, and Linux. Supports everything. -- **HeidiSQL (Windows)**: Lightweight and fast for MySQL and Postgres. +Create a new connection in your client and enter the engine, host, external port, database name if required, username, and password configured for that database. Credentials depend on the image and setup; use the values for your own instance. Never reuse a password from an example or another server. -## Step-by-Step Connection (Example using DBeaver) -1. Click **New Connection**. -2. Select your database type (MySQL, PostgreSQL, etc.). -3. **Host**: \`85.237.179.121\` -4. **Port**: Your **External Port** from the Dashboard. -5. **Username**: \`root\` -6. **Password**: \`anchorhost123\` -7. Click **Test Connection**. +The mapping table shows the internal database port, while your external client must use the assigned external port. Keep the database password private and prefer a dedicated database user with only the permissions your application needs. -> **Crucial Step**: You **MUST** go to the **Ports** tab in your Dashboard and add a port for your database (Internal 3306 for MySQL or 5432 for Postgres) or you won't be able to connect from your computer!` +If the client cannot connect, verify the host and external port, then confirm the database is running and its credentials are correct. A network connection followed by an authentication error usually means the username, password, or authentication database needs attention.` } ] }, @@ -249,65 +329,45 @@ You don't "open" a database like a folder. You use a tool to look inside it. { id: 'what-is-vps', title: 'What is a VPS?', - content: `# What is a VPS? + content: `# What Is a VPS? -A VPS (Virtual Private Server) is a private, isolated portion of a powerful physical server. +A Virtual Private Server is a virtual machine with its own operating system. Unlike a managed game or website server, a VPS expects you to install and configure the software you want to run. -## Simple Explanation -Imagine a large apartment building. The building itself is the physical server. Each apartment is a **VPS**. -- You have your own front door (isolated environment). -- You have your own kitchen and bathroom (dedicated resources like CPU and RAM). -- What you do in your apartment doesn't affect your neighbors, and vice-versa. +You connect over SSH for Linux or RDP for Windows. The server's **Network** tab shows the address and external port; the login name and initial credentials depend on the operating-system image selected at creation. You are responsible for operating-system updates, application configuration, firewall rules, and backups of important data. -On ${branding.name}, our VPS instances are powered by **KubeVirt**, giving you a real virtual machine with its own kernel, allowing you to install any OS or software you need with full root access.` +Choose a VPS when you need control over the operating system or want to run software that does not have a managed image in **Create Server**. If you only want to host a supported website, database, or game, its managed server type may take less setup.` }, { id: 'server-types', title: 'Server Archetypes', - content: `# Server Archetypes + content: `# Pick the Server Type That Fits -We offer specialized hosting environments optimized for different workloads. +The **Create Server** page groups available images into four types. Choose the type first; the image and version lists then update to show the options available for that service. -## VPS (Virtual Private Server) -Powered by **KubeVirt**, these are true Virtual Machines with dedicated kernels. -- **Root Access**: Complete control over the OS. -- **Persistent Storage**: Backed by **Longhorn** block storage. -- **SSH/RDP**: Native access via dedicated NodePorts. +## VPS +Choose VPS when you need an operating system you can configure yourself. Connect with SSH or RDP using the address and login details for your instance. The server detail page provides status, network, and backup tools; it does not provide an interactive VPS terminal. -## Game Servers -Containerized environments pre-configured for low-latency gaming. -- **Minecraft**: Support for Paper, Spigot, and Vanilla with integrated Plugin Store. -- **Other Games**: FiveM, CS2, Rust, ARK, and Valheim. -- **Live Console**: Direct access to the game process input/output. +## Game Server +Choose Game Server for one of the listed game runtimes. Game servers have a **Console** for game-process commands. Supported Minecraft servers also show **Plugin Store** and **Quick Settings**. Use **Files** for supported game file operations. -## Web and Databases -Managed containers for application stacks. -- **Web**: Nginx, WordPress, and Node.js with automatic SSL via Traefik Ingress. -- **DB**: Managed MySQL, PostgreSQL, MongoDB, and Redis. -- **Defaults**: Managed databases use user \`root\` and password \`anchorhost123\` unless customized.` +## Website +Choose Website for a listed web server or website stack. Use **Files** to manage site files, **Domains** to create or attach a hostname, and **Network** to inspect any public mapping shown for the service. + +## Database +Choose Database for one of the listed database engines. Use the engine's client to connect, and check **Network** for the host and external port. Configure a private password for the database and do not expose it in a public ticket or guide. + +The available images, versions, and controls can change. The options currently shown in **Create Server** and in the selected server's detail view are the reliable guide to what that instance supports.` }, { id: 'how-billing-works', title: 'How Billing Works', - content: `# How Billing Works + content: `# Understand Credits and Service Costs -${branding.name} operates on a transparent **pre-paid credit system**. There are no hidden fees or surprise invoices. +The Dashboard displays your credit balance and the current estimate while you configure a server. The estimate uses the selected service type and its CPU, memory, and storage allocation. Review it before creating a server or changing its resources. -## Credits and Value -- **100 credits = 1.00 EUR**. -- You purchase credits via **Stripe**. -- Credits are stored in your account balance. +Credits are account balance, not a promise that every service has the same price. The Store is where you add credits; the creation and resource forms show the current cost for your choices. The panel also displays the credit-to-currency conversion used for its estimate. -## Billing Cycles -1. **Creation Fee**: A one-time small fee is deducted when you create a new server. -2. **Monthly Rent**: Every 30 days, the platform calculates the cost of your active servers based on their resource allocation (CPU, RAM, Storage) and service multiplier. -3. **Automatic Deduction**: This total is automatically deducted from your credit balance. - -## Low Balance Protection -If your balance is insufficient to cover the monthly rent: -- You will receive an email warning. -- If credits run out, servers are automatically **Suspended (Stopped)** to prevent debt. -- Your data remains safe! Simply add credits and click **Start** to resume service.` +Check the service terms and the amount shown in the Dashboard for current billing timing and expiry rules. Prices and billing rules can change, so use the live estimate rather than an old example. If you do not recognize a charge, open **Support** and include the server name and charge date.` } ] }, @@ -336,40 +396,24 @@ If you wish to host **Minecraft Bedrock** (for Console, Mobile, or Windows 10 Ed { id: 'minecraft-install', title: 'Installing and Managing Minecraft', - content: `# Minecraft Server Management + content: `# Create and Manage a Minecraft Server -${branding.name} provides a specialized environment for Minecraft servers using high-performance containers. +Choose **Create Server** in the Dashboard sidebar, then select **Game Server** and **Minecraft**. Choose a version and the server loader offered by the form, set CPU, memory, and storage, and enter a server name. Review the estimate and capacity message before submitting. -## Installation -1. Go to **Create Server**. -2. Select **Game Server**. -3. Choose **Minecraft** from the list. -4. Select your preferred **Version** (e.g., 1.21.1) and **Server Type** (Paper, Spigot, or Vanilla). -5. Allocate resources (RAM is critical for Minecraft performance). -6. Click **Create Server**. +When the server appears in **My Servers**, open its card. Use **Overview** for status and power controls, **Console** for game commands, and **Network** for the public game address. Supported Minecraft servers also include **Plugin Store** and **Quick Settings**. These tabs only appear when they apply to the selected image. -## Managing Your Server -Once deployed, you can control your server from the dashboard: -- **Start/Stop/Restart**: Real-time control buttons in the server card. -- **Live Console**: Direct access to the Minecraft server process. You can execute commands (e.g., \`op username\`) directly. -- **Settings**: Adjust \`server.properties\` directly via the **Quick Settings** tab.` +Share the external address from **Network** with players. Use the game console for commands such as granting operator status. Before changing versions, installing a plugin, or replacing world files, create a backup and confirm it has finished.` }, { id: 'minecraft-properties', title: 'Quick Settings (server.properties)', - content: `# Understanding server.properties + content: `# Use Minecraft Quick Settings -The \`server.properties\` file is the heart of your Minecraft configuration. You can edit this in the **Quick Settings** tab of your server. +Open the Minecraft server and choose **Quick Settings**. The panel loads settings supported by that server; use search or the setting groups to find a value, edit it, and save. -## Key Properties Explained -- **level-name**: The name of your world folder. -- **difficulty**: Set to \`peaceful\`, \`easy\` (1), \`normal\` (2), or \`hard\` (3). -- **gamemode**: The default mode for new players (\`survival\`, \`creative\`, etc.). -- **max-players**: Limits how many people can join at once. -- **view-distance**: How many chunks are sent to the client. **High values can cause lag!** -- **motd**: The message shown in the server list. +The values shown depend on the server version and configuration. Read each setting's label and helper text before changing it. A player limit affects who can join, while a world name can point the server at a different folder. -> **Pro Tip**: Always restart your server after changing these settings to apply them.` +After saving, the panel reports whether the change succeeded. Some settings only take effect after a server restart. Restart from the server controls when needed, and warn connected players first. Create a backup before editing settings that can affect access or world data.` }, { id: 'minecraft-non-premium', @@ -431,21 +475,13 @@ Giving someone **OP** gives them full power over the server. { id: 'minecraft-pregen', title: 'Chunk Pregeneration', - content: `# World Pregeneration + content: `# Pregenerate a Minecraft World -Generating new terrain is the most resource-intensive task for a Minecraft server. If many players explore new areas at once, it will cause lag. +World generation can make CPU and storage activity spike while players explore new areas. Pregenerating terrain moves some of that work ahead of time, which can make first-time exploration smoother. -## Why Pregenerate? -Pregeneration creates world chunks **before** players join, so the server only has to *load* them from disk instead of *calculating* them on the fly. +One available approach is the Chunky plugin, if it supports your Minecraft version and loader. Install it from **Plugin Store**, restart the server if required, then follow the plugin's current instructions in the **Console**. Start with a modest area and monitor server resources before increasing the radius. -## Recommended Tool -We recommend installing the **Chunky** plugin from our Plugin Store. -1. Install **Chunky**. -2. Restart the server. -3. In console, set a radius: \`chunky radius 5000\`. -4. Start pregeneration: \`chunky start\`. - -> **Note**: This process will use 100% CPU while running. It is best to do this while no one is playing.` +Pregeneration can keep a server busy for a while. Run it when fewer players are online, create a backup first, and stop the task if the server becomes unresponsive.` }, { id: 'minecraft-plugins-files', @@ -478,42 +514,26 @@ We provide an integrated **Plugin Store** powered by the Modrinth API. { id: 'network-architecture', title: 'Network Architecture', - content: `# Network Architecture + content: `# How Server Addresses Work -All servers deployed on ${branding.name} share a high-performance static IP but utilize unique entry points. +A server can have one or more port mappings. Each mapping pairs an internal port used by the application with an external public port assigned by the platform. Open the server's **Network** tab to see both values, the protocol, and the public host. -## External Connectivity -- **Global IP**: \`85.237.179.121\` -- **Entry Type**: NodePort (Range: 30000 - 32768) -- **Example**: If your server is assigned port \`31452\`, you connect via \`85.237.179.121:31452\`. +Clients outside the cluster connect to the external address. The application inside the server must listen on the matching internal port. A game client uses the game mapping; an SFTP client uses the separate SFTP port shown with the server's access details. -## Subdomain System -We provide DNS through the **deSEC API**. Each account uses the namespace \`u-{username}.${branding.domain}\`; names registered below it resolve through a wildcard CNAME to the platform domain. -- **Format**: \`{label}.u-{username}.${branding.domain}\` -- **DNS**: Wildcard DNS directs registered names to the platform edge. A DNS record alone does not connect a hostname to a service; link it to a website or VPS in the Domains tab. -- **Custom Domains**: You can point your own domain (e.g., example.com) by creating an **A Record** pointing to \`85.237.179.121\`.` +Domains provide a hostname for compatible website and VPS services. Creating or verifying a domain handles its DNS side; linking the domain to the intended server tells the platform where to send requests. A hostname does not replace a game port unless the game client and DNS setup support that behavior.` }, { id: 'exposing-ports', title: 'Exposing Ports (NodePorts)', - content: `# Exposing Ports + content: `# Add or Remove a Port Mapping -To make your server accessible from the internet, you must expose its internal ports using our NodePort system. +Open **My Servers > select a server > Network**. The mapping table lists the service, internal port, public external port, and protocol. Default mappings are marked as system-managed and cannot be removed from this screen. -## Step 1: Identify the Internal Port -Determine which port your application is listening on inside the container or VPS. -- **Minecraft**: 25565 -- **SSH**: 22 -- **Web**: 80 -- **RDP**: 3389 +For a supported VPS, game, or database server, scroll to **Expose New Port**. Enter the port the application listens on inside the server, select TCP or UDP to match the application, then submit. When the mapping appears, give clients the public host and external port from the table. Keep the application configured for the internal port. -## Step 2: Add Port via Dashboard -1. Go to your **Server Details** page. -2. Locate the **Ports** section and click **Add Port**. -3. Enter the **Internal Port** and select the protocol (**TCP** or **UDP**). +Remove a custom mapping with its delete control when you no longer want that public entry point. This blocks new connections through that mapping, so check that no live application depends on it first. Website services use domain and web routing; the custom port form is not shown for them. -## Step 3: Connect via External Port -The system will assign a unique **External Port** (e.g., 31245). Your server is reachable at: \`85.237.179.121:31245\`.` +A mapping only forwards traffic. It does not install an application, open a firewall inside a guest OS, or make a service listen on a port. If a client cannot connect, verify each of those pieces.` } ] }, @@ -525,57 +545,44 @@ The system will assign a unique **External Port** (e.g., 31245). Your server is articles: [ { id: 'vps-credentials', - title: 'Default Credentials', - content: `# Default Credentials + title: 'Find and Change VPS Login Credentials', + content: `# Find and Change VPS Login Credentials -When you first deploy a VPS, use these default credentials to log in. **Change them immediately!** +The login name and initial password depend on the operating-system image selected when the VPS was created. Use the credentials supplied for that instance; do not rely on passwords copied from a guide or another server. -| OS | Default User | Default Password | -|:---|:---|:---| -| **Ubuntu** | \`ubuntu\` | \`ubuntu\` | -| **Debian** | \`debian\` | \`debian\` | -| **Alpine** | \`root\` | \`alpine\` | -| **CentOS** | \`centos\` | \`centos\` | -| **Windows** | \`Administrator\` | \`Password123\` |` +After the first login, change the initial password before installing applications or exposing additional services. On most Linux systems, run passwd in the SSH session and follow its prompts. For Windows, use the account settings inside the Windows session. + +If you cannot find the initial credentials, check the server creation details or contact Support and include the server name. Never put a password in a support ticket. Once you regain access, replace it with a unique password and store it somewhere private.` }, { id: 'ssh-cmd-putty', title: 'Connecting via SSH (CMD/PuTTY)', - content: `# Connecting via SSH + content: `# Connect with SSH or PuTTY -## Using Windows CMD or PowerShell -Type the following (replace \`user\` and \`PORT\`): -\`\`\`bash -ssh -p PORT user@85.237.179.121 -\`\`\` +First open **My Servers**, select your VPS, then choose **Network**. Copy the public host and external SSH port shown for that server. Your operating-system username depends on the image selected at creation. -## Using PuTTY -1. **Host Name**: \`85.237.179.121\` -2. **Port**: Your server's assigned **External Port**. -3. **Connection type**: SSH. -4. Click **Open**.` +## Windows Terminal, PowerShell, macOS, or Linux +Run the following command after replacing the placeholders with the values from your panel: + + ssh -p PORT USER@HOST + +For example, use the format ssh -p 31234 ubuntu@203.0.113.24. Those example values are illustrative; do not use them for your server unless the panel shows them. + +## PuTTY +Enter the server's public host in **Host Name**, enter its external SSH port in **Port**, choose **SSH**, then select **Open**. Accept the host-key prompt only when you expect to connect to that server. + +If the connection times out, verify the VPS is running and that you used the external port. If login fails, check the username and credentials supplied for your operating-system image.` }, { id: 'securing-ssh', title: 'Securing SSH (Keys vs Passwords)', - content: `# Securing SSH Access + content: `# Secure SSH Access -By default, we use password authentication. However, using **SSH Keys** is significantly more secure. +After your first successful login, replace the initial password with a unique one. A password manager helps avoid reusing credentials from another service. -## Password Login -- **Pros**: Simple to use. -- **Cons**: Vulnerable to brute-force attacks. +SSH keys can reduce password-based login attempts, but configure them carefully. Generate a key on your own computer, add its public key to the VPS account, and open a second SSH session to confirm the key works before changing the server's password-login settings. Keep the private key on your computer and never paste it into a ticket or website. -## SSH Key Authentication -- **Pros**: Nearly impossible to hack; no need to type passwords. -- **Cons**: Requires initial setup. - -## How to switch to Keys -1. Generate a key on your PC: \`ssh-keygen -t ed25519\`. -2. Copy the contents of your \`.pub\` file. -3. On your VPS, paste it into \`~/.ssh/authorized_keys\`. -4. In \`/etc/ssh/sshd_config\`, set \`PasswordAuthentication no\`. -5. Restart SSH: \`sudo systemctl restart ssh\`.` +Do not disable password login until you have confirmed key access and have another recovery path. The correct SSH service name and restart command vary by operating system; consult that distribution's current guide before changing its SSH configuration.` } ] }, @@ -588,78 +595,46 @@ By default, we use password authentication. However, using **SSH Keys** is signi { id: 'vps-power-actions', title: 'Power Actions and Status', - content: `# VPS Power Actions + content: `# Start, Stop, and Restart a VPS -Managing the state of your Virtual Machine is done directly through the dashboard. +Open **My Servers** and select the VPS. Its status appears in **Overview**, alongside the available power controls. -## Status Indicators -- **Running** (Green): Your VPS is active and consuming resources. -- **Stopped** (Red): The VM is powered off. No CPU/RAM is used, but storage is preserved. -- **Starting/Stopping** (Yellow): The VM is transitioning between states. +Choose **Start** to boot a stopped VPS. Choose **Stop** to shut down a running VPS, or **Restart** to reboot it. A status such as Starting or Stopping means the action is still in progress; wait for it to settle before trying again. Stopping or restarting disconnects active SSH and application sessions. -## Control Buttons -1. **Start**: Boots the VM kernel. -2. **Stop**: Sends an ACPI shutdown signal. If the OS doesn't respond within 60 seconds, it is forcefully terminated. -3. **Restart**: Performs a quick power cycle. -4. **Kill**: Equivalent to pulling the power plug. Use only if the OS is completely frozen.` +If a power action does not finish, check **Overview** again and contact Support with the server name and current status. The detail view does not provide an interactive VPS terminal; connect over SSH using the address in **Network**.` }, { id: 'vps-resources', title: 'Scaling Resources', - content: `# Scaling Resources + content: `# Change VPS Resources -${branding.name} allows you to adjust your VPS specifications as your needs grow. +Open the VPS from **My Servers** and review the resource controls available in its management view. The panel shows an estimated credit cost before a change is submitted. Read the estimate and confirmation message before applying new values. -## CPU and RAM -You can increase or decrease your allocated CPU cores and RAM from the **Settings** tab. -- **Note**: Most OS changes require a **Restart** to recognize the new resource limits. -- **Dynamic Scaling**: Kubernetes handles the resource shifting, but the VM guest OS must re-initialize its hardware map. +More CPU or memory may help a busy service, but it will not fix an application error or a disk that has run out of space. After a resource change, check the server status and reported usage again. If the guest operating system does not see an expanded disk automatically, follow current instructions for that operating system after taking a backup. -## Storage Expansion -Our storage is backed by **Longhorn**. -1. Increase the disk size in the dashboard. -2. Inside your VPS, you must resize the partition (e.g., using \`growpart\`) and the filesystem (e.g., \`resize2fs\`). - -> **Warning**: You can always increase storage, but decreasing it is extremely risky and can lead to data loss.` +If the panel does not offer the resource control you need, open **Support** with the server name and requested change.` }, { id: 'vps-snapshots', title: 'Snapshots and Backups', - content: `# Snapshots and Backups + content: `# Create and Restore Backups -Protect your data before making major changes. +Open the VPS and choose **Backups** to create a named manual backup. Make one before a major system update, changing storage layout, or installing software that changes system services. Wait until the backup reports completion before making the change. -## What is a Snapshot? -A snapshot is a "frozen" state of your disk at a specific point in time. It is perfect for creating a restore point before installing complex software. +To restore a backup, select the intended restore point and read the confirmation carefully. A restore replaces current disk data with the saved state; changes made after that backup can be lost. If you need to keep recent files, make another backup first and download a separate copy of anything important. -## Automated Backups -We perform daily off-site backups of all **Longhorn** volumes. -- Backups are stored in a separate data center. -- You can request a restoration of your entire VPS via a **Support Ticket** if a catastrophic failure occurs.` +The Backups page describes the retention available for manual backups and automated snapshots. Check the status shown there instead of assuming an older restore point remains available. Keep an independent copy of important data as well.` }, { id: 'vps-change-password', title: 'Changing VPS Password', - content: `# Changing Your VPS Password + content: `# Change Your VPS Password -Security is paramount. You should change your password immediately after the first login. +Connect to the VPS over SSH using the address in its **Network** tab. On most Linux distributions, run passwd and follow the prompts to enter your current password and a new one. Password characters normally remain invisible while you type. -## Linux (Ubuntu, Debian, Alpine, CentOS) -1. Log in via SSH or the Dashboard Console. -2. Type the following command: -\`\`\`bash -passwd -\`\`\` -3. Enter your **current** password. -4. Enter your **new** secure password twice. +Choose a unique password and store it in a password manager. For Windows, use the account password controls inside the Windows session. If an application or scheduled task uses the old password, update that configuration too. -> **Note**: For Alpine Linux logged in as root, simply type \`passwd\`. For other distros using \`sudo\`, you can change any user's password with \`sudo passwd username\`. - -## Windows Server -1. Connect via RDP (Remote Desktop). -2. Press \`Ctrl+Alt+End\` (which mimics Ctrl+Alt+Del on a remote session). -3. Select **Change a password**. -4. Follow the on-screen prompts.` +If the operating system rejects the change or you no longer know the current password, do not paste credentials into a Support ticket. Contact Support with the server name and a description of the login issue.` } ] }, @@ -672,75 +647,49 @@ passwd { id: 'db-getting-started', title: 'Getting Started with Databases', - content: `# Managed Database Hosting + content: `# Set Up a Managed Database -${branding.name} provides pre-configured database containers for rapid development. +Choose **Create Server** and select **Database**. Pick the engine and version you need, set the server name and resources, then review the estimate before creating it. The form's list is the current source of truth for supported engines and versions. -## Supported Engines -- **MySQL**: The world's most popular open-source database. -- **PostgreSQL**: Advanced object-relational database. -- **MongoDB**: Leading NoSQL document database. -- **Redis**: High-performance in-memory data store. +When creation finishes, open the database from **My Servers**. Use **Network** to inspect its mappings and **Overview** for its status. A mapping exposes a database port to external clients, so add one only when you need remote access and protect the database with a private password and least-privilege user accounts. -## Default Credentials -For all managed databases, the default credentials are: -- **User**: \`root\` -- **Password**: \`anchorhost123\` - -> **Important**: You must expose the database port via the **Ports** tab to connect from outside the cluster.` +Keep the connection details and credentials configured for this instance. The panel does not make a universal database password safe to reuse. If an application and database run as separate services, configure the application with this database's host, port, database name, and user.` }, { id: 'db-change-password', title: 'Changing Database Passwords', - content: `# Changing Database Passwords + content: `# Change a Database Password -It is highly recommended to change the default \`anchorhost123\` password immediately. +Change credentials with the official administration client for your database engine. Confirm the engine and version in **My Servers**, then consult its current vendor documentation for the correct account and password command; syntax differs across engines and versions. -## MySQL / MariaDB -Connect to your database and run: -\`\`\`sql -ALTER USER 'root'@'%' IDENTIFIED BY 'your_new_password'; -FLUSH PRIVILEGES; -\`\`\` +Before changing a password used by an application, note which services depend on it. Update the application configuration immediately after rotating the database credential, then test a new connection. Keep the new password out of source code, screenshots, and Support tickets. -## PostgreSQL -Connect via \`psql\` and run: -\`\`\`sql -ALTER USER root WITH PASSWORD 'your_new_password'; -\`\`\` - -## MongoDB -Connect via \`mongosh\` and run: -\`\`\`javascript -use admin -db.changeUserPassword("root", "your_new_password") -\`\`\` - -## Redis -Redis uses a single password (no users by default in older versions). -1. Edit the \`redis.conf\` via the File Manager. -2. Locate the line \`# requirepass foobared\`. -3. Change it to \`requirepass your_new_password\`. -4. Restart the server.` +If you are locked out or unsure which account the application uses, create a backup before making further changes and contact Support with the server name and database engine. Never send the password itself.` }, { id: 'db-connection-strings', title: 'Connection Strings', - content: `# Database Connection Strings + content: `# Build a Database Connection String -Use these templates to connect your applications. Replace \`IP\`, \`PORT\`, and \`PASSWORD\`. +A connection string records the database engine, account, host, port, and sometimes the database name. Use the values configured for your own instance; do not copy a password from a sample. + +Common formats look like this: ### MySQL -\`mysql://root:PASSWORD@IP:PORT/dbname\` +mysql://USER:PASSWORD@HOST:PORT/DATABASE ### PostgreSQL -\`postgresql://root:PASSWORD@IP:PORT/dbname\` +postgresql://USER:PASSWORD@HOST:PORT/DATABASE ### MongoDB -\`mongodb://root:PASSWORD@IP:PORT/?authSource=admin\` +mongodb://USER:PASSWORD@HOST:PORT/DATABASE ### Redis -\`redis://:PASSWORD@IP:PORT\`` +redis://:PASSWORD@HOST:PORT + +Open **My Servers > select database > Network** to find the public host and external port. Some clients also need a database name or an authentication database. If a password contains punctuation, encode it as required by the client; otherwise characters such as @ or : can be read as part of the connection-string structure. + +Use a dedicated database account with only the access your application needs. Avoid putting a production password directly into source code; use your application's secret or environment-variable configuration instead.` } ] }, @@ -753,31 +702,24 @@ Use these templates to connect your applications. Replace \`IP\`, \`PORT\`, and { id: 'subdomain-management', title: 'Managing Subdomains', - content: `# Managing Your Subdomains + content: `# Create and Link a Subdomain -Every user on ${branding.name} has their own personal network space based on their username. +Choose **Domains** in the Dashboard sidebar and select **New Subdomain**. Enter a short label, then check the full hostname shown in the form. You can link the subdomain to a website or VPS during creation; you can also leave it unlinked and connect it later from the domain list. -## How to create a Subdomain -1. Go to the **Domains** tab. -2. Enter your desired name (e.g., \`play\`). -3. Click **Register**. -4. Your full domain will be \`play.u-username.${branding.domain}\`. +To use the username domain itself, select **Use my username domain directly** if the option is available. This claims the hostname shown in the dialog without adding a label in front. -## Linking to a Server -Once a domain is created, you can "point" it to one of your active servers. -- If linked to a **Website**, it will automatically handle SSL (HTTPS). -- If linked to a **Game Server**, the hostname resolves to the platform edge. You still need the assigned port in the game client; automatic port discovery is planned.` +After creation, check the domain status in the list. A hostname needs both DNS and a server link before it can serve a website. If it remains unlinked, use its link action and choose the intended compatible server. Allow DNS caches time to update after changes.` }, { id: 'dnssec-warnings', title: 'DNS and domain availability', - content: `# DNS and domain availability + content: `# Add a Custom Domain -Platform subdomains inherit DNSSEC protection from the parent zone. You do not need to configure nameservers for an AnchorHost subdomain. +Choose **Domains** in the Dashboard sidebar, then open the custom-domain form and enter the full hostname you own. Before adding it, create the DNS record requested by the form at your current registrar or DNS provider. The dialog shows the target value to use. -New names resolve through wildcard DNS, but they still need to be registered in the Domains tab and linked to a compatible service before they serve an application. DNS changes can take time to reach resolvers that have cached an older answer. +Keep your existing DNS provider and nameservers unless you intend to move DNS hosting. After saving the domain, use its verification status and message to check whether the record resolves as expected. DNS changes may take time to appear because resolvers cache previous answers. -For a custom domain, keep your current DNS provider and add the record shown during custom-domain setup. Do not move your nameservers unless you intend to transfer DNS management.` +When the domain verifies, link it to a compatible website or VPS from the domain list. Verification and linking solve different parts of the setup: DNS directs traffic to the platform, and the link selects which server receives it.` } ] }, @@ -900,46 +842,37 @@ New to Linux? Here are the essential commands you will need. { id: 'setup-wordpress-vps', title: 'Installing WordPress on VPS', - content: `# Installing WordPress on VPS + content: `# Install WordPress on an Ubuntu VPS -## Step 1: Update your system -\`\`\`bash -sudo apt update && sudo apt upgrade -y -\`\`\` +This is a manual setup for an Ubuntu VPS. It is separate from the managed **Website** options in **Create Server**. You need SSH access, a domain or public address, and a backup before making changes. Commands differ on other Linux distributions. -## Step 2: Install LAMP Stack -\`\`\`bash -sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql -y -\`\`\` +## Install the web and database packages +Connect over SSH, then update the package list and install Apache, MariaDB, PHP, and the WordPress PHP modules: -## Step 3: Configure Database -\`\`\`sql -sudo mysql -u root -CREATE DATABASE wordpress; -CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'password'; -GRANT ALL ON wordpress.* TO 'wp_user'@'localhost'; -FLUSH PRIVILEGES; -EXIT; -\`\`\` + sudo apt update + sudo apt install apache2 mariadb-server php libapache2-mod-php php-mysql -## Step 4: Install WordPress -\`\`\`bash -cd /tmp && wget https://wordpress.org/latest.tar.gz -tar -xzvf latest.tar.gz -sudo cp -R wordpress/* /var/www/html/ -sudo chown -R www-data:www-data /var/www/html/ -\`\`\` +## Create a database account +Open the MariaDB client as an administrator. Create a database and a separate account for WordPress; replace the sample password with a unique value stored privately: -## Step 5: Finish -Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser.` + sudo mariadb + CREATE DATABASE wordpress; + CREATE USER 'wp_user'@'localhost' IDENTIFIED BY 'REPLACE_WITH_A_UNIQUE_PASSWORD'; + GRANT ALL PRIVILEGES ON wordpress.* TO 'wp_user'@'localhost'; + FLUSH PRIVILEGES; + EXIT; + +Do not use the sample text as a real password. If you have already shared or committed a database password, rotate it before using the site. + +## Place WordPress files +Download WordPress from wordpress.org, unpack the archive, and copy its files into the document root configured for Apache. Set ownership and permissions according to the web server's security guide; avoid making the whole document root world-writable. + +Then visit the website and complete the WordPress setup form with the database name, user, host, and password you created. Configure HTTPS for a public production site, keep WordPress and its extensions updated, and create backups before upgrades.` } ] } ]; - const allArticles = sections.flatMap(s => s.articles); - const activeArticle = allArticles.find(a => a.id === activeArticleId) || allArticles[0]; - const filteredSections = sections.map(section => ({ ...section, articles: section.articles.filter(article => @@ -947,6 +880,13 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser article.content.toLowerCase().includes(searchQuery.toLowerCase()) ) })).filter(section => section.articles.length > 0); + const visibleArticles = filteredSections.flatMap(section => section.articles); + const activeArticle = visibleArticles.find(article => article.id === activeArticleId) || visibleArticles[0] || null; + + useEffect(() => { + if (!visibleArticles.length || visibleArticles.some(article => article.id === activeArticleId)) return; + setActiveArticleId(visibleArticles[0].id); + }, [searchQuery, activeArticleId]); const handleArticleClick = (id) => { setActiveArticleId(id); @@ -1003,8 +943,30 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser continue; } + const unorderedItem = line.match(/^\s*[-*]\s+(.+)$/); + const orderedItem = line.match(/^\s*\d+[.)]\s+(.+)$/); + if (unorderedItem || orderedItem) { + const ordered = Boolean(orderedItem); + const items = []; + let nextIndex = i; + while (nextIndex < lines.length) { + const candidate = lines[nextIndex].match(ordered ? /^\s*\d+[.)]\s+(.+)$/ : /^\s*[-*]\s+(.+)$/); + if (!candidate) break; + items.push(
  • {renderText(candidate[1])}
  • ); + nextIndex++; + } + const List = ordered ? 'ol' : 'ul'; + rendered.push( + + {items} + + ); + i = nextIndex - 1; + continue; + } + if (line.startsWith('# ')) { - rendered.push(

    {renderText(line.replace('# ', ''))}

    ); + rendered.push(

    {renderText(line.replace('# ', ''))}

    ); } else if (line.startsWith('## ')) { rendered.push(

    @@ -1056,8 +1018,8 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser
    -

    Docs

    -

    Platform Wiki

    +

    Help & guides

    +

    AnchorHost

    @@ -1068,7 +1030,8 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser setSearchQuery(e.target.value)} className="w-full pl-11 pr-4 py-3 rounded-xl text-xs font-bold border border-dash-border bg-black/20 focus:outline-none focus:ring-2 focus:ring-primary/20 focus:bg-black/40 transition-all text-dash-text" @@ -1077,7 +1040,7 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser
    @@ -1129,10 +1096,13 @@ Restart Apache: \`sudo systemctl restart apache2\`. Visit your IP in the browser
    - Documentation + Help & guides