<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: VeloxaHost</title>
    <description>The latest articles on DEV Community by VeloxaHost (@veloxadev).</description>
    <link>https://dev.to/veloxadev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4229116%2F67dfa75e-0e23-4209-b42b-c62b672e0090.png</url>
      <title>DEV Community: VeloxaHost</title>
      <link>https://dev.to/veloxadev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/veloxadev"/>
    <language>en</language>
    <item>
      <title>Port already in use? Find what's holding it and fix it in a minute</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Fri, 13 Nov 2026 14:56:24 +0000</pubDate>
      <link>https://dev.to/veloxadev/port-already-in-use-find-whats-holding-it-and-fix-it-in-a-minute-3hhm</link>
      <guid>https://dev.to/veloxadev/port-already-in-use-find-whats-holding-it-and-fix-it-in-a-minute-3hhm</guid>
      <description>&lt;p&gt;You start your app and it dies straight away:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: listen EADDRINUSE: address already in use :::3000
bind() to 0.0.0.0:80 failed (98: Address already in use)
Bind for 0.0.0.0:8080 failed: port is already allocated
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Three tools, three wordings, one meaning: something else is already listening on that port. Here's how to find out what in about a minute, and how to fix it without breaking anything else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: find who owns the port
&lt;/h2&gt;

&lt;p&gt;Ask the kernel. On any modern Linux server:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo ss -ltnp &lt;span class="s1"&gt;'sport = :3000'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You'll get a line like:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;LISTEN 0 511 *:3000 *:* users:(("node",pid=48213,fd=21))
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's the process name and its PID. Two alternatives if you prefer them:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo lsof -i :3000
sudo fuser 3000/tcp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use &lt;code&gt;sudo&lt;/code&gt;. Without it you often can't see processes owned by other users, and the output is empty, which makes it look like nothing is using the port.&lt;/p&gt;

&lt;p&gt;Now match what you found to one of the cases below.&lt;/p&gt;

&lt;h2&gt;
  
  
  Case 1: an old copy of your own app
&lt;/h2&gt;

&lt;p&gt;The most common one. A previous &lt;code&gt;npm start&lt;/code&gt;, a &lt;code&gt;nodemon&lt;/code&gt; you forgot in another terminal, a &lt;code&gt;screen&lt;/code&gt; or &lt;code&gt;tmux&lt;/code&gt; session, or a crashed run that left a child process behind.&lt;/p&gt;

&lt;p&gt;Stop it gently first, then harder only if you must:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;kill&lt;/span&gt; 48213          &lt;span class="c"&gt;# asks the process to exit cleanly&lt;/span&gt;
&lt;span class="nb"&gt;kill&lt;/span&gt; -9 48213       &lt;span class="c"&gt;# only if it ignores the first one&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the app is managed by something, stop it there instead, or it will just come back:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pm2 list &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; pm2 stop myapp
sudo systemctl stop myapp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Case 2: another web server on 80 or 443
&lt;/h2&gt;

&lt;p&gt;You install Nginx and it fails on port 80 because Apache is already there (or the other way round). Some server images ship with one preinstalled.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;sudo ss -ltnp &lt;span class="s1"&gt;'sport = :80'&lt;/span&gt;
sudo systemctl disable --now apache2
sudo systemctl restart nginx
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Use &lt;code&gt;disable --now&lt;/code&gt;, not just &lt;code&gt;stop&lt;/code&gt;, or it comes back on the next reboot.&lt;/p&gt;

&lt;h2&gt;
  
  
  Case 3: a Docker container
&lt;/h2&gt;

&lt;p&gt;If &lt;code&gt;ss&lt;/code&gt; shows &lt;code&gt;docker-proxy&lt;/code&gt;, a container has published that port. Find it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker ps --filter &lt;span class="nv"&gt;publish&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then stop that container, or &lt;code&gt;docker compose down&lt;/code&gt; in its project folder. If two Compose projects both publish &lt;code&gt;8080:80&lt;/code&gt;, change one of them to another host port, like &lt;code&gt;8081:80&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Case 4: systemd is holding the socket
&lt;/h2&gt;

&lt;p&gt;Some services use socket activation: systemd listens on the port and only starts the service when a connection arrives. Stopping the service isn't enough, because the socket unit still owns the port.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl list-sockets
sudo systemctl stop myapp.socket
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;On Ubuntu 24.04, SSH works this way (&lt;code&gt;ssh.socket&lt;/code&gt;), which is why changing the SSH port needs a socket reload, not just a service restart.&lt;/p&gt;

&lt;h2&gt;
  
  
  Case 5: it's your own app, restarting too fast
&lt;/h2&gt;

&lt;p&gt;If your server exits and immediately restarts on the same port, a custom server can fail for up to a minute while the old connections finish closing. Most frameworks set the &lt;code&gt;SO_REUSEADDR&lt;/code&gt; socket option for you, which avoids this. If you wrote your own socket server, set it yourself before you bind:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;sock&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;setsockopt&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;socket&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;SOL_SOCKET&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;socket&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="no"&gt;SO_REUSEADDR&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Not the same error: "permission denied"
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Error: listen EACCES: permission denied 0.0.0.0:80
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That's a different problem. Ports below 1024 need root or a capability. Don't run your app as root to fix it. Run it on a high port like 3000 and put Nginx or Caddy in front on 80 and 443, which is the setup you want in production anyway.&lt;/p&gt;

&lt;h2&gt;
  
  
  Or just use another port
&lt;/h2&gt;

&lt;p&gt;Sometimes the simplest fix is right: make the port configurable and pick a free one.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;PORT&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;3001 npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then point your reverse proxy at the new port, and you're done.&lt;/p&gt;

&lt;h2&gt;
  
  
  Checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;sudo ss -ltnp 'sport = :PORT'&lt;/code&gt; to find the process and PID&lt;/li&gt;
&lt;li&gt;Old copy of your app? &lt;code&gt;kill PID&lt;/code&gt;, or stop it in pm2 or systemd&lt;/li&gt;
&lt;li&gt;Apache vs Nginx? &lt;code&gt;systemctl disable --now&lt;/code&gt; the one you don't use&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;docker-proxy&lt;/code&gt;? &lt;code&gt;docker ps --filter publish=PORT&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Still busy after stopping the service? &lt;code&gt;systemctl list-sockets&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;EACCES&lt;/code&gt; is a different error: use a high port and a reverse proxy&lt;/li&gt;
&lt;li&gt;Make the port configurable with &lt;code&gt;PORT=&lt;/code&gt;
&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  More fixes
&lt;/h2&gt;

&lt;p&gt;We publish fixes like this every week on the &lt;a href="https://veloxahost.com/blog?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=port-in-use" rel="noopener noreferrer"&gt;VeloxaHost blog&lt;/a&gt;. Running a Node app? See &lt;a href="https://veloxahost.com/hosting/nodejs?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=port-in-use" rel="noopener noreferrer"&gt;Node.js hosting on VeloxaHost&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, a web hosting and VPS provider. Everything above works on any Linux server.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>docker</category>
      <category>node</category>
      <category>devops</category>
    </item>
    <item>
      <title>Your cron job isn't running: 8 causes and a one-line check for each</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Thu, 12 Nov 2026 20:40:51 +0000</pubDate>
      <link>https://dev.to/veloxadev/your-cron-job-isnt-running-8-causes-and-a-one-line-check-for-each-1dm6</link>
      <guid>https://dev.to/veloxadev/your-cron-job-isnt-running-8-causes-and-a-one-line-check-for-each-1dm6</guid>
      <description>&lt;p&gt;You add a line to crontab, wait for the minute to tick over, and nothing happens. No error, no output, no log line you can find. Cron fails quietly, which is why it feels haunted.&lt;/p&gt;

&lt;p&gt;It almost always comes down to one of eight causes. Here they are in the order worth checking, each with a one-line test.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Cron isn't running
&lt;/h2&gt;

&lt;p&gt;Check the daemon first. It takes five seconds.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;systemctl status cron     &lt;span class="c"&gt;# Debian, Ubuntu&lt;/span&gt;
systemctl status crond    &lt;span class="c"&gt;# RHEL, Rocky, Alma, Fedora&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it's inactive, &lt;code&gt;sudo systemctl enable --now cron&lt;/code&gt;. Minimal container images often don't ship cron at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. It ran, but you can't see it
&lt;/h2&gt;

&lt;p&gt;By default cron mails the output to the local user, and most servers have no mail set up, so the output disappears. Check whether cron even tried:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;grep CRON /var/log/syslog          &lt;span class="c"&gt;# Debian, Ubuntu (if rsyslog is installed)&lt;/span&gt;
journalctl -u cron --since today   &lt;span class="c"&gt;# anywhere with systemd&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then make every job write its own log, so the next failure is visible:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="o"&gt;*/&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;backup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;backup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. PATH is almost empty
&lt;/h2&gt;

&lt;p&gt;Your shell has a long &lt;code&gt;PATH&lt;/code&gt;. Cron's is usually just &lt;code&gt;/usr/bin:/bin&lt;/code&gt;. So &lt;code&gt;docker&lt;/code&gt;, &lt;code&gt;node&lt;/code&gt;, &lt;code&gt;pg_dump&lt;/code&gt; or anything in &lt;code&gt;/usr/local/bin&lt;/code&gt; is "command not found", and you never see the error (see #2).&lt;/p&gt;

&lt;p&gt;Fix it with absolute paths, or set &lt;code&gt;PATH&lt;/code&gt; at the top of the crontab:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Find the real path with &lt;code&gt;command -v docker&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. It's not bash, and % is special
&lt;/h2&gt;

&lt;p&gt;Cron runs commands with &lt;code&gt;/bin/sh&lt;/code&gt;, which is &lt;code&gt;dash&lt;/code&gt; on Debian and Ubuntu. Bash-only syntax like &lt;code&gt;[[ ]]&lt;/code&gt;, &lt;code&gt;source&lt;/code&gt; or &lt;code&gt;{1..5}&lt;/code&gt; breaks. Put the logic in a script with a &lt;code&gt;#!/bin/bash&lt;/code&gt; shebang and call the script.&lt;/p&gt;

&lt;p&gt;And &lt;code&gt;%&lt;/code&gt; in a crontab line means "newline". This one fails silently:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;0 2 * * * tar czf /backups/site-&lt;span class="nv"&gt;$(&lt;/span&gt;date +%F&lt;span class="o"&gt;)&lt;/span&gt;.tgz /var/www
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Escape it as &lt;code&gt;\%&lt;/code&gt;, or move the command into a script.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Wrong file, wrong format
&lt;/h2&gt;

&lt;p&gt;There are two crontab formats, and mixing them up is very common:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;crontab -e&lt;/code&gt; (per user): 5 time fields, then the command.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;/etc/crontab&lt;/code&gt; and &lt;code&gt;/etc/cron.d/*&lt;/code&gt;: 5 time fields, then &lt;strong&gt;a user name&lt;/strong&gt;, then the command.
&lt;/li&gt;
&lt;/ul&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight conf"&gt;&lt;code&gt;&lt;span class="c1"&gt;# /etc/cron.d/backup
&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="n"&gt;root&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;opt&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;scripts&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;backup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;sh&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;backup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;log&lt;/span&gt; &lt;span class="mi"&gt;2&lt;/span&gt;&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Files in &lt;code&gt;/etc/cron.d&lt;/code&gt; have extra rules on Debian and Ubuntu: the file name can only contain letters, digits, &lt;code&gt;-&lt;/code&gt; and &lt;code&gt;_&lt;/code&gt; (so &lt;code&gt;backup.cron&lt;/code&gt; is silently ignored), the file must end with a newline, and it must be owned by root and not writable by group or others.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Permissions and the script itself
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Is the script executable? &lt;code&gt;chmod +x /opt/scripts/backup.sh&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;Does it have a shebang on line 1?&lt;/li&gt;
&lt;li&gt;Windows line endings break the shebang: &lt;code&gt;file backup.sh&lt;/code&gt; says "with CRLF line terminators". Fix with &lt;code&gt;sed -i 's/\r$//' backup.sh&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If &lt;code&gt;/etc/cron.allow&lt;/code&gt; exists, only the users listed in it can use cron.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  7. Different time zone than you think
&lt;/h2&gt;

&lt;p&gt;Cron uses the server's time zone, not yours. A job set for &lt;code&gt;0 9 * * *&lt;/code&gt; on a UTC server runs at 9:00 UTC.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;timedatectl
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If you change the time zone, restart cron so it picks up the change.&lt;/p&gt;

&lt;h2&gt;
  
  
  8. It works by hand, fails in cron
&lt;/h2&gt;

&lt;p&gt;That's an environment difference: cron has no &lt;code&gt;HOME&lt;/code&gt; you expect, no &lt;code&gt;.bashrc&lt;/code&gt;, no SSH agent, and a different working directory. Reproduce cron's environment instead of guessing:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;env -i &lt;span class="nv"&gt;HOME&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/root &lt;span class="nv"&gt;PATH&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;/usr/bin:/bin /bin/sh -c &lt;span class="s1"&gt;'/opt/scripts/backup.sh'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it fails there, you've found it. Use absolute paths for files too, and &lt;code&gt;cd&lt;/code&gt; into the directory at the top of the script if it needs one.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;&lt;code&gt;systemctl status cron&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;journalctl -u cron&lt;/code&gt;: did it try?&lt;/li&gt;
&lt;li&gt;Output redirected to a log file&lt;/li&gt;
&lt;li&gt;Absolute paths, or &lt;code&gt;PATH=&lt;/code&gt; at the top&lt;/li&gt;
&lt;li&gt;Script with a shebang, no unescaped &lt;code&gt;%&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;User field in &lt;code&gt;/etc/cron.d&lt;/code&gt;, and no dot in the file name&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;chmod +x&lt;/code&gt;, no CRLF&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;timedatectl&lt;/code&gt; for the time zone&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  More fixes
&lt;/h2&gt;

&lt;p&gt;We cover problems like this every week on the &lt;a href="https://veloxahost.com/blog?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=cron" rel="noopener noreferrer"&gt;VeloxaHost blog&lt;/a&gt;, including the &lt;a href="https://veloxahost.com/blog/posts/linux-server-hardening-checklist.html?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=cron" rel="noopener noreferrer"&gt;Linux server hardening checklist&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, a web hosting and VPS provider. Everything above works on any Linux server.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>devops</category>
      <category>bash</category>
      <category>tutorial</category>
    </item>
    <item>
      <title>5 server and deploy problems you can fix in 60 seconds</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Tue, 10 Nov 2026 14:23:48 +0000</pubDate>
      <link>https://dev.to/veloxadev/5-server-and-deploy-problems-you-can-fix-in-60-seconds-3e6o</link>
      <guid>https://dev.to/veloxadev/5-server-and-deploy-problems-you-can-fix-in-60-seconds-3e6o</guid>
      <description>&lt;p&gt;Most server and deploy problems aren't hard. They're just confusing the first time you hit them. Here are five we see constantly, each with the cause, the fix and a way to check it worked.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Your firewall blocks port 8080, but Docker opens it anyway
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; when you publish a port with &lt;code&gt;-p 8080:80&lt;/code&gt;, Docker rewrites the traffic to the container's IP. The packet then goes through the &lt;code&gt;FORWARD&lt;/code&gt; chain, where Docker's own rules accept it. UFW mostly manages &lt;code&gt;INPUT&lt;/code&gt;, so &lt;code&gt;ufw deny 8080&lt;/code&gt; never sees it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; if only your reverse proxy needs the port, bind it to localhost in &lt;code&gt;compose.yaml&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"127.0.0.1:8080:80"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check it:&lt;/strong&gt; run &lt;code&gt;docker ps&lt;/code&gt;. You want &lt;code&gt;127.0.0.1:8080-&amp;gt;80/tcp&lt;/code&gt;, not &lt;code&gt;0.0.0.0:8080&lt;/code&gt;. Then test from another machine with &lt;code&gt;nc -zv your.server.ip 8080&lt;/code&gt;. It should fail.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Works locally, blank page when deployed (Vite, React, Lovable exports)
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; the built &lt;code&gt;index.html&lt;/code&gt; loads its JS and CSS from paths that don't exist on the server. Open the browser console and you'll see 404s for &lt;code&gt;/assets/index-*.js&lt;/code&gt;. The usual cause is a &lt;code&gt;base&lt;/code&gt; setting that doesn't match where the app lives.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; set &lt;code&gt;base&lt;/code&gt; in &lt;code&gt;vite.config.ts&lt;/code&gt; to the path the app is served from: &lt;code&gt;'/'&lt;/code&gt; at the domain root, or &lt;code&gt;'/app/'&lt;/code&gt; if it lives under a sub-path.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="k"&gt;default&lt;/span&gt; &lt;span class="nf"&gt;defineConfig&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;base&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;'/'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check it:&lt;/strong&gt; run &lt;code&gt;npm run build&lt;/code&gt;, upload the whole &lt;code&gt;dist/&lt;/code&gt; folder (not the project folder), and hard-refresh. The console should show no 404s.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. /dashboard works until you hit refresh. Then 404.
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; single-page apps handle routes in the browser. On refresh, the server looks for a real file called &lt;code&gt;/dashboard&lt;/code&gt;, doesn't find one and returns 404.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; send unknown paths to &lt;code&gt;index.html&lt;/code&gt;. In Caddy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight nginx"&gt;&lt;code&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="n"&gt;root&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;
  &lt;span class="n"&gt;try_files&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;
  &lt;span class="n"&gt;file_server&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In Nginx, the same idea is one line inside &lt;code&gt;location /&lt;/code&gt;: &lt;code&gt;try_files $uri /index.html;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check it:&lt;/strong&gt; open a deep link like &lt;code&gt;/dashboard&lt;/code&gt; in a new tab. It should load the app, not a 404.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Disk full, and Docker logs did it
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; Docker's default &lt;code&gt;json-file&lt;/code&gt; log driver doesn't rotate logs. A chatty container can write gigabytes until the disk fills up and everything on the server stops.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; cap the log size in &lt;code&gt;/etc/docker/daemon.json&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="nl"&gt;"log-driver"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"local"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="nl"&gt;"log-opts"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="nl"&gt;"max-size"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"10m"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="nl"&gt;"max-file"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"3"&lt;/span&gt;
  &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Check it:&lt;/strong&gt; run &lt;code&gt;sudo systemctl restart docker&lt;/code&gt;, then &lt;code&gt;docker compose up -d --force-recreate&lt;/code&gt;. The setting only applies to new containers, so recreate them. &lt;code&gt;docker system df&lt;/code&gt; and &lt;code&gt;du -sh /var/lib/docker/containers&lt;/code&gt; show where your space went.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Bots are guessing your SSH password right now
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Why it happens:&lt;/strong&gt; every public server gets brute-force login attempts within hours of going online. Check &lt;code&gt;sudo journalctl -u ssh | grep -c "Failed password"&lt;/code&gt; on yours. Keys can't be guessed. Passwords can.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The fix:&lt;/strong&gt; first add your SSH key and confirm you can log in with it in a second terminal. Then create &lt;code&gt;/etc/ssh/sshd_config.d/01-no-passwords.conf&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ssh"&gt;&lt;code&gt;&lt;span class="nc"&gt;PasswordAuthentication&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt;
&lt;span class="nc"&gt;KbdInteractiveAuthentication&lt;/span&gt; &lt;span class="n"&gt;no&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;01-&lt;/code&gt; prefix matters. sshd uses the first value it reads, and cloud images often ship &lt;code&gt;50-cloud-init.conf&lt;/code&gt; with &lt;code&gt;PasswordAuthentication yes&lt;/code&gt;, which would win over a file that sorts after it.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Check it:&lt;/strong&gt; run &lt;code&gt;sudo systemctl reload ssh&lt;/code&gt;, then &lt;code&gt;sudo sshd -T | grep -i passwordauth&lt;/code&gt;. It should say &lt;code&gt;passwordauthentication no&lt;/code&gt;. Keep your existing session open until a new key login works.&lt;/p&gt;

&lt;h2&gt;
  
  
  More fixes
&lt;/h2&gt;

&lt;p&gt;For longer guides on running apps on your own server, see the &lt;a href="https://veloxahost.com/blog?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=fix60" rel="noopener noreferrer"&gt;VeloxaHost blog&lt;/a&gt;, and for AI-built sites, the &lt;a href="https://veloxahost.com/veloxa-build/guides?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=fix60" rel="noopener noreferrer"&gt;Veloxa Build guides&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, a hosting and VPS provider. Everything above works on any Linux server.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>devops</category>
      <category>docker</category>
      <category>linux</category>
      <category>webdev</category>
    </item>
    <item>
      <title>AWS Lightsail pricing in 2026: what each bundle gets you, and the catches</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Mon, 09 Nov 2026 14:37:45 +0000</pubDate>
      <link>https://dev.to/veloxadev/aws-lightsail-pricing-in-2026-what-each-bundle-gets-you-and-the-catches-576o</link>
      <guid>https://dev.to/veloxadev/aws-lightsail-pricing-in-2026-what-each-bundle-gets-you-and-the-catches-576o</guid>
      <description>&lt;p&gt;AWS Lightsail is the "simple" corner of AWS: fixed monthly bundles instead of EC2's per-second, per-gigabyte meters. It's a good product. But "simple" hides a few things worth knowing before you pick a bundle.&lt;/p&gt;

&lt;p&gt;Here's what each Linux bundle includes (prices from AWS's Lightsail pricing page, checked November 2026), the catches, and when Lightsail is the right call.&lt;/p&gt;

&lt;h2&gt;
  
  
  The Linux bundles (with a public IPv4 address)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Price/mo&lt;/th&gt;
&lt;th&gt;Memory&lt;/th&gt;
&lt;th&gt;vCPUs&lt;/th&gt;
&lt;th&gt;SSD&lt;/th&gt;
&lt;th&gt;Transfer&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;$5&lt;/td&gt;
&lt;td&gt;0.5 GB&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;20 GB&lt;/td&gt;
&lt;td&gt;1 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$7&lt;/td&gt;
&lt;td&gt;1 GB&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;40 GB&lt;/td&gt;
&lt;td&gt;2 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$12&lt;/td&gt;
&lt;td&gt;2 GB&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;60 GB&lt;/td&gt;
&lt;td&gt;3 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$24&lt;/td&gt;
&lt;td&gt;4 GB&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;80 GB&lt;/td&gt;
&lt;td&gt;4 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$44&lt;/td&gt;
&lt;td&gt;8 GB&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;160 GB&lt;/td&gt;
&lt;td&gt;5 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;$84&lt;/td&gt;
&lt;td&gt;16 GB&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;320 GB&lt;/td&gt;
&lt;td&gt;6 TB&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Each bundle includes a static IPv4 address, DNS management, a browser SSH terminal and basic monitoring.&lt;/p&gt;

&lt;h2&gt;
  
  
  Catch 1: those vCPUs are burstable
&lt;/h2&gt;

&lt;p&gt;Every general-purpose bundle shows 2 vCPUs up to 8 GB, but they are &lt;strong&gt;burstable&lt;/strong&gt;. You get a baseline share of CPU and build up credits while idle. Sustained load above the baseline spends the credits, and once they're gone, the instance is throttled back to the baseline.&lt;/p&gt;

&lt;p&gt;That's fine for a blog, a small API or a staging box. It's a problem for anything that pegs the CPU for long stretches: builds, video or image processing, a busy database, or running an LLM on CPU. Watch the &lt;strong&gt;CPU utilization&lt;/strong&gt; graph in the Lightsail console for the first week. It shows when you leave the sustainable zone and start using burst capacity.&lt;/p&gt;

&lt;h2&gt;
  
  
  Catch 2: memory is the real limit
&lt;/h2&gt;

&lt;p&gt;At the low end, RAM runs out before CPU does. 512 MB on the $5 bundle is tight for anything with a database. A WordPress site with MariaDB is happier on 1–2 GB. If you plan to run Docker Compose with a few services, start at 2 GB ($12) and check &lt;code&gt;free -h&lt;/code&gt; under real traffic.&lt;/p&gt;

&lt;h2&gt;
  
  
  Catch 3: transfer allowances aren't the same everywhere
&lt;/h2&gt;

&lt;p&gt;The transfer column above is for most regions. AWS notes that some regions get &lt;strong&gt;half&lt;/strong&gt; the transfer allowance, and traffic above the allowance is billed per GB. If you serve large downloads or video, check the allowance for your region on the pricing page before you choose it.&lt;/p&gt;

&lt;h2&gt;
  
  
  The IPv6-only option is cheaper
&lt;/h2&gt;

&lt;p&gt;If your users and clients all reach you over IPv6, AWS also sells &lt;strong&gt;IPv6-only&lt;/strong&gt; bundles that skip the public IPv4 address: $3.50 for 512 MB and $5 for 1 GB. Check carefully before you choose one. Plenty of networks, APIs and CI runners are still IPv4-only, and a site that's unreachable from them isn't saving you money.&lt;/p&gt;

&lt;h2&gt;
  
  
  When Lightsail is the right choice
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;You're already on AWS and want the server near S3, RDS or other services in the same account.&lt;/li&gt;
&lt;li&gt;You want a static IPv4 address included without thinking about it.&lt;/li&gt;
&lt;li&gt;You want AWS's regions and support contract behind a small server.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  When to look elsewhere
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sustained CPU work:&lt;/strong&gt; look for non-burstable vCPUs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;More RAM per dollar:&lt;/strong&gt; at 4 GB and 8 GB, many VPS providers charge noticeably less than $24 and $44.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Short-lived servers:&lt;/strong&gt; if you create and delete servers often, hourly billing matters more than a flat monthly bundle.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;We put Lightsail side by side with our own plans, size for size, including where Lightsail wins: &lt;a href="https://veloxahost.com/compare/veloxahost-vs-aws-lightsail?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=lightsail" rel="noopener noreferrer"&gt;VeloxaHost vs AWS Lightsail&lt;/a&gt;. There's also a &lt;a href="https://veloxahost.com/tools/vps-cost-calculator?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=lightsail" rel="noopener noreferrer"&gt;VPS cost calculator&lt;/a&gt; for your own numbers.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, a VPS host. Lightsail prices are from AWS's pricing page in November 2026. Check it before you buy, because prices and allowances change.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>aws</category>
      <category>cloud</category>
      <category>devops</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Docker ports bypass UFW: why it happens and 3 ways to fix it</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Sat, 07 Nov 2026 14:23:32 +0000</pubDate>
      <link>https://dev.to/veloxadev/docker-ports-bypass-ufw-why-it-happens-and-3-ways-to-fix-it-5emd</link>
      <guid>https://dev.to/veloxadev/docker-ports-bypass-ufw-why-it-happens-and-3-ways-to-fix-it-5emd</guid>
      <description>&lt;p&gt;You set up UFW, allowed only SSH, 80 and 443, and ran &lt;code&gt;ufw status&lt;/code&gt; to check. Then you started a container with &lt;code&gt;-p 8080:80&lt;/code&gt;, and port 8080 is open to the whole internet anyway.&lt;/p&gt;

&lt;p&gt;This isn't a bug in your UFW rules. It's how Docker networking works on iptables-based hosts, which is still the default. Here's why it happens, how to check your own server, and three ways to fix it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why UFW doesn't see container ports
&lt;/h2&gt;

&lt;p&gt;UFW mostly manages the &lt;code&gt;INPUT&lt;/code&gt; chain: traffic addressed to the host itself.&lt;/p&gt;

&lt;p&gt;When you publish a port, Docker adds a NAT rule that rewrites incoming traffic for &lt;code&gt;host:8080&lt;/code&gt; to the container's IP and port. After that rewrite, the packet isn't for the host any more. It's forwarded to the container, so it goes through the &lt;code&gt;FORWARD&lt;/code&gt; chain, where Docker's own rules accept it. UFW's &lt;code&gt;INPUT&lt;/code&gt; rules never see it.&lt;/p&gt;

&lt;p&gt;So &lt;code&gt;ufw deny 8080&lt;/code&gt; does nothing for a published container port.&lt;/p&gt;

&lt;h2&gt;
  
  
  Check your server in 30 seconds
&lt;/h2&gt;

&lt;p&gt;List what your containers publish:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker ps
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the PORTS column, anything shown as &lt;code&gt;0.0.0.0:8080-&amp;gt;80/tcp&lt;/code&gt; (or &lt;code&gt;[::]:8080-&amp;gt;...&lt;/code&gt;) is reachable from outside, whatever UFW says. &lt;code&gt;127.0.0.1:8080-&amp;gt;80/tcp&lt;/code&gt; is local only.&lt;/p&gt;

&lt;p&gt;Then test from another machine, not from the server itself:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;nc &lt;span class="nt"&gt;-zv&lt;/span&gt; your.server.ip 8080
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If it says &lt;code&gt;succeeded&lt;/code&gt; or &lt;code&gt;open&lt;/code&gt;, the port is public.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix 1: bind to localhost (best for most setups)
&lt;/h2&gt;

&lt;p&gt;If the service sits behind a reverse proxy on the same server (Caddy, Nginx, Traefik), it doesn't need a public port at all:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;services&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;image&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;ghcr.io/you/app:1.4.2&lt;/span&gt;
    &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
      &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;127.0.0.1:8080:80"&lt;/span&gt;   &lt;span class="c1"&gt;# only the reverse proxy can reach it&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Or with &lt;code&gt;docker run&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; 127.0.0.1:8080:80 ghcr.io/you/app:1.4.2
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then point the proxy at &lt;code&gt;127.0.0.1:8080&lt;/code&gt;. This is the simplest fix and needs no firewall changes.&lt;/p&gt;

&lt;p&gt;Containers in the same Compose project can already reach each other by service name over the project network. A database container should normally have &lt;strong&gt;no&lt;/strong&gt; &lt;code&gt;ports:&lt;/code&gt; entry at all.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix 2: filter in the DOCKER-USER chain
&lt;/h2&gt;

&lt;p&gt;When a port really must be public, but only to some addresses, put the rule in &lt;code&gt;DOCKER-USER&lt;/code&gt;. Docker creates that chain for you and checks it before its own forwarding rules, and doesn't overwrite it.&lt;/p&gt;

&lt;p&gt;One catch: by the time traffic reaches &lt;code&gt;DOCKER-USER&lt;/code&gt;, it has already been rewritten to the container's port. To match the &lt;strong&gt;host&lt;/strong&gt; port you published, match the original destination port with conntrack:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Allow 8080 only from your office range, drop it for everyone else&lt;/span&gt;
&lt;span class="nb"&gt;sudo &lt;/span&gt;iptables &lt;span class="nt"&gt;-I&lt;/span&gt; DOCKER-USER &lt;span class="nt"&gt;-i&lt;/span&gt; eth0 &lt;span class="nt"&gt;-p&lt;/span&gt; tcp &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-m&lt;/span&gt; conntrack &lt;span class="nt"&gt;--ctorigdstport&lt;/span&gt; 8080 &lt;span class="nt"&gt;--ctdir&lt;/span&gt; ORIGINAL &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="o"&gt;!&lt;/span&gt; &lt;span class="nt"&gt;-s&lt;/span&gt; 203.0.113.0/24 &lt;span class="nt"&gt;-j&lt;/span&gt; DROP
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Replace &lt;code&gt;eth0&lt;/code&gt; with your public interface (&lt;code&gt;ip route get 1.1.1.1&lt;/code&gt; shows it) and the address range with yours.&lt;/p&gt;

&lt;p&gt;Rules added this way don't survive a reboot. Save them with &lt;code&gt;iptables-persistent&lt;/code&gt; (&lt;code&gt;sudo netfilter-persistent save&lt;/code&gt;), or add them to UFW's &lt;code&gt;/etc/ufw/after.rules&lt;/code&gt; in a &lt;code&gt;*filter&lt;/code&gt; block for &lt;code&gt;DOCKER-USER&lt;/code&gt;. If your containers use IPv6, add the same rule with &lt;code&gt;ip6tables&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Don't "fix" this by setting &lt;code&gt;"iptables": false&lt;/code&gt; in Docker's &lt;code&gt;daemon.json&lt;/code&gt;. That stops Docker from managing its own rules, and container networking breaks in ways that are hard to debug.&lt;/p&gt;

&lt;h2&gt;
  
  
  Fix 3: a firewall in front of the server
&lt;/h2&gt;

&lt;p&gt;A network firewall at your hosting provider filters traffic before it reaches the server, so Docker's rules don't matter. Allow 22, 80 and 443 there and everything else is closed, including container ports you forgot about.&lt;/p&gt;

&lt;p&gt;This is the safest backstop, and it works well alongside fix 1. Most VPS providers offer one for free. On VeloxaHost it's under &lt;strong&gt;Firewalls → New Firewall&lt;/strong&gt;, attached per server.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which one to use
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Web apps behind a reverse proxy:&lt;/strong&gt; fix 1. Bind everything except the proxy to &lt;code&gt;127.0.0.1&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A port that must be public to a few IPs:&lt;/strong&gt; fix 2, plus fix 1 for everything else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Every server, always:&lt;/strong&gt; fix 3 as the safety net.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Quick checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;[ ] &lt;code&gt;docker ps&lt;/code&gt; shows no &lt;code&gt;0.0.0.0:&lt;/code&gt; ports except the reverse proxy (80/443)&lt;/li&gt;
&lt;li&gt;[ ] Databases, admin panels and dashboards have no &lt;code&gt;ports:&lt;/code&gt; entry, or are bound to &lt;code&gt;127.0.0.1&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;[ ] &lt;code&gt;nc -zv&lt;/code&gt; from another machine fails for every port you didn't mean to open&lt;/li&gt;
&lt;li&gt;[ ] A provider firewall allows only 22, 80 and 443&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;More hardening steps: &lt;a href="https://veloxahost.com/blog/posts/linux-server-hardening-checklist.html?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=docker-ufw" rel="noopener noreferrer"&gt;Linux server hardening checklist&lt;/a&gt; and our open-source &lt;a href="https://github.com/veloxahost/server-hardening" rel="noopener noreferrer"&gt;one-command hardening script&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost. Everything above works on any Ubuntu or Debian server running Docker with its default iptables backend.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>security</category>
      <category>linux</category>
      <category>devops</category>
    </item>
    <item>
      <title>Which Ollama model fits a CPU-only server? A RAM sizing cheat sheet</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Fri, 06 Nov 2026 14:01:26 +0000</pubDate>
      <link>https://dev.to/veloxadev/which-ollama-model-fits-a-cpu-only-server-a-ram-sizing-cheat-sheet-3060</link>
      <guid>https://dev.to/veloxadev/which-ollama-model-fits-a-cpu-only-server-a-ram-sizing-cheat-sheet-3060</guid>
      <description>&lt;p&gt;No GPU? Ollama still works. It loads the model into RAM and runs it on the CPU. The question is which model fits the memory you have, with room left for the context and the OS.&lt;/p&gt;

&lt;p&gt;Here's how we size it, using the download sizes from Ollama's library and one check on the server.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Read the size on the library page
&lt;/h2&gt;

&lt;p&gt;Every tag on ollama.com lists its download size. That file is roughly what lands in RAM before context.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Model tag&lt;/th&gt;
&lt;th&gt;Download size&lt;/th&gt;
&lt;th&gt;Context window&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;gemma3:270m&lt;/td&gt;
&lt;td&gt;292 MB&lt;/td&gt;
&lt;td&gt;32K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;qwen3:0.6b&lt;/td&gt;
&lt;td&gt;523 MB&lt;/td&gt;
&lt;td&gt;40K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gemma3:1b&lt;/td&gt;
&lt;td&gt;806 MB&lt;/td&gt;
&lt;td&gt;32K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;llama3.2:1b&lt;/td&gt;
&lt;td&gt;1.3 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;qwen3:1.7b&lt;/td&gt;
&lt;td&gt;1.4 GB&lt;/td&gt;
&lt;td&gt;40K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;llama3.2:3b&lt;/td&gt;
&lt;td&gt;2.0 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;qwen3:4b&lt;/td&gt;
&lt;td&gt;2.5 GB&lt;/td&gt;
&lt;td&gt;256K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;phi4-mini&lt;/td&gt;
&lt;td&gt;2.5 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gemma3:4b&lt;/td&gt;
&lt;td&gt;3.4 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;mistral:7b&lt;/td&gt;
&lt;td&gt;4.4 GB&lt;/td&gt;
&lt;td&gt;32K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;llama3.1:8b&lt;/td&gt;
&lt;td&gt;4.9 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;qwen3:8b&lt;/td&gt;
&lt;td&gt;5.2 GB&lt;/td&gt;
&lt;td&gt;40K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gemma3:12b&lt;/td&gt;
&lt;td&gt;8.2 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;qwen3:14b&lt;/td&gt;
&lt;td&gt;9.3 GB&lt;/td&gt;
&lt;td&gt;40K&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;gemma3:27b&lt;/td&gt;
&lt;td&gt;17 GB&lt;/td&gt;
&lt;td&gt;128K&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  2. Check the quantization in the tag
&lt;/h2&gt;

&lt;p&gt;Many default tags are 4-bit, but not all of them:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;llama3.2:3b&lt;/code&gt; is the same file as &lt;code&gt;llama3.2:3b-instruct-q4_K_M&lt;/code&gt; (2.0 GB). The 8-bit &lt;code&gt;q8_0&lt;/code&gt; is 3.4 GB.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;llama3.1:8b&lt;/code&gt;: 4.9 GB at 4-bit, 8.5 GB at 8-bit.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;llama3.2:1b&lt;/code&gt; defaults to &lt;strong&gt;8-bit&lt;/strong&gt; (1.3 GB). The 4-bit version is 808 MB.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pull the full tag when you care:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama pull llama3.2:1b-instruct-q4_K_M
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  3. Rule of thumb: model file ≤ half the RAM
&lt;/h2&gt;

&lt;p&gt;This is our rule, not Ollama's: keep the model file at or under about half the server's RAM at the default context, then verify.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;RAM&lt;/th&gt;
&lt;th&gt;Fits comfortably&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;2 GB&lt;/td&gt;
&lt;td&gt;~1 GB models: gemma3:1b, qwen3:0.6b, llama3.2:1b (q4_K_M)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;4 GB&lt;/td&gt;
&lt;td&gt;1B–3B up to ~2 GB: llama3.2:3b, qwen3:1.7b&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;8 GB&lt;/td&gt;
&lt;td&gt;4B models (gemma3:4b, qwen3:4b, phi4-mini); 7B–8B with less room to spare&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;16 GB&lt;/td&gt;
&lt;td&gt;8B with a longer context; 12B–14B (gemma3:12b, qwen3:14b)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;A 27B model needs more than 16 GB. On CPU, bigger also means slower, so measure before you commit.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. The settings that add memory on top of the model
&lt;/h2&gt;

&lt;p&gt;Four server settings decide how much RAM sits on top of the model file:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;OLLAMA_CONTEXT_LENGTH&lt;/code&gt;&lt;/strong&gt;: default context. Ollama picks 4096 tokens without a large GPU. Longer context costs more memory.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;OLLAMA_NUM_PARALLEL&lt;/code&gt;&lt;/strong&gt;: requests served at once per model (default 1). Ollama's FAQ says RAM scales with &lt;code&gt;NUM_PARALLEL × CONTEXT_LENGTH&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;OLLAMA_MAX_LOADED_MODELS&lt;/code&gt;&lt;/strong&gt;: models kept loaded at once (3 for CPU). On a small server, set it to 1.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;&lt;code&gt;OLLAMA_KV_CACHE_TYPE=q8_0&lt;/code&gt;&lt;/strong&gt;: about half the cache memory of the default f16, with a very small precision loss. It applies when Flash Attention is on (&lt;code&gt;OLLAMA_FLASH_ATTENTION=1&lt;/code&gt; forces it).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Set them with &lt;code&gt;sudo systemctl edit ollama.service&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight ini"&gt;&lt;code&gt;&lt;span class="nn"&gt;[Service]&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;span class="py"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OLLAMA_CONTEXT_LENGTH=8192"&lt;/span&gt;
&lt;span class="py"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OLLAMA_NUM_PARALLEL=1"&lt;/span&gt;
&lt;span class="py"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OLLAMA_MAX_LOADED_MODELS=1"&lt;/span&gt;
&lt;span class="py"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OLLAMA_FLASH_ATTENTION=1"&lt;/span&gt;
&lt;span class="py"&gt;Environment&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"OLLAMA_KV_CACHE_TYPE=q8_0"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl restart ollama
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  5. Verify on the server
&lt;/h2&gt;

&lt;p&gt;Load the model without a prompt, then look at what it takes:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;ollama run llama3.2:3b &lt;span class="s2"&gt;""&lt;/span&gt;
ollama ps
free &lt;span class="nt"&gt;-h&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In &lt;code&gt;ollama ps&lt;/code&gt;, &lt;strong&gt;SIZE&lt;/strong&gt; is the memory the loaded model uses, &lt;strong&gt;PROCESSOR&lt;/strong&gt; should say &lt;code&gt;100% CPU&lt;/code&gt;, and &lt;strong&gt;CONTEXT&lt;/strong&gt; is the context it loaded with. In &lt;code&gt;free -h&lt;/code&gt;, the &lt;em&gt;available&lt;/em&gt; column should still have a margin.&lt;/p&gt;

&lt;p&gt;Then measure speed. The API returns &lt;code&gt;eval_count&lt;/code&gt; (tokens) and &lt;code&gt;eval_duration&lt;/code&gt; (nanoseconds):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-s&lt;/span&gt; http://localhost:11434/api/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{"model": "llama3.2:3b", "prompt": "Explain DNS in two sentences.", "stream": false}'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
| python3 &lt;span class="nt"&gt;-c&lt;/span&gt; &lt;span class="s1"&gt;'import json,sys; r=json.load(sys.stdin); print(round(r["eval_count"]/r["eval_duration"]*1e9,1), "tokens/s")'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it a few times. If it's too slow for your use, go smaller or add vCPUs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Troubleshooting
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Model won't load or the service restarts under load:&lt;/strong&gt; out of memory. Use a smaller tag or quantization, lower &lt;code&gt;CONTEXT_LENGTH&lt;/code&gt;/&lt;code&gt;NUM_PARALLEL&lt;/code&gt;, or add RAM. Check &lt;code&gt;journalctl -e -u ollama&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;First answer after a pause is slow:&lt;/strong&gt; the model unloaded (default keep-alive is 5 minutes). Set &lt;code&gt;OLLAMA_KEEP_ALIVE=30m&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Long chats forget the start:&lt;/strong&gt; the prompt is longer than the context window. Raise &lt;code&gt;OLLAMA_CONTEXT_LENGTH&lt;/code&gt; if RAM allows.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Disk fills up:&lt;/strong&gt; every pulled tag stays on disk. &lt;code&gt;ollama ls&lt;/code&gt;, then &lt;code&gt;ollama rm&lt;/code&gt; the ones you don't use.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Is CPU worth it?
&lt;/h2&gt;

&lt;p&gt;For small models, batch jobs and private internal tools, yes. For high-volume chat, often not. In our &lt;a href="https://veloxahost.com/research/self-hosting-vs-saas-cost?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=ollama-cpu" rel="noopener noreferrer"&gt;self-hosting vs SaaS cost study&lt;/a&gt;, a small hosted API model was cheaper below roughly 150M input + 30M output tokens a month.&lt;/p&gt;

&lt;p&gt;The full guide, with server sizes and hourly prices: &lt;a href="https://veloxahost.com/guides/ollama-cpu-model-size?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=ollama-cpu" rel="noopener noreferrer"&gt;Choose an Ollama model size for a CPU server&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, a CPU server host. Model sizes are from Ollama's library at the time of writing; check the tag page before you pull.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ollama</category>
      <category>ai</category>
      <category>selfhosted</category>
      <category>linux</category>
    </item>
    <item>
      <title>Self-hosting vs SaaS: we priced 10 apps. SaaS wins at small scale.</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Fri, 06 Nov 2026 04:38:24 +0000</pubDate>
      <link>https://dev.to/veloxadev/self-hosting-vs-saas-we-priced-10-apps-saas-wins-at-small-scale-17p6</link>
      <guid>https://dev.to/veloxadev/self-hosting-vs-saas-we-priced-10-apps-saas-wins-at-small-scale-17p6</guid>
      <description>&lt;p&gt;"Just self-host it" is common advice. But a server costs money every month it runs, and plenty of SaaS tools have free plans. So we priced 10 popular self-hosted apps against the SaaS they replace, at two usage levels each, using the vendors' own pricing pages (checked October 18–19, 2026).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;The short version:&lt;/strong&gt; at small usage, SaaS is cheaper for 8 of the 10. At larger usage, the server is cheaper for all 10 (for Ollama, only if a CPU server can keep up).&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Self-hosted vs SaaS&lt;/th&gt;
&lt;th&gt;Small usage: SaaS / server&lt;/th&gt;
&lt;th&gt;Larger usage: SaaS / server&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;n8n vs Zapier&lt;/td&gt;
&lt;td&gt;100 tasks: &lt;strong&gt;$0&lt;/strong&gt; / $8&lt;/td&gt;
&lt;td&gt;10,000 tasks: $129 / &lt;strong&gt;$8&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ghost vs Substack&lt;/td&gt;
&lt;td&gt;$100 revenue: &lt;strong&gt;$10&lt;/strong&gt; / $23&lt;/td&gt;
&lt;td&gt;$2,000 revenue: $200 / &lt;strong&gt;$23&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nextcloud vs Dropbox&lt;/td&gt;
&lt;td&gt;1 person: &lt;strong&gt;$9.99&lt;/strong&gt; / $15&lt;/td&gt;
&lt;td&gt;5 people: $75 / &lt;strong&gt;$15&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Uptime Kuma vs Better Stack&lt;/td&gt;
&lt;td&gt;10 monitors: &lt;strong&gt;$0&lt;/strong&gt; / $4&lt;/td&gt;
&lt;td&gt;60 monitors: $50 / &lt;strong&gt;$4&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Plausible vs Plausible Cloud&lt;/td&gt;
&lt;td&gt;1 site: &lt;strong&gt;$9&lt;/strong&gt; / $15&lt;/td&gt;
&lt;td&gt;10 sites: $19 / &lt;strong&gt;$15&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vaultwarden vs 1Password&lt;/td&gt;
&lt;td&gt;1 person: &lt;strong&gt;$3.99&lt;/strong&gt; / $4&lt;/td&gt;
&lt;td&gt;20 people: $179.80 / &lt;strong&gt;$4&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Listmonk vs Mailchimp&lt;/td&gt;
&lt;td&gt;500 contacts: $13 / &lt;strong&gt;$8.20&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;10k contacts: $110 / &lt;strong&gt;$12&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gitea vs GitHub&lt;/td&gt;
&lt;td&gt;Free plan: &lt;strong&gt;$0&lt;/strong&gt; / $8&lt;/td&gt;
&lt;td&gt;10 devs on Team: $40 / &lt;strong&gt;$8&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ollama vs OpenAI API&lt;/td&gt;
&lt;td&gt;10M+2M tokens: &lt;strong&gt;$2&lt;/strong&gt; / $30&lt;/td&gt;
&lt;td&gt;200M+40M tokens: $40 / &lt;strong&gt;$30&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PostgreSQL vs DigitalOcean&lt;/td&gt;
&lt;td&gt;1 vCPU/1 GB: $15.15 / &lt;strong&gt;$4&lt;/strong&gt;
&lt;/td&gt;
&lt;td&gt;2 vCPU/4 GB: $60.90 / &lt;strong&gt;$15&lt;/strong&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Monthly costs. The server column is a &lt;a href="https://veloxahost.com/?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=cost-study" rel="noopener noreferrer"&gt;VeloxaHost&lt;/a&gt; server left on all month, plus Mailgun or Amazon SES where the app needs email.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the numbers say
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Free plans win the small cases.&lt;/strong&gt; Zapier, Better Stack, Mailchimp, GitHub Free and Google Analytics cost nothing. A server never costs nothing.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Per-seat and per-volume pricing is where a server pulls ahead.&lt;/strong&gt; 1Password Business, GitHub Team and Dropbox Standard charge per person; Zapier, Mailchimp and Better Stack charge per task, contact or monitor. A server's price stays flat until the app needs a bigger size. Vaultwarden for a team of 20 is the starkest example: about $180/month vs $4.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Revenue shares have a crossing point.&lt;/strong&gt; Substack takes 10% and no monthly fee. Ghost plus Mailgun is a flat ~$23, so it only wins above about $230/month in paid subscriptions.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;LLMs on CPU usually lose.&lt;/strong&gt; Below roughly 150M input + 30M output tokens a month, the small OpenAI model is cheaper than a CPU server running Ollama, and the server only wins above that if it can actually produce the tokens.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Managed databases sell more than CPU and RAM.&lt;/strong&gt; At the same size the server is always cheaper, but failover and point-in-time recovery are included in DigitalOcean's price and are your project on a server.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this doesn't count
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Your time:&lt;/strong&gt; installing, upgrading, backups and testing restores.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Support:&lt;/strong&gt; a paid SaaS plan includes the vendor's support for the app.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A dedicated IPv4 address&lt;/strong&gt;, which many of these apps need to serve HTTPS on your own domain (it's a paid add-on on VeloxaHost).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;So the honest rule is: &lt;strong&gt;self-host when you have per-seat or per-volume pricing and someone who'll keep it patched.&lt;/strong&gt; Otherwise the free plan is hard to beat.&lt;/p&gt;

&lt;h2&gt;
  
  
  Data and tools
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full study with sources and a CSV of every row: &lt;a href="https://veloxahost.com/research/self-hosting-vs-saas-cost?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=cost-study" rel="noopener noreferrer"&gt;Self-hosting vs SaaS: the real monthly cost&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Work out your own numbers: &lt;a href="https://veloxahost.com/tools/vps-cost-calculator?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=cost-study" rel="noopener noreferrer"&gt;VPS cost calculator&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Ready-to-run Compose stacks for n8n, Uptime Kuma, Ghost and Vaultwarden: &lt;a href="https://github.com/veloxahost/compose-stacks" rel="noopener noreferrer"&gt;veloxahost/compose-stacks&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Prices change, so check the vendor's page before you decide.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost, the server used in the comparison. The study includes every case where the SaaS is cheaper.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>selfhosted</category>
      <category>devops</category>
      <category>opensource</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Harden a fresh Ubuntu 24.04 server with one command (open source)</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Thu, 05 Nov 2026 18:27:25 +0000</pubDate>
      <link>https://dev.to/veloxadev/harden-a-fresh-ubuntu-2404-server-with-one-command-open-source-2nge</link>
      <guid>https://dev.to/veloxadev/harden-a-fresh-ubuntu-2404-server-with-one-command-open-source-2nge</guid>
      <description>&lt;p&gt;Every new VPS gets the same first hour: create a user, lock down SSH, set up a firewall, install fail2ban, turn on automatic updates… and then forget one of them on the next server.&lt;/p&gt;

&lt;p&gt;So we turned our checklist into a small open-source script: &lt;strong&gt;&lt;a href="https://github.com/veloxahost/server-hardening" rel="noopener noreferrer"&gt;veloxahost/server-hardening&lt;/a&gt;&lt;/strong&gt;. One command, readable configs, safe to re-run.&lt;/p&gt;

&lt;h2&gt;
  
  
  What it does
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Creates a sudo user and installs your SSH key&lt;/li&gt;
&lt;li&gt;SSH: keys only, no root login, no passwords — via a drop-in file, validated with &lt;code&gt;sshd -t&lt;/code&gt; before restart&lt;/li&gt;
&lt;li&gt;UFW: deny inbound, rate-limit SSH, allow 80/443&lt;/li&gt;
&lt;li&gt;fail2ban with the &lt;strong&gt;systemd backend&lt;/strong&gt; (the reliable choice on Ubuntu 24.04) and escalating bans&lt;/li&gt;
&lt;li&gt;Unattended security upgrades + &lt;code&gt;needrestart&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;auditd rules for identity files, sudoers, sshd config and root commands&lt;/li&gt;
&lt;li&gt;Kernel sysctl hardening that doesn't break Docker&lt;/li&gt;
&lt;li&gt;A Lynis audit at the end so you get a score&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Usage
&lt;/h2&gt;

&lt;p&gt;On a &lt;strong&gt;fresh&lt;/strong&gt; Ubuntu 24.04 server (22.04 and Debian 12 work too), keep your current session open and run:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;git clone https://github.com/veloxahost/server-hardening.git
&lt;span class="nb"&gt;cd &lt;/span&gt;server-hardening
&lt;span class="nb"&gt;sudo &lt;/span&gt;&lt;span class="nv"&gt;NEW_USER&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;deploy &lt;span class="nv"&gt;SSH_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"ssh-ed25519 AAAA... you@example.com"&lt;/span&gt; ./harden.sh
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Then open a &lt;strong&gt;new&lt;/strong&gt; terminal and check &lt;code&gt;ssh deploy@your-server&lt;/code&gt; works before logging out.&lt;/p&gt;

&lt;p&gt;Options are plain environment variables:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Var&lt;/th&gt;
&lt;th&gt;Default&lt;/th&gt;
&lt;th&gt;Meaning&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;NEW_USER&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;deploy&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;sudo user to create&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;SSH_KEY&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;required&lt;/td&gt;
&lt;td&gt;public key for that user&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;SSH_PORT&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;22&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;SSH port to allow&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ALLOW_PORTS&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;80,443&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;extra TCP ports to open&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;ENABLE_IP_FORWARD&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;0&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;set &lt;code&gt;1&lt;/code&gt; on Docker hosts&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;code&gt;RUN_LYNIS&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;run the audit at the end&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  Three things people get wrong on Ubuntu 24.04
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. Editing &lt;code&gt;sshd_config&lt;/code&gt; directly.&lt;/strong&gt; 24.04 reads &lt;code&gt;/etc/ssh/sshd_config.d/*.conf&lt;/code&gt; first. Put your settings in a drop-in so package upgrades never overwrite them.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. fail2ban watching a log file that's empty.&lt;/strong&gt; SSH logs go to the journal now. Use &lt;code&gt;backend = systemd&lt;/code&gt; or your &lt;code&gt;sshd&lt;/code&gt; jail will show zero failures forever.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. Trusting UFW with Docker.&lt;/strong&gt; Ports published with &lt;code&gt;-p 8080:8080&lt;/code&gt; bypass UFW completely. Bind internal services to &lt;code&gt;127.0.0.1&lt;/code&gt; and put a reverse proxy in front.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why not Ansible?
&lt;/h2&gt;

&lt;p&gt;If you already run Ansible, use it. This is for the "one server, five minutes" case: a single bash script you can read top to bottom before you run it as root.&lt;/p&gt;

&lt;h2&gt;
  
  
  More
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Full write-up with every command explained: &lt;a href="https://veloxahost.com/blog/posts/linux-server-hardening-checklist.html?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=server-hardening" rel="noopener noreferrer"&gt;The Complete Linux Server Hardening Checklist (2026)&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Production Docker Compose stacks with automatic HTTPS: &lt;a href="https://github.com/veloxahost/compose-stacks" rel="noopener noreferrer"&gt;veloxahost/compose-stacks&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;PRs and issues welcome — especially for other distros.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: I work on &lt;a href="https://veloxahost.com/?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=server-hardening" rel="noopener noreferrer"&gt;VeloxaHost&lt;/a&gt;, a hosting platform. The script is MIT-licensed and works on any Linux server.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>linux</category>
      <category>security</category>
      <category>devops</category>
      <category>ubuntu</category>
    </item>
    <item>
      <title>Run Docker inside Incus system containers (profiles + cloud-init)</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Thu, 05 Nov 2026 18:25:15 +0000</pubDate>
      <link>https://dev.to/veloxadev/run-docker-inside-incus-system-containers-profiles-cloud-init-51jl</link>
      <guid>https://dev.to/veloxadev/run-docker-inside-incus-system-containers-profiles-cloud-init-51jl</guid>
      <description>&lt;p&gt;If you've only used Docker on a VM, you may not know you can run it inside a &lt;strong&gt;system container&lt;/strong&gt; — no hypervisor, near-native speed, and it boots in a couple of seconds. Incus (the community fork of LXD) makes this easy once you know the three settings that matter.&lt;/p&gt;

&lt;p&gt;All configs below are in &lt;strong&gt;&lt;a href="https://github.com/veloxahost/incus-examples" rel="noopener noreferrer"&gt;veloxahost/incus-examples&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  The profile
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Run Docker inside a system container&lt;/span&gt;
&lt;span class="na"&gt;config&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;security.nesting&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;true"&lt;/span&gt;
  &lt;span class="na"&gt;security.syscalls.intercept.mknod&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;true"&lt;/span&gt;
  &lt;span class="na"&gt;security.syscalls.intercept.setxattr&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;true"&lt;/span&gt;
  &lt;span class="na"&gt;linux.kernel_modules&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;overlay,br_netfilter,ip_tables,ip6_tables,nf_nat,xt_conntrack&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;security.nesting&lt;/code&gt; lets the container create its own containers.&lt;/li&gt;
&lt;li&gt;The two syscall intercepts let Docker's overlay filesystem and image layers work in an unprivileged container.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;linux.kernel_modules&lt;/code&gt; makes sure the host loads what Docker networking needs.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Load it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;incus profile create docker-ready
incus profile edit docker-ready &amp;lt; profiles/docker-ready.yaml
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Launch with cloud-init
&lt;/h2&gt;

&lt;p&gt;The repo's &lt;a href="https://github.com/veloxahost/incus-examples/blob/main/cloud-init/docker-host.yaml" rel="noopener noreferrer"&gt;&lt;code&gt;cloud-init/docker-host.yaml&lt;/code&gt;&lt;/a&gt; installs Docker Engine and the Compose plugin from Docker's apt repo and sets sane log rotation:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;incus launch images:ubuntu/24.04/cloud web-01 &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-p&lt;/span&gt; default &lt;span class="nt"&gt;-p&lt;/span&gt; docker-ready &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;--config&lt;/span&gt; cloud-init.user-data&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="si"&gt;$(&lt;/span&gt;&lt;span class="nb"&gt;cat &lt;/span&gt;cloud-init/docker-host.yaml&lt;span class="si"&gt;)&lt;/span&gt;&lt;span class="s2"&gt;"&lt;/span&gt;

incus &lt;span class="nb"&gt;exec &lt;/span&gt;web-01 &lt;span class="nt"&gt;--&lt;/span&gt; cloud-init status &lt;span class="nt"&gt;--wait&lt;/span&gt;
incus &lt;span class="nb"&gt;exec &lt;/span&gt;web-01 &lt;span class="nt"&gt;--&lt;/span&gt; docker run &lt;span class="nt"&gt;--rm&lt;/span&gt; hello-world
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Add limits
&lt;/h2&gt;

&lt;p&gt;Don't let one container eat the host:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;config&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;limits.cpu&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;1"&lt;/span&gt;
  &lt;span class="na"&gt;limits.memory&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;1GiB&lt;/span&gt;
  &lt;span class="na"&gt;limits.memory.enforce&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;hard&lt;/span&gt;
  &lt;span class="na"&gt;limits.processes&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"&lt;/span&gt;&lt;span class="s"&gt;2000"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Snapshots before every upgrade
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;./scripts/snapshot-rotate.sh web-01 7   &lt;span class="c"&gt;# take one, keep the newest 7&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run it from cron and &lt;code&gt;docker compose pull &amp;amp;&amp;amp; docker compose up -d&lt;/code&gt; stops being scary.&lt;/p&gt;

&lt;h2&gt;
  
  
  Container or VM?
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;System container&lt;/th&gt;
&lt;th&gt;VM&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Boot&lt;/td&gt;
&lt;td&gt;~1–3 s&lt;/td&gt;
&lt;td&gt;~10–30 s&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Overhead&lt;/td&gt;
&lt;td&gt;near zero&lt;/td&gt;
&lt;td&gt;full kernel&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Docker inside&lt;/td&gt;
&lt;td&gt;yes (nesting)&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Custom kernel modules&lt;/td&gt;
&lt;td&gt;no&lt;/td&gt;
&lt;td&gt;yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;For web apps, databases and Compose stacks, a container is usually the better trade.&lt;/p&gt;

&lt;h2&gt;
  
  
  Don't want to run the host?
&lt;/h2&gt;

&lt;p&gt;That's essentially what a &lt;a href="https://veloxahost.com/vps?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=incus-examples" rel="noopener noreferrer"&gt;VeloxaHost&lt;/a&gt; server is: a root system container that runs Docker, from $4/mo with snapshots and an API.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we run VeloxaHost. The repo is MIT and works on any Incus host.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>docker</category>
      <category>linux</category>
      <category>devops</category>
      <category>selfhosted</category>
    </item>
    <item>
      <title>30 AI website builder prompts that produce usable sites (free, CC0)</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Thu, 05 Nov 2026 18:19:41 +0000</pubDate>
      <link>https://dev.to/veloxadev/30-ai-website-builder-prompts-that-produce-usable-sites-free-cc0-18ej</link>
      <guid>https://dev.to/veloxadev/30-ai-website-builder-prompts-that-produce-usable-sites-free-cc0-18ej</guid>
      <description>&lt;p&gt;Most "build me a website" prompts produce the same generic page: a hero, three feature cards, lorem ipsum. The fix isn't a longer prompt — it's a more &lt;em&gt;specific&lt;/em&gt; one.&lt;/p&gt;

&lt;p&gt;We put together a library of specific, structured prompts built on six simple rules: &lt;strong&gt;&lt;a href="https://github.com/veloxahost/veloxa-build-prompts" rel="noopener noreferrer"&gt;veloxahost/veloxa-build-prompts&lt;/a&gt;&lt;/strong&gt; — 30 prompts, CC0, works in Lovable, Bolt, v0, Replit or Veloxa Build.&lt;/p&gt;

&lt;h2&gt;
  
  
  The 6 rules behind every prompt
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Name the business.&lt;/strong&gt; "Rise &amp;amp; Crumb bakery" gets you real copy; "a bakery" gets you filler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;List sections in order.&lt;/strong&gt; The AI follows your structure instead of inventing one.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Spell out every form field.&lt;/strong&gt; "A pre-order form (name, phone, pickup date, items)" beats "a contact form".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give it a look.&lt;/strong&gt; Two or three colours, a mood word, and "mobile first".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Say where data lives.&lt;/strong&gt; For mini-apps, "save in the browser" avoids half-built backends.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Iterate one change at a time.&lt;/strong&gt; Small follow-ups beat one 2,000-word prompt.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Three examples
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Local business (plumber):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Build a website for a local plumbing company "FlowRight Plumbing". Hero with a big 'Call now' button and emergency 24/7 badge, services grid (leaks, water heaters, drains, remodels), service-area list of towns, a quote request form with photo upload, trust badges section (licensed, insured, years in business) and a reviews section with placeholder text.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;SaaS waitlist:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Build a landing page for a SaaS product "ShipNote" that turns git commits into release notes. Sections: hero with a headline, subheadline and email waitlist form, a 3-feature grid with icons, a 'how it works' diagram in 3 steps, pricing teaser (Free, Pro), FAQ and footer. Show a success message after signup. Modern, purple accent.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Working mini-app (expense splitter):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Build an app to split group expenses. Create a group, add people, add expenses (who paid, amount, who shares it, equal or custom split), and show balances plus the minimum set of payments to settle up. Mobile first, save in the browser, export a summary as text.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  What's in the repo
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Small-business sites: bakery, restaurant, salon, contractor, accountant, real estate, trainer, therapist&lt;/li&gt;
&lt;li&gt;Personal: designer and developer portfolios, link-in-bio, résumé, wedding RSVP&lt;/li&gt;
&lt;li&gt;Startup/SaaS: waitlist, product launch, pricing page, changelog, status page&lt;/li&gt;
&lt;li&gt;Apps: habit tracker, invoice generator, to-do, expense splitter, RSVP manager, flashcards, booking page, memory game&lt;/li&gt;
&lt;li&gt;Community: nonprofit, club, tutor, band&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Every prompt has a one-click button that drops it into the builder's message box without sending, so you can tweak it first.&lt;/p&gt;

&lt;p&gt;Got a prompt that works well? &lt;a href="https://github.com/veloxahost/veloxa-build-prompts" rel="noopener noreferrer"&gt;Open a PR&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we build &lt;a href="https://veloxahost.com/veloxa-build?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=prompts" rel="noopener noreferrer"&gt;Veloxa Build&lt;/a&gt;. The prompts are CC0 and builder-agnostic.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>webdev</category>
      <category>nocode</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to host a Lovable, Bolt or v0 app on your own domain (configs included)</title>
      <dc:creator>VeloxaHost</dc:creator>
      <pubDate>Thu, 05 Nov 2026 18:18:54 +0000</pubDate>
      <link>https://dev.to/veloxadev/how-to-host-a-lovable-bolt-or-v0-app-on-your-own-domain-configs-included-14jk</link>
      <guid>https://dev.to/veloxadev/how-to-host-a-lovable-bolt-or-v0-app-on-your-own-domain-configs-included-14jk</guid>
      <description>&lt;p&gt;You built an app in Lovable, Bolt or v0, clicked export, and now you have a zip or a GitHub repo. Getting it onto &lt;strong&gt;your own domain&lt;/strong&gt; is where most people get stuck — blank pages, routes that 404 on refresh, env vars that vanish.&lt;/p&gt;

&lt;p&gt;We collected the configs we use into an open-source repo: &lt;strong&gt;&lt;a href="https://github.com/veloxahost/host-ai-built-apps" rel="noopener noreferrer"&gt;veloxahost/host-ai-built-apps&lt;/a&gt;&lt;/strong&gt;. Here's the short version.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 1: Work out what you actually exported
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;You have…&lt;/th&gt;
&lt;th&gt;It is&lt;/th&gt;
&lt;th&gt;Serve it with&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;index.html&lt;/code&gt; + CSS/JS, no &lt;code&gt;package.json&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Plain static site&lt;/td&gt;
&lt;td&gt;Any static file server&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;package.json&lt;/code&gt; with &lt;code&gt;vite&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Vite single-page app (typical Lovable/Bolt)&lt;/td&gt;
&lt;td&gt;
&lt;code&gt;npm run build&lt;/code&gt;, then serve &lt;code&gt;dist/&lt;/code&gt; with an SPA fallback&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;code&gt;package.json&lt;/code&gt; with &lt;code&gt;next&lt;/code&gt;
&lt;/td&gt;
&lt;td&gt;Next.js (typical v0)&lt;/td&gt;
&lt;td&gt;Node server or Docker&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Backend check:&lt;/strong&gt; if the app uses Supabase (Lovable) or the builder's own auth/database, that part keeps talking to those services. Add your new domain to their allowed origins and redirect URLs before you switch DNS.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h2&gt;
  
  
  Step 2: Serve a Vite app with automatic HTTPS
&lt;/h2&gt;

&lt;p&gt;On any Ubuntu server with your domain's A record pointing at it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install&lt;/span&gt; &lt;span class="nt"&gt;-y&lt;/span&gt; caddy
npm ci &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; npm run build
&lt;span class="nb"&gt;sudo mkdir&lt;/span&gt; &lt;span class="nt"&gt;-p&lt;/span&gt; /var/www/app &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; &lt;span class="nb"&gt;sudo cp&lt;/span&gt; &lt;span class="nt"&gt;-r&lt;/span&gt; dist/&lt;span class="k"&gt;*&lt;/span&gt; /var/www/app/
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;code&gt;/etc/caddy/Caddyfile&lt;/code&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;root&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="k"&gt;var&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;www&lt;/span&gt;&lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;app&lt;/span&gt;
    &lt;span class="n"&gt;encode&lt;/span&gt; &lt;span class="n"&gt;zstd&lt;/span&gt; &lt;span class="n"&gt;gzip&lt;/span&gt;
    &lt;span class="n"&gt;try_files&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="n"&gt;path&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt;
    &lt;span class="n"&gt;file_server&lt;/span&gt;
    &lt;span class="n"&gt;header&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;assets&lt;/span&gt;&lt;span class="o"&gt;/*&lt;/span&gt; &lt;span class="n"&gt;Cache&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Control&lt;/span&gt; &lt;span class="s"&gt;"public, max-age=31536000, immutable"&lt;/span&gt;
    &lt;span class="n"&gt;header&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt;&lt;span class="n"&gt;index&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;html&lt;/span&gt; &lt;span class="n"&gt;Cache&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;Control&lt;/span&gt; &lt;span class="s"&gt;"no-cache"&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl reload caddy
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Caddy fetches a Let's Encrypt certificate on the first request. The &lt;code&gt;try_files … /index.html&lt;/code&gt; line is the important one: it's what stops &lt;code&gt;/dashboard&lt;/code&gt; from 404-ing when someone refreshes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Step 3: Next.js exports
&lt;/h2&gt;

&lt;p&gt;Set &lt;code&gt;output: "standalone"&lt;/code&gt; in &lt;code&gt;next.config.js&lt;/code&gt;, then use the multi-stage &lt;a href="https://github.com/veloxahost/host-ai-built-apps/blob/main/docker/Dockerfile.next" rel="noopener noreferrer"&gt;Dockerfile in the repo&lt;/a&gt;:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;docker build &lt;span class="nt"&gt;-t&lt;/span&gt; myapp &lt;span class="nb"&gt;.&lt;/span&gt;
docker run &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="nt"&gt;--restart&lt;/span&gt; unless-stopped &lt;span class="nt"&gt;-p&lt;/span&gt; 127.0.0.1:3000:3000 &lt;span class="nt"&gt;--env-file&lt;/span&gt; .env myapp
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;…and reverse-proxy to it:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight go"&gt;&lt;code&gt;&lt;span class="n"&gt;app&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;example&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;com&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="n"&gt;reverse_proxy&lt;/span&gt; &lt;span class="m"&gt;127.0.0.1&lt;/span&gt;&lt;span class="o"&gt;:&lt;/span&gt;&lt;span class="m"&gt;3000&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  Step 4: Deploy on every push
&lt;/h2&gt;

&lt;p&gt;The repo includes a &lt;a href="https://github.com/veloxahost/host-ai-built-apps/blob/main/github-actions/deploy-static.yml" rel="noopener noreferrer"&gt;GitHub Actions workflow&lt;/a&gt; that builds the app (if there's a &lt;code&gt;package.json&lt;/code&gt;) and &lt;code&gt;rsync&lt;/code&gt;s it to your server. Add &lt;code&gt;DEPLOY_HOST&lt;/code&gt;, &lt;code&gt;DEPLOY_USER&lt;/code&gt; and &lt;code&gt;DEPLOY_SSH_KEY&lt;/code&gt; as secrets and you're done.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five problems you'll probably hit
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Blank page&lt;/strong&gt; → the build used a sub-path. Set &lt;code&gt;base: '/'&lt;/code&gt; in &lt;code&gt;vite.config&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;404 on refresh&lt;/strong&gt; → missing SPA fallback (see Step 2).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Env vars missing&lt;/strong&gt; → Vite only exposes &lt;code&gt;VITE_*&lt;/code&gt; vars, baked in at build time. Rebuild after changing them.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Login redirect fails&lt;/strong&gt; → add the new domain to your auth provider's redirect URLs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mixed content&lt;/strong&gt; → every API URL must be &lt;code&gt;https://&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where to run it
&lt;/h2&gt;

&lt;p&gt;Any Linux VPS works — the configs aren't tied to a provider. If you want the shortcut: &lt;a href="https://veloxahost.com/vps?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=host-ai-built-apps" rel="noopener noreferrer"&gt;VeloxaHost&lt;/a&gt; servers start at $4/mo with snapshots, and &lt;a href="https://veloxahost.com/veloxa-build?utm_source=devto&amp;amp;utm_medium=referral&amp;amp;utm_campaign=host-ai-built-apps" rel="noopener noreferrer"&gt;Veloxa Build&lt;/a&gt; hosts what it builds on every plan.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Disclosure: we build VeloxaHost and Veloxa Build. The repo is MIT-licensed and provider-neutral — PRs welcome.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>ai</category>
      <category>devops</category>
      <category>tutorial</category>
    </item>
  </channel>
</rss>
