<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Tutorials &#8211; Aveshost Blog</title>
	<atom:link href="https://blog.aveshost.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.aveshost.com</link>
	<description>Your Blueprint for Online Success</description>
	<lastBuildDate>Sat, 28 Nov 2026 04:33:39 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://blog.aveshost.com/wp-content/uploads/2026/01/logo-150x150.png</url>
	<title>Tutorials &#8211; Aveshost Blog</title>
	<link>https://blog.aveshost.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Enable DNSSEC on Cloudflare: Step-by-Step Guide</title>
		<link>https://blog.aveshost.com/enable-dnssec-cloudflare/</link>
					<comments>https://blog.aveshost.com/enable-dnssec-cloudflare/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 28 Nov 2026 04:33:16 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cloudflare]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[DNSSEC]]></category>
		<category><![CDATA[website security]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6152</guid>

					<description><![CDATA[Enable Cloudflare DNSSEC, publish the right DS record at your registrar, and verify that public DNS resolvers trust the signed zone.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To <strong>enable DNSSEC on Cloudflare</strong>, turn it on under <strong>DNS → Settings</strong> for your domain. If you registered the domain elsewhere, submit the DS record Cloudflare generates through your registrar, unless Cloudflare handles publication for your setup. Then confirm that a validating resolver can resolve your domain.</p>



<p class="wp-block-paragraph">This walkthrough covers a regular setup where Cloudflare is authoritative for the domain. If you are changing nameservers on a domain that already uses DNSSEC, handle the existing DS record before the switch. An old DS record can make the website and email unreachable for users of validating DNS resolvers.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#understand-dnssec">1. Understand what DNSSEC protects</a></div><div><a href="#before-enabling">2. Check your nameservers and existing DS records</a></div><div><a href="#turn-on">3. Turn on DNSSEC in Cloudflare</a></div><div><a href="#publish-ds">4. Publish Cloudflare’s DS record at your registrar</a></div><div><a href="#verify">5. Verify the chain of trust</a></div><div><a href="#troubleshoot">6. Fix pending status or SERVFAIL</a></div><div><a href="#rollback">7. Disable DNSSEC in the right order</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="understand-dnssec" class="wp-block-heading">1. Understand what DNSSEC protects</h2>



<p class="wp-block-paragraph">DNSSEC lets validating DNS resolvers check the authenticity and integrity of DNS answers. Cloudflare signs the zone and publishes the public DNSKEY records. The parent zone publishes a Delegation Signer (DS) record that identifies a key for your domain. Together they let resolvers check the signed answers against the DNS chain of trust.</p>



<p class="wp-block-paragraph">DNSSEC authenticates records. HTTPS still encrypts the connection between the browser and your site. Keep your TLS certificate, account security and normal backups in place. For the signing and delegation steps, see <a href="https://developers.cloudflare.com/dns/dnssec/" rel="noopener">Cloudflare’s DNSSEC documentation</a>.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Where</th><th>What happens there</th></tr></thead><tbody><tr><td>Cloudflare DNS</td><td>Signs the zone and publishes DNSKEY and signatures</td></tr><tr><td>Registrar</td><td>Submits or manages the DS record through the registry</td></tr><tr><td>Parent zone</td><td>Publishes the delegation’s DS record</td></tr><tr><td>Validating resolver</td><td>Checks the chain and signatures before trusting the answer</td></tr></tbody></table></figure>



<figure class="wp-block-image size-full"><img fetchpriority="high" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records.webp" alt="Cloudflare signs the zone and publishes DNSKEY, while the registrar submits the DS record to the parent zone" class="wp-image-6154" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-records-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="before-enabling" class="wp-block-heading">2. Check your nameservers and existing DS records</h2>



<p class="wp-block-paragraph">In Cloudflare, select your domain and confirm the zone is active. Check that the nameservers assigned to that zone are the ones delegated publicly. Review important web and mail records too. If the domain has not moved yet, use our <a href="https://blog.aveshost.com/protect-your-website-with-cloudflare/">Cloudflare setup guide</a> for the initial DNS and nameserver setup.</p>



<p class="wp-block-paragraph">Sign in to the registrar and find its DNSSEC or DS records section. If you are moving from another DNS provider, identify any existing DS record and plan its removal before changing nameservers. The standard migration path is to remove the old DS, keep the old DNS signing in place while cached DS records expire, switch nameservers, and wait for the previous NS TTL before establishing the new chain.</p>



<p class="wp-block-paragraph">Use the actual parent DS and NS time-to-live values when planning the transition. A lookup with no DS in one cache does not show that every cache has expired. For a migration that must stay signed throughout, follow Cloudflare’s documented multi-signer process with compatible providers. Continue once the Cloudflare nameserver delegation is active.</p>



<h2 id="turn-on" class="wp-block-heading">3. Turn on DNSSEC in Cloudflare</h2>



<p class="wp-block-paragraph">Select the correct domain in the Cloudflare dashboard. Open <strong>DNS → Settings</strong>, find the <strong>DNSSEC</strong> card and select <strong>Enable DNSSEC</strong>. Save the details shown in the dialog. If you close it, reopen them using <strong>DS record</strong> on the DNSSEC card.</p>



<p class="wp-block-paragraph">For a domain registered with Cloudflare, you can start from <strong>Domain Registration → Manage Domains</strong>, select <strong>Manage</strong> beside the domain, then choose <strong>Configuration → Enable DNSSEC</strong>. Cloudflare Registrar handles submission to the registry. Its <a href="https://developers.cloudflare.com/registrar/get-started/enable-dnssec/" rel="noopener">registrar guide</a> gives one to two days for that process after activation.</p>



<p class="wp-block-paragraph">Enabling signing and publishing the DS record are separate steps. An external registrar usually needs the DS details from Cloudflare. Cloudflare also documents automatic DS publication for some top-level domains, including .ch and .cz. Check whether the DS actually appears at the parent before submitting a duplicate.</p>



<h2 id="publish-ds" class="wp-block-heading">4. Publish Cloudflare’s DS record at your registrar</h2>



<p class="wp-block-paragraph">At your registrar, open the domain’s <strong>DNSSEC</strong> or <strong>DS records</strong> settings. Copy Cloudflare’s <strong>key tag, algorithm, digest type and digest</strong> into their matching fields. If the form expects one line, use its required format and the values Cloudflare provided for that domain.</p>



<p class="wp-block-paragraph">Use the full digest and compare the saved values with Cloudflare’s details. A form may show algorithm 13 as <strong>ECDSA Curve P-256 with SHA-256</strong>. The algorithm number and digest type are separate fields. If a registrar does not offer the required option or asks for a different input format, contact its support for the exact procedure.</p>



<p class="wp-block-paragraph">Submit the DS record in the registrar’s delegation settings. Adding a record in your zone’s regular DNS editor cannot publish the DS for that zone in its parent. If the domain is registered with Aveshost and you need help with the registrar step, contact <a href="https://www.aveshost.com/support" rel="noopener">Aveshost support</a> with the domain name and Cloudflare’s public DS details.</p>



<h2 id="verify" class="wp-block-heading">5. Verify the chain of trust</h2>



<p class="wp-block-paragraph">Return to <strong>DNS → Settings → DNSSEC</strong> to check the status. Cloudflare’s <a href="https://developers.cloudflare.com/dns/dnssec/dnssec-states/" rel="noopener">DNSSEC states reference</a> distinguishes pending setup from an active delegation. Check public DNS as well so you can see what resolvers receive.</p>



<p class="wp-block-paragraph">If <code>dig</code> is available, replace <code>example.com</code> in these read-only checks with your domain. Run <code>dig @1.1.1.1 example.com DS +short</code> and compare the returned DS fields with Cloudflare. To see where the DS is published, use <code>dig example.com DS +trace</code>. Next run <code>dig @1.1.1.1 example.com DNSKEY +dnssec</code> to inspect the zone’s published keys.</p>



<p class="wp-block-paragraph">Query an existing record with <code>dig @1.1.1.1 example.com A +dnssec</code>, using the actual hostname and record type if different. A successful answer with <code>ad</code> in the header shows that this resolver reports the answer as authenticated. A visible signature alone does not prove the delegation validates. You can also use <a href="https://dnsviz.net/" rel="noopener">DNSViz</a> to inspect the chain in a browser. See <a href="https://developers.cloudflare.com/dns/dnssec/troubleshooting/" rel="noopener">Cloudflare’s verification examples</a>.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification.webp" alt="Verify DNSSEC by checking the parent DS, reviewing DNSKEY and signatures, and confirming resolver validation" class="wp-image-6155" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/cloudflare-dnssec-verification-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="troubleshoot" class="wp-block-heading">6. Fix pending status or SERVFAIL</h2>



<p class="wp-block-paragraph">If Cloudflare still shows Pending, check whether the DS exists at the parent. If it is missing, confirm that the registrar accepted the submission and check its publication status. If you see a different DS, compare the saved fields and look for a previous provider’s record. Verify the active delegation before changing anything else.</p>



<p class="wp-block-paragraph">If a validating resolver returns <code>SERVFAIL</code>, check the chain in DNSViz. A stale or mismatched DS at the parent can leave resolvers unable to validate Cloudflare’s DNSKEY even while Cloudflare continues to answer DNS queries. Other DNS failures can also return SERVFAIL, so identify the broken link before editing records.</p>



<p class="wp-block-paragraph">After correcting the delegation, test public DNS again and account for cached records. Check the main website and critical mail hostnames from outside your network. Send support the domain, affected hostname, resolver used and public lookup output.</p>



<h2 id="rollback" class="wp-block-heading">7. Disable DNSSEC in the right order</h2>



<p class="wp-block-paragraph">If you need to roll back, start with the parent delegation. Request DS removal at the registrar, or use the Cloudflare Registrar DNSSEC control for a domain registered there. Confirm removal at the parent and allow the previous DS TTL to expire while zone signing remains available.</p>



<p class="wp-block-paragraph">Once the old DS has expired from caches, finish switching off zone signing where your setup requires it. This order matters because a resolver with a cached DS still expects a signed zone with the corresponding key. If you are also changing nameservers, handle the DS and its TTL first unless you have planned a compatible signed migration.</p>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-531f4a58d9e04fcdae28e79781966f1d" class="rank-math-list-item">
<h3 class="rank-math-question ">Can I enable Cloudflare DNSSEC when my domain is registered elsewhere?</h3>
<div class="rank-math-answer ">

<p>Yes, where your registrar and registry support the values Cloudflare provides. Enable signing in Cloudflare, then use the registrar’s DNSSEC section to publish the DS unless publication is handled automatically for your setup.</p>

</div>
</div>
<div id="faq-question-cef5bd3da17b41b388e6bd2fd82fb99a" class="rank-math-list-item">
<h3 class="rank-math-question ">Do I add the DS record to my Cloudflare DNS records?</h3>
<div class="rank-math-answer ">

<p>For this full-domain setup, the DS belongs in the parent zone. Submit it through the registrar or the automatic process that applies to the domain.</p>

</div>
</div>
<div id="faq-question-06cd62eade944c698d41a1c58507fe8b" class="rank-math-list-item">
<h3 class="rank-math-question ">Why does Cloudflare show DNSSEC as pending?</h3>
<div class="rank-math-answer ">

<p>Cloudflare has enabled signing and is waiting for the DS delegation to be detected. Check the parent zone and verify the registrar has accepted the correct values.</p>

</div>
</div>
<div id="faq-question-1fdac86a59e24a37a81588b1563e2e42" class="rank-math-list-item">
<h3 class="rank-math-question ">Does a DNSKEY result prove DNSSEC is working?</h3>
<div class="rank-math-answer ">

<p>A DNSKEY result shows that the key is published. Confirm the DS matches and check that a validating resolver authenticates an answer for your domain.</p>

</div>
</div>
<div id="faq-question-e354560d63d04dcf88368c9e2478d63c" class="rank-math-list-item">
<h3 class="rank-math-question ">Can DNSSEC affect email as well as the website?</h3>
<div class="rank-math-answer ">

<p>Yes. A broken DNSSEC delegation can prevent validating resolvers from looking up web and mail records in the affected zone. Check both after making changes.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/enable-dnssec-cloudflare/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Self-Host NocoDB on a VPS with PostgreSQL and HTTPS</title>
		<link>https://blog.aveshost.com/self-host-nocodb-vps-postgresql-https/</link>
					<comments>https://blog.aveshost.com/self-host-nocodb-vps-postgresql-https/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Mon, 23 Nov 2026 21:23:00 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[NocoDB]]></category>
		<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[self-hosting]]></category>
		<category><![CDATA[vps hosting]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6150</guid>

					<description><![CDATA[A complete production guide to self-hosting NocoDB on a Linux VPS using Docker Compose and PostgreSQL—covering NC_DB, NC_AUTH_JWT_SECRET, NC_PUBLIC_URL, Caddy/Nginx HTTPS reverse proxy, and firewall hardening.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Learning how to <strong>self-host NocoDB</strong> on your own Linux VPS gives your team an open-source Airtable alternative without per-seat SaaS fees or row-count limits. NocoDB turns any relational database into a fast collaborative spreadsheet UI with kanban boards, forms, webhooks, and a full REST API.</p>



<p class="wp-block-paragraph">While NocoDB can start quickly on embedded SQLite for local testing, production teams should pair it with <strong>PostgreSQL</strong> for concurrent multi-user writes, reliable backups, and cleaner scaling—especially when deployed behind an HTTPS reverse proxy like Caddy or Nginx.</p>



<p class="wp-block-paragraph">Whether you run <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> or <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a> with Aveshost, this guide walks through deploying NocoDB with Docker Compose, PostgreSQL 16, automatic Let&#8217;s Encrypt HTTPS, and essential security hardening.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#why-pair-nocodb-with-postgresql-and-a-reverse-proxy">Why Pair NocoDB with PostgreSQL and a Reverse Proxy</a></div><div><a href="#prerequisites-and-environment-variables">Prerequisites and Required NocoDB Environment Variables</a></div><div><a href="#step-1-deploy-nocodb-and-postgresql-with-docker-compose">Step 1: Deploy NocoDB and PostgreSQL 16 with Docker Compose</a></div><div><a href="#step-2-configure-https-with-caddy-or-nginx">Step 2: Add Automatic HTTPS with Caddy (or Nginx + Certbot)</a></div><div><a href="#step-3-backups-and-production-hardening">Step 3: Back Ups, Firewall Rules, and Production Checklist</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="why-pair-nocodb-with-postgresql-and-a-reverse-proxy" class="wp-block-heading">Why Pair NocoDB with PostgreSQL and a Reverse Proxy</h2>



<p class="wp-block-paragraph">Out of the box, NocoDB stores metadata in SQLite when no external database is configured. For solo experiments that works fine, but as soon as multiple teammates edit views, trigger webhooks, or upload attachments simultaneously, PostgreSQL eliminates write-lock contention (see our <a href="https://blog.aveshost.com/sqlite-vs-postgresql-vps/">SQLite vs PostgreSQL on a VPS comparison</a>).</p>



<p class="wp-block-paragraph">Separating storage into two layers also makes upgrades safer: PostgreSQL holds your workspace metadata, table schemas, and user permissions, while the <code>nocodb_data</code> Docker volume mounted at <code>/usr/app/data</code> stores uploaded file attachments and runtime state. You can recreate or upgrade the NocoDB container anytime without touching your relational data.</p>



<p class="wp-block-paragraph">Binding NocoDB strictly to <code>127.0.0.1:8080</code> and placing Caddy or Nginx in front of it keeps port <code>8080</code> and PostgreSQL port <code>5432</code> completely off the public internet while terminating TLS on port <code>443</code>.</p>



<figure class="wp-block-image size-full"><img decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-architecture.webp" alt="Architecture diagram showing self-hosted NocoDB behind Caddy or Nginx HTTPS proxy connected to PostgreSQL 16" class="wp-image-6148" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-architecture.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-architecture-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-architecture-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-architecture-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="prerequisites-and-environment-variables" class="wp-block-heading">Prerequisites and Required NocoDB Environment Variables</h2>



<p class="wp-block-paragraph">Prepare an Ubuntu 22.04 or 24.04 VPS (at least 2 GB RAM recommended for PostgreSQL + NocoDB) with Docker Engine and Docker Compose installed, and point an A record (such as <code>nocodb.yourdomain.com</code>) to your server&#8217;s public IPv4 address. If you are setting up a fresh server, check our <a href="https://blog.aveshost.com/deploy-fastapi-ubuntu-vps/">Ubuntu VPS setup guide</a> for initial SSH and UFW steps.</p>



<p class="wp-block-paragraph">According to the <a href="https://docs.nocodb.com/getting-started/installation/" rel="noopener">official NocoDB installation documentation</a>, three environment variables matter most for a stable PostgreSQL + HTTPS deployment:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Environment Variable</th><th>Purpose</th><th>Production Example / Note</th></tr></thead><tbody><tr><td>NC_DB</td><td>PostgreSQL connection string for NocoDB metadata</td><td>pg://postgres:5432?u=nocodb&amp;p=STRONG_PASS&amp;d=nocodb</td></tr><tr><td>NC_AUTH_JWT_SECRET</td><td>Signs user session and API JWT tokens</td><td>Generate a long random 32+ character secret</td></tr><tr><td>NC_PUBLIC_URL</td><td>Canonical HTTPS URL behind reverse proxy</td><td>https://nocodb.yourdomain.com (fixes webhooks &amp; links)</td></tr></tbody></table></figure>



<h2 id="step-1-deploy-nocodb-and-postgresql-with-docker-compose" class="wp-block-heading">Step 1: Deploy NocoDB and PostgreSQL 16 with Docker Compose</h2>



<p class="wp-block-paragraph">Create a project directory such as <code>/opt/nocodb</code> and save the <code>docker-compose.yml</code> file below. Two details make this production-ready: first, binding NocoDB&#8217;s port to <code>127.0.0.1:8080:8080</code> instead of <code>8080:8080</code> prevents Docker from bypassing UFW on the public interface (<a href="https://blog.aveshost.com/docker-ufw-unexpected-ports/">Docker and UFW port safety guide</a>).</p>



<p class="wp-block-paragraph">Second, adding a <code>pg_isready</code> healthcheck on the PostgreSQL service with <code>condition: service_healthy</code> guarantees NocoDB does not crash on boot while PostgreSQL is still initializing its data directory. Also make sure <code>NC_AUTH_JWT_SECRET</code> is set explicitly in your environment or <code>.env</code> file rather than left blank; otherwise, container restarts invalidate active user sessions.</p>



<p class="wp-block-paragraph">Start the stack with <code>sudo docker compose up -d</code> and check <code>sudo docker compose logs -f nocodb</code> until it reports listening on port <code>8080</code>. You can verify the container health locally with <code>curl -I http://127.0.0.1:8080/api/v1/health</code> before wiring up your domain.</p>



<pre class="wp-block-code"><code>services:
  postgres:
    image: postgres:16-alpine
    restart: unless-stopped
    environment:
      POSTGRES_DB: nocodb
      POSTGRES_USER: nocodb
      POSTGRES_PASSWORD: CHANGE_ME_STRONG_DB_PASSWORD
    volumes:
      - pg_data:/var/lib/postgresql/data
    healthcheck:
      test: &#91;"CMD-SHELL", "pg_isready -U nocodb -d nocodb"]
      interval: 10s
      timeout: 5s
      retries: 10

  nocodb:
    image: nocodb/nocodb:latest
    restart: unless-stopped
    depends_on:
      postgres:
        condition: service_healthy
    ports:
      - "127.0.0.1:8080:8080"
    environment:
      NC_DB: "pg://postgres:5432?u=nocodb&amp;p=CHANGE_ME_STRONG_DB_PASSWORD&amp;d=nocodb"
      NC_AUTH_JWT_SECRET: "REPLACE_WITH_LONG_RANDOM_SECRET"
      NC_PUBLIC_URL: "https://nocodb.yourdomain.com"
    volumes:
      - nocodb_data:/usr/app/data

volumes:
  pg_data:
  nocodb_data:</code></pre>



<pre class="wp-block-code"><code>sudo docker compose up -d
sudo docker compose logs -f nocodb</code></pre>



<h2 id="step-2-configure-https-with-caddy-or-nginx" class="wp-block-heading">Step 2: Add Automatic HTTPS with Caddy (or Nginx + Certbot)</h2>



<p class="wp-block-paragraph">With NocoDB listening on <code>127.0.0.1:8080</code>, configure a reverse proxy to terminate HTTPS on port <code>443</code>. <strong>Caddy</strong> is the fastest option because it obtains and renews Let&#8217;s Encrypt TLS certificates automatically with a five-line <code>Caddyfile</code>.</p>



<p class="wp-block-paragraph">If you already run Nginx on your VPS, create a standard server block with <code>proxy_pass http://127.0.0.1:8080</code> (including WebSocket <code>Upgrade</code> and <code>X-Forwarded-Proto</code> headers) and run <code>sudo certbot --nginx -d nocodb.yourdomain.com</code>.</p>



<p class="wp-block-paragraph">Open <code>https://nocodb.yourdomain.com</code> in your browser to create your first Super Admin account. Because <code>NC_PUBLIC_URL</code> matches your domain, shared views, invite links, and API docs will all resolve cleanly over HTTPS.</p>



<pre class="wp-block-code"><code># /etc/caddy/Caddyfile
nocodb.yourdomain.com {
    reverse_proxy 127.0.0.1:8080
}</code></pre>



<pre class="wp-block-code"><code># Optional UFW firewall check
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp
sudo ufw status</code></pre>



<h2 id="step-3-backups-and-production-hardening" class="wp-block-heading">Step 3: Back Ups, Firewall Rules, and Production Checklist</h2>



<p class="wp-block-paragraph">To keep your NocoDB instance resilient on <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a> self-managed VPS hosting or fully managed VPS hosting, keep only ports <code>80</code> and <code>443</code> open publicly in UFW. If you only want internal team access—or want to lock down SSH—pair your VPS with <a href="https://blog.aveshost.com/secure-vps-access-tailscale-without-public-ports/">Tailscale private VPS access</a>.</p>



<p class="wp-block-paragraph">Never expose PostgreSQL port <code>5432</code> in your Compose file or firewall; keeping PostgreSQL on the internal Docker bridge network ensures only the NocoDB container can query it. When applying container updates later, pull the new image and recreate only the application service with <code>sudo docker compose pull &amp;&amp; sudo docker compose up -d</code>.</p>



<p class="wp-block-paragraph">Finally, schedule automated daily <code>pg_dump</code> exports of your PostgreSQL database alongside backups of the <code>nocodb_data</code> volume (<code>/usr/app/data</code>) so both structured tables and uploaded attachments can be restored cleanly. Test restoring a dump to a staging container periodically to confirm your backup files are complete.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-production-checklist.webp" alt="Six-step production checklist for self-hosting NocoDB with PostgreSQL and HTTPS on a VPS" class="wp-image-6149" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-production-checklist.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-production-checklist-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-production-checklist-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/nocodb-vps-production-checklist-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<pre class="wp-block-code"><code># Daily PostgreSQL dump
sudo docker compose exec -T postgres pg_dump -U nocodb nocodb &gt; /opt/nocodb/nocodb-backup.sql</code></pre>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-ce89c46a56d646bda42c3f19ac2e6ed0" class="rank-math-list-item">
<h3 class="rank-math-question ">How much RAM does a self-hosted NocoDB + PostgreSQL VPS need?</h3>
<div class="rank-math-answer ">

<p>While NocoDB can boot on 1 GB RAM for light testing, 2 GB to 4 GB RAM is recommended on an Ubuntu VPS when running PostgreSQL 16, NocoDB, and a reverse proxy together in production.</p>

</div>
</div>
<div id="faq-question-78d5f776f32e4780ade24e15c0a12250" class="rank-math-list-item">
<h3 class="rank-math-question ">Why should I set NC_PUBLIC_URL when running NocoDB behind Caddy or Nginx?</h3>
<div class="rank-math-answer ">

<p>Without NC_PUBLIC_URL set to your full https:// domain, NocoDB may generate localhost or HTTP links for shared views, password resets, OAuth callbacks, and webhook payloads behind a reverse proxy.</p>

</div>
</div>
<div id="faq-question-7b593bcd9cc84ee38faa6ca60d7af8ba" class="rank-math-list-item">
<h3 class="rank-math-question ">Why bind NocoDB to 127.0.0.1:8080:8080 instead of 8080:8080 in Docker Compose?</h3>
<div class="rank-math-answer ">

<p>Binding to 127.0.0.1 ensures only your local Caddy or Nginx reverse proxy can reach NocoDB, preventing Docker&#8217;s iptables rules from exposing unencrypted port 8080 to the public internet.</p>

</div>
</div>
<div id="faq-question-ac62d359a6ac45ffbcf2ffb1a18e6293" class="rank-math-list-item">
<h3 class="rank-math-question ">Can I migrate NocoDB from SQLite to PostgreSQL later?</h3>
<div class="rank-math-answer ">

<p>Starting directly on PostgreSQL 16 is much simpler for production. If you already run SQLite, NocoDB supports connecting external PostgreSQL data sources or exporting/migrating bases, though starting with NC_DB pointed at PostgreSQL avoids manual metadata migration.</p>

</div>
</div>
<div id="faq-question-e583ba808e09421fb6dcf3717dc210cf" class="rank-math-list-item">
<h3 class="rank-math-question ">Which reverse proxy is easier for NocoDB HTTPS: Caddy or Nginx?</h3>
<div class="rank-math-answer ">

<p>Caddy is simpler for single-app VPS setups because it provisions and renews Let&#8217;s Encrypt TLS certificates automatically with minimal config. Nginx + Certbot is ideal if you already host multiple sites on the same VPS.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/self-host-nocodb-vps-postgresql-https/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Secure VPS Access with Tailscale Without Opening Public Admin Ports</title>
		<link>https://blog.aveshost.com/secure-vps-access-tailscale-without-public-ports/</link>
					<comments>https://blog.aveshost.com/secure-vps-access-tailscale-without-public-ports/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 20:55:19 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tailscale]]></category>
		<category><![CDATA[Ubuntu VPS]]></category>
		<category><![CDATA[UFW Firewall]]></category>
		<category><![CDATA[VPS Security]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6131</guid>

					<description><![CDATA[A step-by-step guide to securing Ubuntu VPS access with Tailscale so SSH, databases, and admin dashboards stay completely unreachable from the public internet while remaining fast for authorized admins.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Learning how to <strong>secure VPS access with Tailscale</strong> eliminates one of the biggest attack surfaces on any Linux server: publicly exposed SSH and admin ports. The moment a cloud VPS comes online, automated scanners probe port <code>22</code>, database ports, and container dashboards around the clock.</p>



<p class="wp-block-paragraph">By placing your server on a private WireGuard-encrypted Tailscale mesh network and locking down UFW to accept admin traffic only on the <code>tailscale0</code> interface, your public IP exposes nothing except ports <code>80</code> and <code>443</code> for live web traffic.</p>



<p class="wp-block-paragraph">Whether you run <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> or <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a> with Aveshost, this guide walks through installing Tailscale, locking down UFW without locking yourself out, enabling identity-based Tailscale SSH, and enforcing tag ACLs.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#why-closing-public-admin-ports-matters">Why Closing Public Admin Ports Matters on a VPS</a></div><div><a href="#step-1-install-tailscale-on-ubuntu-vps">Step 1: Install and Authenticate Tailscale on Your Ubuntu VPS</a></div><div><a href="#step-2-lock-down-ufw-to-tailscale0">Step 2: Configure UFW to Allow Admin Traffic Only on tailscale0</a></div><div><a href="#step-3-enable-tailscale-ssh-and-tag-acls">Step 3: Enable Tailscale SSH and Tag-Based ACLs</a></div><div><a href="#vps-emergency-console-and-maintenance">Emergency Console Recovery and Ongoing Maintenance</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="why-closing-public-admin-ports-matters" class="wp-block-heading">Why Closing Public Admin Ports Matters on a VPS</h2>



<p class="wp-block-paragraph"><strong>What is Tailscale?</strong> If you are new to private networking, Tailscale is a modern, zero-configuration mesh VPN built on the fast <strong>WireGuard</strong> protocol. Unlike traditional VPNs that force you to manage complex server certificates or route all traffic through a single bottleneck, Tailscale creates an encrypted peer-to-peer private network (called a <em>tailnet</em>) between your laptops, phones, and VPS instances. Every device you authorize receives a private <code>100.x.y.z</code> IP address, letting your devices talk directly over an encrypted tunnel even behind home routers or strict firewalls.</p>



<p class="wp-block-paragraph">Even with SSH key authentication and Fail2Ban enabled, leaving port <code>22</code>, PostgreSQL (<code>5432</code>), MySQL (<code>3306</code>), or web admin panels open on your public IP forces your server to process constant brute-force traffic and zero-day vulnerability scans.</p>



<p class="wp-block-paragraph">With Tailscale, your VPS joins a private overlay network in the <code>100.64.0.0/10</code> range (<code>100.x.y.z</code>). Public scanners hitting your server&#8217;s public IPv4 or IPv6 address see a closed firewall on every administrative port, while your authenticated devices reach SSH and internal dashboards directly over WireGuard.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Service / Port</th><th>Traditional Public VPS</th><th>Tailscale + UFW Lock-Down</th></tr></thead><tbody><tr><td>SSH (Port 22)</td><td>Exposed to 0.0.0.0/0; constant brute-force bots</td><td>Allowed only on tailscale0 (100.x.y.z)</td></tr><tr><td>Databases (3306 / 5432)</td><td>Risky if bound to public IP or Docker 0.0.0.0</td><td>Bound to 127.0.0.1 or tailscale0 only</td></tr><tr><td>Admin UIs (Portainer / Uptime Kuma)</td><td>Requires public reverse proxy + auth hardening</td><td>Accessible privately over WireGuard tailnet</td></tr><tr><td>Public Websites (80 / 443)</td><td>Open to visitors via eth0</td><td>Open to visitors via eth0 (unchanged)</td></tr></tbody></table></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-ufw-architecture.webp" alt="Architecture diagram showing public web ports 80 and 443 separated from private tailscale0 SSH and admin traffic" class="wp-image-6128" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-ufw-architecture.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-ufw-architecture-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-ufw-architecture-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-ufw-architecture-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="step-1-install-tailscale-on-ubuntu-vps" class="wp-block-heading">Step 1: Install and Authenticate Tailscale on Your Ubuntu VPS</h2>



<p class="wp-block-paragraph">Connect to your VPS over SSH one last time via its public IP, then install the official Tailscale client using the repository script documented in the <a href="https://tailscale.com/kb/1031/install-linux" rel="noopener">Tailscale Linux installation guide</a>.</p>



<p class="wp-block-paragraph">Run <code>sudo tailscale up</code> (or include <code>--ssh</code> to enable identity-based Tailscale SSH right away) and open the printed login URL in your browser to authorize the VPS in your tailnet. Once connected, run <code>tailscale ip -4</code> to note your server&#8217;s private <code>100.x.y.z</code> address.</p>



<p class="wp-block-paragraph"><strong>Critical safety rule:</strong> Before touching any firewall rules, open a brand-new terminal window on your laptop (with Tailscale running locally) and verify you can log in via <code>ssh user@100.x.y.z</code>.</p>



<pre class="wp-block-code"><code># 1. Install Tailscale on Ubuntu VPS
curl -fsSL https://tailscale.com/install.sh | sh

# 2. Authenticate and check your private 100.x IP
sudo tailscale up --ssh
tailscale ip -4</code></pre>



<h2 id="step-2-lock-down-ufw-to-tailscale0" class="wp-block-heading">Step 2: Configure UFW to Allow Admin Traffic Only on tailscale0</h2>



<p class="wp-block-paragraph">Once you confirm your SSH session works over the <code>100.x.y.z</code> Tailscale IP, lock down UFW following the <a href="https://tailscale.com/kb/1077/secure-server-ubuntu" rel="noopener">Tailscale Ubuntu firewall guide</a>. Set default policies to deny all incoming traffic, allow incoming traffic on the <code>tailscale0</code> interface, and keep only public HTTP/HTTPS ports open if the VPS hosts websites.</p>



<p class="wp-block-paragraph">If you previously ran <code>ufw allow 22</code> or <code>ufw allow OpenSSH</code>, inspect <code>sudo ufw status numbered</code> and delete those public port <code>22</code> rules so SSH is no longer reachable from the public internet.</p>



<p class="wp-block-paragraph">Remember: if you run Docker containers on the same VPS, Docker writes its own <code>iptables</code> rules that can bypass UFW when ports are bound to <code>0.0.0.0</code>. Always bind internal admin UIs (such as Portainer, Dokploy, Coolify, or <a href="https://blog.aveshost.com/public-website-status-page-with-uptime-kuma/">Uptime Kuma</a>) to <code>127.0.0.1</code> or your Tailscale IP—see our guide on <a href="https://blog.aveshost.com/docker-ufw-unexpected-ports/">stopping Docker from exposing unexpected ports with UFW</a>.</p>



<pre class="wp-block-code"><code># Test SSH over Tailscale FIRST: ssh youruser@100.x.y.z
sudo ufw default deny incoming
sudo ufw default allow outgoing
sudo ufw allow in on tailscale0
sudo ufw allow 80/tcp
sudo ufw allow 443/tcp

# Remove public port 22 rules if present, then enable
sudo ufw status numbered
sudo ufw enable &amp;&amp; sudo ufw reload</code></pre>



<h2 id="step-3-enable-tailscale-ssh-and-tag-acls" class="wp-block-heading">Step 3: Enable Tailscale SSH and Tag-Based ACLs</h2>



<p class="wp-block-paragraph">To eliminate static SSH key sprawl altogether, enable <strong>Tailscale SSH</strong> with <code>sudo tailscale set --ssh</code>. Tailscale intercepts SSH connections arriving on <code>tailscale0</code> and authenticates users through your identity provider (Google, GitHub, Microsoft, or Okta) and WireGuard node keys.</p>



<p class="wp-block-paragraph">For teams managing multiple servers, assign a server tag such as <code>tag:vps</code> and restrict access in your Tailscale Admin Console <strong>Access Controls</strong> policy so only devices tagged <code>tag:admin-devices</code> can reach port <code>22</code> or internal admin ports. Tailscale ACLs default to deny, meaning any port not explicitly listed in an <code>accept</code> block stays blocked even inside your tailnet.</p>



<p class="wp-block-paragraph">You can also combine Tailscale with private remote desktop tools—for instance, binding self-hosted management dashboards privately alongside our <a href="https://blog.aveshost.com/self-host-rustdesk-ubuntu-vps/">RustDesk Ubuntu VPS setup</a> or securing API backends from our <a href="https://blog.aveshost.com/deploy-fastapi-ubuntu-vps/">Ubuntu FastAPI deployment guide</a>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-hardening-checklist.webp" alt="Six-step checklist for securing Ubuntu VPS access with Tailscale and UFW without public admin ports" class="wp-image-6129" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-hardening-checklist.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-hardening-checklist-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-hardening-checklist-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/tailscale-vps-hardening-checklist-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<pre class="wp-block-code"><code>{
  "tagOwners": {
    "tag:vps": &#91;"autogroup:admin"],
    "tag:admin-devices": &#91;"autogroup:admin"]
  },
  "acls": &#91;
    {
      "action": "accept",
      "src": &#91;"tag:admin-devices"],
      "dst": &#91;"tag:vps:22", "tag:vps:8080", "tag:vps:443"]
    }
  ],
  "ssh": &#91;
    {
      "action": "accept",
      "src": &#91;"tag:admin-devices"],
      "dst": &#91;"tag:vps"],
      "users": &#91;"ubuntu", "root"]
    }
  ]
}</code></pre>



<h2 id="vps-emergency-console-and-maintenance" class="wp-block-heading">Emergency Console Recovery and Ongoing Maintenance</h2>



<p class="wp-block-paragraph">Closing public port <code>22</code> drastically reduces automated attack noise, but always verify you have a working out-of-band recovery path. On <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a> self-managed VPS hosting and fully managed VPS hosting, your client area provides a browser-based VNC/serial console in case <code>tailscaled</code> ever stops during an OS upgrade.</p>



<p class="wp-block-paragraph">Keep <code>tailscale</code> updated alongside regular <code>apt upgrade</code> security patches so WireGuard keys, DERP relay connections, and kernel networking stay healthy.</p>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-200d6bbb1fc1423b97453a7e2d3b2fd1" class="rank-math-list-item">
<h3 class="rank-math-question ">Will I lock myself out of my VPS if I close port 22 in UFW?</h3>
<div class="rank-math-answer ">

<p>Not if you install Tailscale first, verify you can SSH into your VPS via its 100.x.y.z Tailscale IP, and add sudo ufw allow in on tailscale0 before deleting public port 22 rules. You can also use your VPS provider&#8217;s web VNC console as an emergency fallback.</p>

</div>
</div>
<div id="faq-question-24bde45712644863b0ccc4f3a1499581" class="rank-math-list-item">
<h3 class="rank-math-question ">Does Tailscale slow down public website traffic on port 80 or 443?</h3>
<div class="rank-math-answer ">

<p>No. Public visitors continue connecting directly to Nginx, Apache, or Caddy over your VPS&#8217;s normal public network interface (eth0). Only administrative traffic on 100.x.y.z travels through the tailscale0 WireGuard tunnel.</p>

</div>
</div>
<div id="faq-question-908df9de85c149279632594aa8cf3224" class="rank-math-list-item">
<h3 class="rank-math-question ">Why does Docker still expose admin ports even after enabling UFW?</h3>
<div class="rank-math-answer ">

<p>By default, Docker publishes -p 8080:8080 on 0.0.0.0 and inserts iptables rules before UFW&#8217;s chains. To keep admin dashboards private to Tailscale, bind them to 127.0.0.1:8080:8080 or your 100.x.y.z:8080:8080 Tailscale IP.</p>

</div>
</div>
<div id="faq-question-a11303e713d14f1eba93686c97a85ad0" class="rank-math-list-item">
<h3 class="rank-math-question ">What is the difference between regular SSH over Tailscale and Tailscale SSH?</h3>
<div class="rank-math-answer ">

<p>Regular SSH over Tailscale still uses your server&#8217;s sshd daemon and ~/.ssh/authorized_keys file, just routed privately over tailscale0. Tailscale SSH (tailscale set &#8211;ssh) replaces static SSH keys with identity-provider authentication and tailnet ACL rules.</p>

</div>
</div>
<div id="faq-question-724ea356925340febff196fda5c1b209" class="rank-math-list-item">
<h3 class="rank-math-question ">Is Tailscale free for securing a personal or small-team VPS?</h3>
<div class="rank-math-answer ">

<p>Yes. Tailscale&#8217;s Personal plan supports up to 3 users and 100 devices for free, which easily covers securing personal or small-team VPS instances without public admin ports.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/secure-vps-access-tailscale-without-public-ports/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>RustDesk vs AnyDesk: Costs, Privacy and Self-Hosting Compared</title>
		<link>https://blog.aveshost.com/rustdesk-vs-anydesk-costs-privacy-self-hosting/</link>
					<comments>https://blog.aveshost.com/rustdesk-vs-anydesk-costs-privacy-self-hosting/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 20:22:57 +0000</pubDate>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[AnyDesk]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[RustDesk]]></category>
		<category><![CDATA[self-hosting]]></category>
		<category><![CDATA[vps hosting]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6126</guid>

					<description><![CDATA[An engineering and buyer comparison of RustDesk vs AnyDesk covering licensing costs, open-source transparency vs closed-source SaaS, encryption, self-hosting on a Linux VPS, and enterprise team controls.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Comparing <strong>RustDesk vs AnyDesk</strong> comes down to a clear architectural divide: an open-source remote desktop platform you can self-host for free on your own VPS versus a closed-source commercial SaaS tool built around a managed global cloud.</p>



<p class="wp-block-paragraph">Both tools deliver low-latency screen sharing, file transfer, and unattended access across Windows, macOS, Linux, Android, and iOS. However, their pricing models, privacy guarantees, and self-hosting restrictions lead to very different long-term costs for solo IT pros, agencies, and growing support teams.</p>



<p class="wp-block-paragraph">In this guide, we compare <strong>RustDesk vs AnyDesk</strong> across licensing costs, data sovereignty, encryption standards, self-hosting requirements on <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> or <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a>, and team administration.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#rustdesk-vs-anydesk-at-a-glance">RustDesk vs AnyDesk at a Glance</a></div><div><a href="#licensing-and-cost-comparison">Costs &amp; Licensing: Open-Source Freedom vs Per-Seat Subscriptions</a></div><div><a href="#privacy-encryption-and-data-sovereignty">Privacy, Encryption, and Data Sovereignty</a></div><div><a href="#self-hosting-and-deployment-effort">Self-Hosting &amp; Deployment Effort Compared</a></div><div><a href="#which-should-you-choose-rustdesk-or-anydesk">Which Should You Choose: RustDesk or AnyDesk?</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="rustdesk-vs-anydesk-at-a-glance" class="wp-block-heading">RustDesk vs AnyDesk at a Glance</h2>



<p class="wp-block-paragraph">Before diving into each category, here is how <strong>RustDesk vs AnyDesk</strong> stacks up across source licensing, hosting model, encryption, and team administration:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Comparison Factor</th><th>RustDesk (OSS / Pro)</th><th>AnyDesk (Cloud / Ultimate)</th></tr></thead><tbody><tr><td>Source License</td><td>Open-source client &amp; Server OSS (AGPLv3); optional commercial Server Pro</td><td>Proprietary closed-source software</td></tr><tr><td>Cost Model</td><td>Free to self-host OSS with no user caps; Pro adds annual console license</td><td>Free for personal use only; commercial use requires annual per-seat plans</td></tr><tr><td>Self-Hosting Availability</td><td>Available on all tiers via Docker (hbbs + hbbr)</td><td>Restricted to enterprise Ultimate On-Premises tier</td></tr><tr><td>Encryption</td><td>End-to-end encryption with Ed25519 keypairs (ENCRYPTED_ONLY=1)</td><td>TLS 1.3 + 256-bit AES transport encryption + RSA 2048-bit key exchange</td></tr><tr><td>Web Console &amp; SSO</td><td>CLI/config in OSS; Web UI, OIDC/LDAP &amp; audit logs in Server Pro</td><td>Cloud my.anydesk console (Standard/Advanced) or local appliance (Ultimate)</td></tr></tbody></table></figure>



<h2 id="licensing-and-cost-comparison" class="wp-block-heading">Costs &amp; Licensing: Open-Source Freedom vs Per-Seat Subscriptions</h2>



<p class="wp-block-paragraph">Cost is the number one reason IT teams evaluate <strong>RustDesk vs AnyDesk</strong>. AnyDesk offers a free edition strictly for personal, non-commercial use. As soon as AnyDesk&#8217;s heuristics detect frequent business sessions or commercial patterns, you must move to an annual paid subscription—Solo, Standard, Advanced, or Ultimate—which caps licensed users, concurrent connections, and managed unattended devices.</p>



<p class="wp-block-paragraph">By contrast, the <a href="https://rustdesk.com/docs/en/self-host/" rel="noopener">RustDesk Server OSS</a> edition is licensed under AGPLv3 and is completely free to self-host with zero artificial user caps or concurrent session limits. Your only recurring cost is a modest Linux VPS (typically 1 GB to 2 GB RAM) to run <code>hbbs</code> and <code>hbbr</code>.</p>



<p class="wp-block-paragraph">If your organization wants a graphical web admin console, centralized address books, OIDC/LDAP single sign-on, and audit logs, RustDesk also sells a commercial <strong>Server Pro</strong> license billed annually—still usually at a fraction of multi-seat proprietary remote-desktop subscriptions.</p>



<h2 id="privacy-encryption-and-data-sovereignty" class="wp-block-heading">Privacy, Encryption, and Data Sovereignty</h2>



<p class="wp-block-paragraph">Both platforms take transport security seriously, yet they offer very different levels of auditability and metadata control. According to <a href="https://anydesk.com/en/features/security" rel="noopener">AnyDesk&#8217;s security overview</a>, AnyDesk secures sessions using TLS 1.3, 256-bit AES transport encryption, and RSA 2048-bit asymmetric key exchange, alongside 2FA and access control lists. However, on all standard cloud plans, session brokering and relay fallback pass through AnyDesk&#8217;s proprietary servers, and the codebase cannot be audited independently.</p>



<p class="wp-block-paragraph">RustDesk pairs an auditable AGPLv3 open-source client and OSS server with Ed25519 keypair verification. When you self-host RustDesk with <code>ENCRYPTED_ONLY=1</code>, clients refuse unencrypted connections and every session handshake and fallback relay stays strictly inside your own VPS.</p>



<p class="wp-block-paragraph">If your team handles regulated client environments or strict internal compliance, keeping session routing off third-party SaaS clouds is a major privacy win.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-architecture.webp" alt="Connection and privacy architecture diagram comparing self-hosted RustDesk against AnyDesk cloud and Ultimate on-premises" class="wp-image-6124" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-architecture.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-architecture-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-architecture-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-architecture-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="self-hosting-and-deployment-effort" class="wp-block-heading">Self-Hosting &amp; Deployment Effort Compared</h2>



<p class="wp-block-paragraph">With AnyDesk, zero setup is required if you use their cloud—install the client, sign in, and connect. However, if you specifically want to self-host AnyDesk on your own infrastructure, you must purchase their enterprise <strong>Ultimate</strong> tier to unlock the closed-source On-Premises appliance.</p>



<p class="wp-block-paragraph">RustDesk makes self-hosting accessible to everyone. Deploying RustDesk Server OSS on Ubuntu takes under ten minutes with Docker Compose and four UFW firewall rules (<code>21115/tcp</code>, <code>21116/tcp</code>, <code>21116/udp</code>, and <code>21117/tcp</code>). Follow our complete walkthrough on <a href="https://blog.aveshost.com/self-host-rustdesk-ubuntu-vps/">how to self-host RustDesk on an Ubuntu VPS</a> to deploy it cleanly.</p>



<p class="wp-block-paragraph">When self-hosting with Docker on a VPS, remember to audit published container ports (<a href="https://blog.aveshost.com/docker-ufw-unexpected-ports/">Docker and UFW port safety guide</a>) and track relay uptime using <a href="https://blog.aveshost.com/public-website-status-page-with-uptime-kuma/">a public or internal Uptime Kuma status page</a>.</p>



<h2 id="which-should-you-choose-rustdesk-or-anydesk" class="wp-block-heading">Which Should You Choose: RustDesk or AnyDesk?</h2>



<p class="wp-block-paragraph">Choosing between <strong>RustDesk vs AnyDesk</strong> depends on whether you prioritize zero-maintenance SaaS convenience or full infrastructure control and predictable costs:</p>



<p class="wp-block-paragraph">• <strong>Choose RustDesk if:</strong> You want free commercial-ready remote access without per-seat SaaS renewals, require open-source transparency, or want 100% control over your relay server on <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a> self-managed VPS hosting or fully managed VPS hosting.</p>



<p class="wp-block-paragraph">• <strong>Choose AnyDesk if:</strong> You want an out-of-the-box managed cloud service with zero VPS maintenance, rely on polished enterprise features like MSI/GPO mass rollout out of the gate, and have budget for annual commercial seats.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-decision-matrix.webp" alt="Six-factor decision matrix comparing RustDesk and AnyDesk across cost, self-hosting, open source, cloud setup, enterprise console, and security" class="wp-image-6125" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-decision-matrix.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-decision-matrix-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-decision-matrix-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vs-anydesk-decision-matrix-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-90a79e067c204acc9eecbf707d7d5e8e" class="rank-math-list-item">
<h3 class="rank-math-question ">Is RustDesk completely free for commercial use?</h3>
<div class="rank-math-answer ">

<p>Yes, RustDesk&#8217;s open-source client and Server OSS (AGPLv3) are free to self-host on your own VPS for both personal and commercial use with no user or session caps. If you want RustDesk&#8217;s proprietary Server Pro web management console and SSO features, those require an annual Pro license.</p>

</div>
</div>
<div id="faq-question-7a8f6dd136024bd79a411a5147a63c71" class="rank-math-list-item">
<h3 class="rank-math-question ">Can I self-host AnyDesk on my own VPS?</h3>
<div class="rank-math-answer ">

<p>Not on AnyDesk&#8217;s Solo, Standard, or Advanced plans. Self-hosting AnyDesk requires the enterprise Ultimate tier, which unlocks their closed-source On-Premises appliance via custom sales pricing.</p>

</div>
</div>
<div id="faq-question-807b672b188545499f308d6250badb1f" class="rank-math-list-item">
<h3 class="rank-math-question ">Which is more private: RustDesk or AnyDesk?</h3>
<div class="rank-math-answer ">

<p>Self-hosted RustDesk offers stronger privacy and data sovereignty because the client and Server OSS code are open source (AGPLv3) and all ID brokering and relay traffic remain on your own VPS with Ed25519 key enforcement. AnyDesk encrypts traffic with TLS 1.3 and AES-256, but standard tiers are closed source and route through AnyDesk&#8217;s cloud.</p>

</div>
</div>
<div id="faq-question-b80d5de30cb8481b9e32df7558c171ac" class="rank-math-list-item">
<h3 class="rank-math-question ">Does RustDesk require a powerful VPS to self-host?</h3>
<div class="rank-math-answer ">

<p>No. RustDesk&#8217;s hbbs and hbbr containers are lightweight Rust binaries. A 1 vCPU, 1 GB RAM Ubuntu VPS comfortably supports dozens of concurrent remote desktop sessions.</p>

</div>
</div>
<div id="faq-question-48d5affe24864adbb0b778945f0e2c87" class="rank-math-list-item">
<h3 class="rank-math-question ">Why do teams switch from AnyDesk to RustDesk?</h3>
<div class="rank-math-answer ">

<p>Teams commonly switch to avoid recurring per-seat and concurrent-connection SaaS renewals, eliminate commercial-use detection prompts, and gain full ownership of their relay infrastructure on a private Linux VPS.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/rustdesk-vs-anydesk-costs-privacy-self-hosting/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Self-Host RustDesk on an Ubuntu VPS for Remote Desktop Access</title>
		<link>https://blog.aveshost.com/self-host-rustdesk-ubuntu-vps/</link>
					<comments>https://blog.aveshost.com/self-host-rustdesk-ubuntu-vps/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 18:49:44 +0000</pubDate>
				<category><![CDATA[Web Hosting]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Docker]]></category>
		<category><![CDATA[Remote Desktop]]></category>
		<category><![CDATA[RustDesk]]></category>
		<category><![CDATA[Ubuntu VPS]]></category>
		<category><![CDATA[vps hosting]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6121</guid>

					<description><![CDATA[A complete step-by-step tutorial on how to self-host RustDesk on an Ubuntu VPS with Docker Compose—covering hbbs and hbbr setup, UFW firewall ports, Ed25519 key enforcement, and desktop/mobile client configuration.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Learning how to <strong>self-host RustDesk</strong> on your own Ubuntu VPS gives you fast, private remote desktop access without recurring TeamViewer or AnyDesk licensing limits. Instead of routing your support sessions through crowded public relay servers, your own server handles client discovery and encrypted relay traffic exclusively for your team.</p>



<p class="wp-block-paragraph">The open-source RustDesk server stack runs cleanly in two lightweight Docker containers—<code>hbbs</code> (the ID and rendezvous server) and <code>hbbr</code> (the relay server)—and easily runs alongside other services on a 1 GB or 2 GB RAM <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> or <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a> plan from Aveshost.</p>



<p class="wp-block-paragraph">In this guide, you will deploy RustDesk with Docker Compose on Ubuntu, open the exact required UFW ports, lock down your server with <code>ENCRYPTED_ONLY=1</code> and an Ed25519 public key, and connect your desktop and mobile clients.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#how-self-hosted-rustdesk-architecture-works">How Self-Hosted RustDesk Works (hbbs vs hbbr)</a></div><div><a href="#prerequisites-and-required-firewall-ports">Prerequisites and Required Ubuntu UFW Firewall Ports</a></div><div><a href="#deploy-rustdesk-server-with-docker-compose">Step 1: Deploy RustDesk Server with Docker Compose</a></div><div><a href="#configure-rustdesk-desktop-and-mobile-clients">Step 2: Connect RustDesk Desktop and Mobile Clients</a></div><div><a href="#security-hardening-and-vps-maintenance">Step 3: Harden Your RustDesk VPS and Prevent Common Issues</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="how-self-hosted-rustdesk-architecture-works" class="wp-block-heading">How Self-Hosted RustDesk Works (hbbs vs hbbr)</h2>



<p class="wp-block-paragraph">When you <strong>self-host RustDesk</strong>, your Ubuntu VPS acts as the private broker between your controller device and your remote computers. According to the <a href="https://rustdesk.com/docs/en/self-host/" rel="noopener">official RustDesk self-hosting documentation</a>, the server splits into two complementary services:</p>



<p class="wp-block-paragraph">• <strong>hbbs (ID / Rendezvous Server):</strong> Registers client IDs, checks NAT types, and coordinates direct peer-to-peer (P2P) UDP hole-punching so two machines on friendly networks can talk directly.</p>



<p class="wp-block-paragraph">• <strong>hbbr (Relay Server):</strong> Steps in automatically whenever strict corporate firewalls or symmetric NAT block direct P2P connections, relaying end-to-end encrypted traffic over TCP port <code>21117</code>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-architecture.webp" alt="Architecture diagram showing how self-hosted RustDesk hbbs and hbbr containers work on an Ubuntu VPS" class="wp-image-6119" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-architecture.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-architecture-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-architecture-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-architecture-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="prerequisites-and-required-firewall-ports" class="wp-block-heading">Prerequisites and Required Ubuntu UFW Firewall Ports</h2>



<p class="wp-block-paragraph">Before installing the containers, prepare an Ubuntu 22.04 or 24.04 VPS with Docker Engine, Docker Compose, and a non-root sudo user. If you have not hardened your server yet, our <a href="https://blog.aveshost.com/deploy-fastapi-ubuntu-vps/">Ubuntu VPS deployment guide</a> walks through initial SSH and firewall setup.</p>



<p class="wp-block-paragraph">RustDesk requires three core ports (including both TCP and UDP on port <code>21116</code>) and two optional WebSocket ports that you should keep closed unless you specifically serve the browser web client behind an HTTPS reverse proxy:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Port &amp; Protocol</th><th>Service</th><th>Purpose</th><th>Should You Open It?</th></tr></thead><tbody><tr><td>21115 / TCP</td><td>hbbs</td><td>NAT type test</td><td>Yes (required)</td></tr><tr><td>21116 / TCP &amp; UDP</td><td>hbbs</td><td>ID registration, heartbeat (UDP), and TCP hole-punching</td><td>Yes (required — both TCP and UDP)</td></tr><tr><td>21117 / TCP</td><td>hbbr</td><td>Encrypted relay fallback service</td><td>Yes (required)</td></tr><tr><td>21118–21119 / TCP</td><td>hbbs / hbbr</td><td>WebSocket support for browser Web Client</td><td>No (leave closed unless proxied via HTTPS)</td></tr></tbody></table></figure>



<pre class="wp-block-code"><code># Open required RustDesk ports in UFW on Ubuntu
sudo ufw allow 21115/tcp
sudo ufw allow 21116/tcp
sudo ufw allow 21116/udp
sudo ufw allow 21117/tcp
sudo ufw reload</code></pre>



<h2 id="deploy-rustdesk-server-with-docker-compose" class="wp-block-heading">Step 1: Deploy RustDesk Server with Docker Compose</h2>



<p class="wp-block-paragraph">Create a dedicated project directory such as <code>/opt/rustdesk</code> on your Ubuntu VPS and configure <code>docker-compose.yml</code>. Notice two critical production settings: passing <code>-r your-vps-ip-or-domain:21117</code> to <code>hbbs</code> so clients know your relay endpoint, and setting <code>ENCRYPTED_ONLY=1</code> on both containers.</p>



<p class="wp-block-paragraph">Enabling <code>ENCRYPTED_ONLY=1</code> tells <code>hbbs</code> and <code>hbbr</code> to reject any unencrypted client connection and enforce your Ed25519 keypair. Without this variable, anyone who discovers your VPS IP could attempt to use your relay unauthenticated.</p>



<p class="wp-block-paragraph">Once you run <code>docker compose up -d</code>, RustDesk automatically generates <code>id_ed25519</code> (private key) and <code>id_ed25519.pub</code> (public key) inside <code>./data</code>. Print your public key with <code>cat ./data/id_ed25519.pub</code> and keep it ready for your client apps.</p>



<pre class="wp-block-code"><code># /opt/rustdesk/docker-compose.yml
services:
  hbbs:
    container_name: hbbs
    image: rustdesk/rustdesk-server:latest
    command: hbbs -r your-vps-ip-or-domain:21117
    volumes:
      - ./data:/root
    environment:
      - ENCRYPTED_ONLY=1
    ports:
      - "21115:21115"
      - "21116:21116"
      - "21116:21116/udp"
    depends_on:
      - hbbr
    restart: unless-stopped

  hbbr:
    container_name: hbbr
    image: rustdesk/rustdesk-server:latest
    command: hbbr
    volumes:
      - ./data:/root
    environment:
      - ENCRYPTED_ONLY=1
    ports:
      - "21117:21117"
    restart: unless-stopped</code></pre>



<pre class="wp-block-code"><code># Start RustDesk server containers and read your public key
mkdir -p /opt/rustdesk &amp;&amp; cd /opt/rustdesk
sudo docker compose up -d
cat ./data/id_ed25519.pub</code></pre>



<h2 id="configure-rustdesk-desktop-and-mobile-clients" class="wp-block-heading">Step 2: Connect RustDesk Desktop and Mobile Clients</h2>



<p class="wp-block-paragraph">With both containers running, configure every RustDesk client (Windows, macOS, Linux, Android, or iOS) to point at your private Ubuntu VPS instead of the public RustDesk servers:</p>



<p class="wp-block-paragraph">• <strong>1. Open Network Settings:</strong> Launch RustDesk on your device, click the three-dot menu next to your ID, and open <strong>Settings → Network</strong> (click <strong>Unlock network settings</strong> if prompted).</p>



<p class="wp-block-paragraph">• <strong>2. Enter ID and Relay Server:</strong> Set <strong>ID Server</strong> to your VPS public IP or domain name (for example, <code>remote.yourdomain.com</code>). You can also enter the same host in <strong>Relay Server</strong>.</p>



<p class="wp-block-paragraph">• <strong>3. Paste Your Public Key:</strong> Copy the exact string from <code>cat ./data/id_ed25519.pub</code> (with no extra spaces or trailing line breaks) into the <strong>Key</strong> field and click <strong>Apply</strong>.</p>



<p class="wp-block-paragraph">• <strong>4. Verify Status:</strong> Return to the main RustDesk window. The status indicator at the bottom should turn green and read <strong>Ready</strong>. Repeat this setup on any remote computer you want to access.</p>



<h2 id="security-hardening-and-vps-maintenance" class="wp-block-heading">Step 3: Harden Your RustDesk VPS and Prevent Common Issues</h2>



<p class="wp-block-paragraph">Because Docker modifies <code>iptables</code> directly when publishing container ports, always double-check how your firewall interacts with published ports—see our guide on <a href="https://blog.aveshost.com/docker-ufw-unexpected-ports/">stopping Docker containers from exposing unexpected ports with UFW</a>. Also monitor container logs and image layers periodically so old images do not fill your VPS disk (<a href="https://blog.aveshost.com/docker-disk-space-full/">how to find what is using Docker disk space</a>).</p>



<p class="wp-block-paragraph">Follow the six-step security checklist below to keep your self-hosted RustDesk server locked down on <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a> self-managed VPS hosting or fully managed VPS hosting:</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-security-checklist.webp" alt="Six-step security checklist for self-hosting RustDesk on an Ubuntu VPS" class="wp-image-6120" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-security-checklist.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-security-checklist-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-security-checklist-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rustdesk-vps-security-checklist-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-ca7b2b9573f146dea9a99819bc635bc4" class="rank-math-list-item">
<h3 class="rank-math-question ">How much RAM and CPU does a self-hosted RustDesk server need?</h3>
<div class="rank-math-answer ">

<p>RustDesk&#8217;s hbbs and hbbr containers are written in Rust and use very little memory—typically under 100 MB of RAM at idle. A 1 vCPU, 1 GB RAM Ubuntu VPS comfortably handles dozens of concurrent remote desktop sessions, while 2 GB RAM gives extra headroom if you run other tools.</p>

</div>
</div>
<div id="faq-question-3f95ec91d1f648658e91ea393c9c6bd7" class="rank-math-list-item">
<h3 class="rank-math-question ">Why does RustDesk say &#x27;Not ready. Please check your connection&#x27; after setup?</h3>
<div class="rank-math-answer ">

<p>This usually happens when port 21116/udp is blocked in UFW or your cloud security group, when the Key field in the client does not match ./data/id_ed25519.pub, or when ENCRYPTED_ONLY=1 rejects a client missing the public key.</p>

</div>
</div>
<div id="faq-question-5fcdb129f14a4ac1afa1cd62b4aae803" class="rank-math-list-item">
<h3 class="rank-math-question ">Do I need a domain name to self-host RustDesk on a VPS?</h3>
<div class="rank-math-answer ">

<p>No. You can enter your Ubuntu VPS public IPv4 address directly in the hbbs -r flag and in your RustDesk client ID Server field. However, pointing an A record such as remote.yourdomain.com to your VPS makes it easier to migrate servers later without reconfiguring every client.</p>

</div>
</div>
<div id="faq-question-b85c5a1e13414ac0abfa9a1fc8ea3e83" class="rank-math-list-item">
<h3 class="rank-math-question ">Should I open ports 21118 and 21119 in UFW?</h3>
<div class="rank-math-answer ">

<p>Only if you plan to host the RustDesk Web Client. Per the official RustDesk documentation, keep ports 21118 and 21119 closed unless you place them behind a properly configured HTTPS/WSS reverse proxy.</p>

</div>
</div>
<div id="faq-question-cdaf46918888454eaf1546178f2b9499" class="rank-math-list-item">
<h3 class="rank-math-question ">What happens if I lose my id_ed25519 key files?</h3>
<div class="rank-math-answer ">

<p>If ./data/id_ed25519 and id_ed25519.pub are deleted, RustDesk generates a brand-new keypair on container restart and existing clients will fail key verification until updated. Back up the ./data directory right after your first deployment.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/self-host-rustdesk-ubuntu-vps/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Track Google Lens and Image Search Performance in Search Console</title>
		<link>https://blog.aveshost.com/track-google-lens-image-search-search-console/</link>
					<comments>https://blog.aveshost.com/track-google-lens-image-search-search-console/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 03:51:34 +0000</pubDate>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Google Lens]]></category>
		<category><![CDATA[Google Search Console]]></category>
		<category><![CDATA[Image SEO]]></category>
		<category><![CDATA[Search Analytics]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6096</guid>

					<description><![CDATA[Use the two visual search filters in Google Search Console to track discovery, compare periods and find landing pages to improve.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">To track <strong>Google Lens and Image Search performance</strong>, open the Search results performance report in Google Search Console. Choose <strong>Web: multimodal</strong> for image-led searches that include Google Lens, or <strong>Image</strong> for results in the Google Images tab.</p>



<p class="wp-block-paragraph">Keep the two views separate in your reports. The multimodal filter combines several ways people search with images, so its total covers more than Lens. This guide shows how to pull each view, interpret the numbers and use them to improve landing pages.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#search-types">1. Choose the right search type</a></div><div><a href="#lens">2. Find Google Lens data in Search Console</a></div><div><a href="#image">3. Measure traffic from Google Images</a></div><div><a href="#metrics">4. Read clicks, impressions, CTR and position</a></div><div><a href="#compare">5. Compare equal periods and export the results</a></div><div><a href="#improve">6. Use page data to decide what to improve</a></div><div><a href="#analytics">7. Measure what visitors do after they arrive</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="search-types" class="wp-block-heading">1. Choose the right search type</h2>



<p class="wp-block-paragraph">The distinction comes down to how someone searched and where Google showed the result. Someone can type “blue ceramic bowl” and open the Images tab. That tab belongs to the Image search type. A shopper who uses a photo of a bowl to start a search through Lens uses one of the entry points covered by Web: multimodal.</p>



<p class="wp-block-paragraph">Google groups Lens with Circle to Search on Android, images uploaded to Google Search and Chrome’s image search feature. Use the label <em>Web: multimodal</em> in your dashboard so readers know what the total includes. The filter does not break out clicks for each entry point. See <a href="https://developers.google.com/search/blog/2026/09/web-multimodal-in-sc" rel="noopener">Google’s multimodal reporting announcement</a> for coverage.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Search type</th><th>Use it to measure</th></tr></thead><tbody><tr><td>Image</td><td>Performance in the Google Images tab</td></tr><tr><td>Web: multimodal</td><td>Combined web performance for image-led searches, including Lens</td></tr><tr><td>Web: text-based</td><td>Performance from text queries in standard Google Search</td></tr></tbody></table></figure>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types.webp" alt="Image measures the Google Images tab. Web: multimodal combines Lens, Circle to Search and other image-led searches." class="wp-image-6098" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-types-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="lens" class="wp-block-heading">2. Find Google Lens data in Search Console</h2>



<p class="wp-block-paragraph">Open <a href="https://search.google.com/search-console" rel="noopener">Google Search Console</a> and select the property that covers the landing pages you want to measure. Open <strong>Performance → Search results</strong>, then open <strong>Search type</strong>. Select <strong>Web: multimodal</strong> and apply the filter. Confirm that the filter chip reflects your selection before reading or exporting the totals.</p>



<p class="wp-block-paragraph">Start with clicks and impressions and a broad date range. Open <strong>Pages</strong> to see which URLs contribute to the total. Pick one page to narrow the report and use <strong>Countries</strong> or <strong>Devices</strong> when you have a specific question, such as whether impressions for a product category are concentrated on mobile.</p>



<p class="wp-block-paragraph">If you cannot see meaningful data, remove other filters, confirm the property and widen the range. A newer reporting type may have less history than older ones. An empty view cannot tell you whether an individual photo appears in a Lens result. Use the <a href="https://support.google.com/webmasters/answer/7576553?hl=en" rel="noopener">Performance report documentation</a> to confirm the available filters.</p>



<h2 id="image" class="wp-block-heading">3. Measure traffic from Google Images</h2>



<p class="wp-block-paragraph">In the same report, change <strong>Search type</strong> to <strong>Image</strong> and apply it. Check the date range again. Open <strong>Pages</strong> to identify the destination URLs that receive impressions and clicks from the Images tab. Google explains this distinction in its <a href="https://support.google.com/webmasters/answer/10268906?hl=en" rel="noopener">guide to Search Console performance reports</a>.</p>



<p class="wp-block-paragraph">A row for <code>/products/blue-bowl/</code> describes the page that hosts or represents the image result. It is not a report for a specific WebP or JPEG. If that product page contains six photos, the row cannot identify which one earned the click. When you run an image update, document exactly which assets changed so you can interpret later page-level changes.</p>



<p class="wp-block-paragraph">Use visible query rows to see how people describe what they are looking for. Check whether the landing page meets that need. A query for a product close-up suggests a different page experience from a query for dimensions or setup instructions. Some queries are omitted from the table for privacy, so the visible rows may add up to less than the chart total.</p>



<h2 id="metrics" class="wp-block-heading">4. Read clicks, impressions, CTR and position</h2>



<p class="wp-block-paragraph"><strong>Impressions</strong> measure visibility under the counting rules for the selected result type. <strong>Clicks</strong> measure clicks through to your site. A user can interact with an image inside Google without visiting your page. <strong>CTR</strong> divides clicks by impressions, while <strong>average position</strong> summarizes where eligible results appeared. See <a href="https://support.google.com/webmasters/answer/7042828?hl=en" rel="noopener">how Google counts these metrics</a>.</p>



<p class="wp-block-paragraph">Read the numbers together. For example, 48 clicks from 2,400 impressions gives a CTR of 2%. If the next period has 60 clicks from 4,000 impressions, CTR is 1.5%. Clicks and visibility grew even as a smaller share of impressions led to visits. Check which pages account for the extra impressions before making a change.</p>



<p class="wp-block-paragraph">Compare position within the same search type and comparable filters. Visual results can appear in different layouts, and a site&#8217;s average can move when its mix of visible pages or searches changes. A one-point difference between two search types does not establish that one ranks better overall.</p>



<h2 id="compare" class="wp-block-heading">5. Compare equal periods and export the results</h2>



<p class="wp-block-paragraph">Choose one search type and open <strong>Date → Compare</strong>. Select matching periods, such as a complete 28-day window and the preceding 28 days. Keep page, country and device filters consistent. Repeat for the other search type using the same windows. If your store is seasonal, compare equivalent periods when history permits.</p>



<p class="wp-block-paragraph">Use <strong>Export</strong> and label each download with the property, search type, dates and filters. Keep property totals separate from sums of exported rows. Set up a worksheet with one row per period and search type, then keep a second worksheet for the landing pages you plan to monitor.</p>



<p class="wp-block-paragraph">Start with pages that gained or lost the most clicks, then check impressions and CTR. For larger reporting workflows, Google’s <a href="https://developers.google.com/search/blog/2026/11/search-analytics-api-update" rel="noopener">Search Analytics API update</a> documents the <code>webMultimodal</code> search type. The Image report uses its own search type, so keep the distinction in automated exports too.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare.webp" alt="Compare visual search performance by choosing a search type, comparing equal periods and reviewing landing pages." class="wp-image-6099" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/lens-search-compare-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="improve" class="wp-block-heading">6. Use page data to decide what to improve</h2>



<p class="wp-block-paragraph">For pages with rising impressions and weak click growth, inspect whether the main image makes the subject easy to recognize and whether the page answers the likely next question. For a product, that could mean a clear hero photo, a close-up of a distinctive detail and visible specifications or availability. Give useful images descriptive alt text that conveys their purpose.</p>



<p class="wp-block-paragraph">When impressions fall across several pages, check for recent template or CDN changes. Make sure relevant images load in standard HTML image elements and remain accessible to Google. Use <strong>URL Inspection</strong> on the landing page for indexing and canonical evidence. It helps check the URL and rendered page. It does not provide a ranking or traffic history for each photo. Follow <a href="https://developers.google.com/search/docs/appearance/google-images" rel="noopener">Google’s image SEO guidance</a> and our <a href="https://blog.aveshost.com/crawled-currently-not-indexed-search-console/">guide to diagnosing page indexing issues</a>.</p>



<p class="wp-block-paragraph">Record the pages changed, what you changed and the baseline for each search type. Check another complete period before deciding whether the trend held. Compare against similar pages you left alone when you can. Even a clean before-and-after comparison can reflect changes in demand, indexing or result layouts.</p>



<h2 id="analytics" class="wp-block-heading">7. Measure what visitors do after they arrive</h2>



<p class="wp-block-paragraph">Use Search Console to measure discovery and Google Analytics to see whether visitors engage, submit a form or buy. Review the same landing pages and dates in GA4. Search clicks and analytics sessions use different counting rules, so compare patterns rather than expecting matching totals. Google explains how to <a href="https://developers.google.com/search/docs/monitor-debug/google-analytics-search-console" rel="noopener">use both tools together</a>.</p>



<p class="wp-block-paragraph">A page that gained multimodal clicks and also recorded more organic sales is a good candidate for closer review. Those page totals alone do not establish which sales started in Google Lens. In a monthly report, show Image and Web: multimodal search performance next to the landing page’s separately measured outcomes. That gives your team evidence for deciding which images and pages to work on next.</p>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-74d37173a0d84ad985c9dff597c782e3" class="rank-math-list-item">
<h3 class="rank-math-question ">Does Search Console show Google Lens traffic?</h3>
<div class="rank-math-answer ">

<p>The Web: multimodal search type includes Google Lens. It also includes other image-led entry points such as Circle to Search on Android and uploads in Google Search. Use the combined total for multimodal reporting.</p>

</div>
</div>
<div id="faq-question-416d52c6b1be46e4b0d618eb271785dd" class="rank-math-list-item">
<h3 class="rank-math-question ">Is Web: multimodal the same as Image?</h3>
<div class="rank-math-answer ">

<p>They measure different search activity. Web: multimodal covers web results from searches that begin with an image. Image covers results shown in the Google Images tab.</p>

</div>
</div>
<div id="faq-question-822704ad5add44e7a5b2334f49a0df8d" class="rank-math-list-item">
<h3 class="rank-math-question ">Can I see clicks for an individual image file?</h3>
<div class="rank-math-answer ">

<p>The Pages table groups performance by page URL. It does not reveal which specific photo on a product or article page generated a click.</p>

</div>
</div>
<div id="faq-question-8a7aace3e9a04c3d80a2506aee4f0e51" class="rank-math-list-item">
<h3 class="rank-math-question ">Why is my multimodal report empty?</h3>
<div class="rank-math-answer ">

<p>Start by confirming the property, removing narrow filters and selecting a longer date range. The view needs reportable activity in the selected period. An empty report gives you no image-level indexing verdict.</p>

</div>
</div>
<div id="faq-question-06088b89803d4aae8e370d2a1325ee23" class="rank-math-list-item">
<h3 class="rank-math-question ">How often should I check visual search performance?</h3>
<div class="rank-math-answer ">

<p>A monthly comparison using complete, equal periods works well for many sites. Check again after substantial image or template changes. Use longer windows when traffic is sparse.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/track-google-lens-image-search-search-console/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Google Chose a Different Canonical? How to Fix Duplicate URL Problems</title>
		<link>https://blog.aveshost.com/google-chose-different-canonical-duplicate-urls/</link>
					<comments>https://blog.aveshost.com/google-chose-different-canonical-duplicate-urls/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 03:40:25 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[Canonical Tags]]></category>
		<category><![CDATA[Duplicate Content]]></category>
		<category><![CDATA[Google Search Console]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[Technical SEO]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6094</guid>

					<description><![CDATA[A practical guide to resolving Google Search Console's "Duplicate, Google chose different canonical than user" warning—covering Google's canonical signal hierarchy, URL Inspection, 301 redirects, sitemaps, internal links, and duplicate content.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Seeing <strong>“Duplicate, Google chose different canonical than user”</strong> in Google Search Console means Googlebot found two or more pages with identical or nearly identical content, saw your <code>rel="canonical"</code> tag, and decided to ignore it in favor of a different URL.</p>



<p class="wp-block-paragraph">Because a canonical tag is a strong hint rather than an absolute command, Google overrides your preference whenever other signals—like <code>301</code> redirects, internal links, HTTPS vs HTTP, or XML sitemaps—point to a different version of the page, or when two separate pages look too similar to deserve separate index entries.</p>



<p class="wp-block-paragraph">In this guide, you will learn how to inspect <strong>Google-selected canonical</strong> vs <strong>User-declared canonical</strong>, understand Google&#8217;s canonical signal hierarchy, fix conflicting server and CMS rules, and consolidate duplicate URLs cleanly.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#what-duplicate-google-chose-different-canonical-means">What “Duplicate, Google Chose Different Canonical Than User” Means</a></div><div><a href="#step-1-compare-user-declared-vs-google-selected-canonical">Step 1: Compare User-Declared vs Google-Selected Canonicals</a></div><div><a href="#common-causes-and-exact-fixes-for-duplicate-urls">Common Causes and Exact Fixes for Duplicate URL Problems</a></div><div><a href="#monitoring-canonicals-and-hosting-redirects-cleanly">Verify Server Redirects, Monitor Search Console, and Host Cleanly</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="what-duplicate-google-chose-different-canonical-means" class="wp-block-heading">What “Duplicate, Google Chose Different Canonical Than User” Means</h2>



<p class="wp-block-paragraph">When Google crawls multiple URLs that return the same—or nearly the same—content, it groups them into a single canonical cluster and picks one representative URL to show in search results. If your page includes a <code>&lt;link rel="canonical"&gt;</code> tag pointing to URL A, but Google indexes URL B instead, Search Console flags URL A under <strong>Duplicate, Google chose different canonical than user</strong>.</p>



<p class="wp-block-paragraph">This status is closely related to—but distinct from—other indexing exclusions covered in our guide on <a href="https://blog.aveshost.com/crawled-currently-not-indexed-search-console/">diagnosing “Crawled—Currently Not Indexed” in Search Console</a>. Here, Google is explicitly telling you that another URL won the cluster.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Canonical Signal (Strongest to Weakest)</th><th>How Google Treats It</th><th>Common Mistake That Triggers Overrides</th></tr></thead><tbody><tr><td>1. 301 Permanent Redirects</td><td>Strongest consolidation signal; transfers link equity</td><td>Leaving http://, www, or non-trailing-slash variants returning 200 OK</td></tr><tr><td>2. rel=&#8221;canonical&#8221; Link Tag</td><td>Strong hint inside HTML &lt;head&gt; or HTTP header</td><td>Using relative paths or pointing canonicals across conflicting redirects</td></tr><tr><td>3. Internal Links</td><td>Shows which URL your own site treats as primary</td><td>Menus or post links pointing to ?utm_ or old URL variants</td></tr><tr><td>4. XML Sitemaps</td><td>Baseline hint of preferred indexable URLs</td><td>Listing non-canonical, redirected, or parameterized URLs in sitemaps</td></tr></tbody></table></figure>



<h2 id="step-1-compare-user-declared-vs-google-selected-canonical" class="wp-block-heading">Step 1: Compare User-Declared vs Google-Selected Canonicals</h2>



<p class="wp-block-paragraph">Before changing any tags or redirects, open Search Console → <strong>Indexing → Pages</strong>, click <strong>Duplicate, Google chose different canonical than user</strong>, and inspect a few affected URLs in the <strong>URL Inspection</strong> tool.</p>



<p class="wp-block-paragraph">Pay attention to two lines in the Indexing section: <strong>User-declared canonical</strong> (what your HTML tag asks for) and <strong>Google-selected canonical</strong> (what Google actually indexed). Surprisingly often, Google picked the better URL—for example, choosing <code>https://</code> over <code>http://</code>, or dropping tracking parameters.</p>



<p class="wp-block-paragraph">If Google&#8217;s chosen URL is already the clean version you want ranked, do not fight it—simply update your internal links and XML sitemap to match Google&#8217;s selection. If Google picked the wrong URL (such as a parameter variant or a staging subdomain), follow the four-step consolidation workflow below.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/canonical-signal-hierarchy-flow.webp" alt="Four-step workflow showing how to fix Google chose a different canonical in Search Console" class="wp-image-6092" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/canonical-signal-hierarchy-flow.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/canonical-signal-hierarchy-flow-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/canonical-signal-hierarchy-flow-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/canonical-signal-hierarchy-flow-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="common-causes-and-exact-fixes-for-duplicate-urls" class="wp-block-heading">Common Causes and Exact Fixes for Duplicate URL Problems</h2>



<p class="wp-block-paragraph">According to the official <a href="https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls" rel="noopener">Google Search Central guide on consolidating duplicate URLs</a>, canonical signals work best when every layer of your stack agrees. Fix whichever mismatch applies to your site:</p>



<p class="wp-block-paragraph">• <strong>1. HTTP vs HTTPS, www vs non-www, and Trailing Slashes:</strong> If both <code>https://example.com/guide</code> and <code>https://www.example.com/guide/</code> return <code>200 OK</code>, Google may pick the opposite host or slash format from your canonical tag. Enforce one canonical host and trailing-slash convention with a server-level <code>301</code> permanent redirect.</p>



<p class="wp-block-paragraph">• <strong>2. Query Parameters and Filter URLs:</strong> E-commerce sorting, pagination, and tracking parameters (<code>?sort=price</code>, <code>?utm_campaign=</code>) create thousands of duplicate URLs. Ensure parameterized views output an absolute canonical tag pointing to the clean base URL and never appear in your XML sitemap.</p>



<p class="wp-block-paragraph">• <strong>3. Conflicting Internal Links &amp; Sitemaps:</strong> If your canonical tag points to URL A, but your navigation menu or XML sitemap lists URL B (or URL A redirects to URL B), Google will ignore your canonical tag. Audit your menus, breadcrumb schema, and generated sitemaps so every link uses the exact canonical URL.</p>



<p class="wp-block-paragraph">• <strong>4. Near-Duplicate Pages That Should Both Rank:</strong> Sometimes two distinct pages—like city landing pages or similar product models—share 80% of the same template copy. If Google collapses them into one canonical cluster, differentiate the pages with genuinely unique copy, specs, FAQs, and media.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/duplicate-url-fixes-checklist.webp" alt="Six fixes for duplicate URL and canonical conflicts in Google Search Console" class="wp-image-6093" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/duplicate-url-fixes-checklist.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/duplicate-url-fixes-checklist-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/duplicate-url-fixes-checklist-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/duplicate-url-fixes-checklist-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<pre class="wp-block-code"><code># Apache (.htaccess): force HTTPS and non-www in a single 301 redirect
RewriteEngine On
RewriteCond %{HTTPS} off &#91;OR]
RewriteCond %{HTTP_HOST} ^www\.example\.com$ &#91;NC]
RewriteRule ^(.*)$ https://example.com/$1 &#91;L,R=301]</code></pre>



<h2 id="monitoring-canonicals-and-hosting-redirects-cleanly" class="wp-block-heading">Verify Server Redirects, Monitor Search Console, and Host Cleanly</h2>



<p class="wp-block-paragraph">After updating your <code>301</code> redirects, canonical tags, and sitemaps, verify your headers with <code>curl -IL</code> so you are certain duplicates redirect in a single hop rather than chaining. You can also track canonical anomalies at scale by <a href="https://blog.aveshost.com/automate-seo-reports-search-console-api-n8n/">automating Search Console reports with n8n</a> or querying URL Inspection data through <a href="https://blog.aveshost.com/google-search-console-mcp/">Google Search Console MCP</a>.</p>



<p class="wp-block-paragraph">Finally, whether you run WordPress or custom web apps on <a href="https://www.aveshost.com/web-hosting" rel="noopener">shared web hosting</a>, <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a>, or <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> with <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a>, enforce HTTPS and your primary hostname at the web server level—and if you deploy static or hybrid React apps, check our guide on <a href="https://blog.aveshost.com/next-js-static-export-vs-server-hosting/">Next.js static export vs server hosting</a> so trailing slashes and canonicals stay consistent.</p>



<pre class="wp-block-code"><code># Verify single-hop 301 redirects and inspect the HTML canonical tag
curl -ILs https://www.example.com/your-page/ | grep -iE "^HTTP/|^location:"
curl -s https://example.com/your-page/ | grep -i 'rel="canonical"'</code></pre>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-3bcccfb165a147b49c6e327269e24b93" class="rank-math-list-item">
<h3 class="rank-math-question ">Why did Google choose a different canonical than the one I declared?</h3>
<div class="rank-math-answer ">

<p>A rel=&#8221;canonical&#8221; tag is a strong hint, not a strict directive. Google overrides it when stronger signals—such as 301 redirects, internal links, HTTPS preference, or XML sitemaps—point to a different URL, or when two pages have nearly identical content.</p>

</div>
</div>
<div id="faq-question-cb6f3a0c1fba49c4b9bb0e9161559df7" class="rank-math-list-item">
<h3 class="rank-math-question ">Is Duplicate, Google chose different canonical than user hurting my SEO?</h3>
<div class="rank-math-answer ">

<p>If Google selected the clean, intended URL (for example, HTTPS without tracking parameters) and you want duplicates consolidated there, it usually does not hurt rankings. It becomes a problem when Google indexes a parameter URL, staging link, or wrong page instead of your primary URL.</p>

</div>
</div>
<div id="faq-question-c47d76aa471e47279b249f49a8cccd53" class="rank-math-list-item">
<h3 class="rank-math-question ">Should I use a 301 redirect or a rel=&quot;canonical&quot; tag for duplicate URLs?</h3>
<div class="rank-math-answer ">

<p>Use a 301 permanent redirect when the duplicate URL does not need to remain accessible (such as http://, non-preferred www/non-www, or retired pages). Use a rel=&#8221;canonical&#8221; tag when the duplicate URL must still load for users (such as ?sort= filters or ?utm_ tracking links).</p>

</div>
</div>
<div id="faq-question-ab79964e95ff4a6ab217260979f35755" class="rank-math-list-item">
<h3 class="rank-math-question ">Should canonical tags use relative or absolute URLs?</h3>
<div class="rank-math-answer ">

<p>Always use full absolute URLs (including https:// and your exact canonical hostname) inside rel=&#8221;canonical&#8221; tags and XML sitemaps to prevent protocol or host misinterpretation.</p>

</div>
</div>
<div id="faq-question-9fb83ca9241a417faf14416120e01956" class="rank-math-list-item">
<h3 class="rank-math-question ">How long does it take Search Console to update after fixing canonical conflicts?</h3>
<div class="rank-math-answer ">

<p>Once you align your 301 redirects, internal links, canonical tags, and XML sitemap, you can click Request Indexing on key URLs. Google typically recrawls and updates the Page Indexing report within a few days to a couple of weeks.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/google-chose-different-canonical-duplicate-urls/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>“Crawled—Currently Not Indexed”: How to Diagnose the Search Console Warning</title>
		<link>https://blog.aveshost.com/crawled-currently-not-indexed-search-console/</link>
					<comments>https://blog.aveshost.com/crawled-currently-not-indexed-search-console/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Sat, 21 Nov 2026 02:03:23 +0000</pubDate>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Canonical Tags]]></category>
		<category><![CDATA[Google Search Console]]></category>
		<category><![CDATA[Indexing]]></category>
		<category><![CDATA[seo]]></category>
		<category><![CDATA[Technical SEO]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6089</guid>

					<description><![CDATA[A practical diagnostic guide to the Google Search Console "Crawled—Currently Not Indexed" status—covering how it differs from Discovered, URL Inspection checks, canonical conflicts, thin content, internal linking, and JavaScript rendering.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Seeing <strong>“Crawled—Currently Not Indexed”</strong> in Google Search Console is one of the most frustrating SEO warnings because your server did nothing wrong. Googlebot reached your URL, downloaded the HTML, and read the page—yet decided not to add it to Google&#8217;s search index.</p>



<p class="wp-block-paragraph">Unlike a <code>404</code> error, a <code>5xx</code> server crash, or a <code>robots.txt</code> block, <strong>Crawled—Currently Not Indexed</strong> is a quality, duplication, or prioritization decision. Clicking <em>Request Indexing</em> over and over without changing the underlying page almost never fixes it.</p>



<p class="wp-block-paragraph">In this guide, you will learn how to diagnose <strong>Crawled—Currently Not Indexed</strong> systematically: separating pages you actually want indexed from noise, inspecting live rendered HTML and canonicals, fixing thin or duplicate templates, and strengthening internal links.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#what-crawled-currently-not-indexed-actually-means">What “Crawled—Currently Not Indexed” Actually Means</a></div><div><a href="#five-most-common-causes-of-crawled-currently-not-indexed">The 5 Most Common Causes of Crawled—Currently Not Indexed</a></div><div><a href="#step-by-step-diagnostic-workflow-in-search-console">Step-by-Step Diagnostic Workflow in Search Console</a></div><div><a href="#how-to-fix-each-type-of-unindexed-page">How to Fix Each Type of Unindexed Page</a></div><div><a href="#how-server-performance-and-hosting-support-indexing">How Server Performance and Hosting Support Reliable Indexing</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="what-crawled-currently-not-indexed-actually-means" class="wp-block-heading">What “Crawled—Currently Not Indexed” Actually Means</h2>



<p class="wp-block-paragraph">In the <a href="https://support.google.com/webmasters/answer/7440203" rel="noopener">Google Search Console Page Indexing report</a>, <strong>Crawled—Currently Not Indexed</strong> means Googlebot fetched your page successfully, evaluated its content and signals, and chose not to store it in the index for now. Because the page is not indexed, it cannot rank for any search queries.</p>



<p class="wp-block-paragraph">Site owners frequently confuse this warning with <strong>Discovered—currently not indexed</strong>. Although both keep a page out of Google Search, they point to completely different bottlenecks:</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Search Console Status</th><th>Did Googlebot Crawl the Page?</th><th>Primary Root Cause</th><th>First Diagnostic Step</th></tr></thead><tbody><tr><td>Crawled—currently not indexed</td><td>Yes (fetched and evaluated)</td><td>Content quality, duplication, canonicals, or weak internal links</td><td>Inspect URL pattern, canonicals, and unique page value</td></tr><tr><td>Discovered—currently not indexed</td><td>No (queued, not fetched yet)</td><td>Crawl budget, server capacity limits, or orphan sitemap URLs</td><td>Check server TTFB, crawl stats, and add internal links</td></tr></tbody></table></figure>



<h2 id="five-most-common-causes-of-crawled-currently-not-indexed" class="wp-block-heading">The 5 Most Common Causes of Crawled—Currently Not Indexed</h2>



<p class="wp-block-paragraph">Before editing random pages, identify which pattern explains your non-indexed URLs. Almost every <strong>Crawled—Currently Not Indexed</strong> report falls into one of five root causes:</p>



<p class="wp-block-paragraph">• <strong>1. Thin or Low-Value Content:</strong> Pages with very few words, boilerplate summaries, or content that adds no unique insight beyond what already ranks are routinely dropped after crawling.</p>



<p class="wp-block-paragraph">• <strong>2. Duplicate or Near-Duplicate Templates:</strong> URL parameters (<code>?sort=price</code>, <code>?utm_source=</code>), print views, HTTP vs HTTPS variants, or overlapping product pages compete with each other until Google leaves extras unindexed.</p>



<p class="wp-block-paragraph">• <strong>3. Conflicting Canonical Tags:</strong> If a page declares <code>rel="canonical"</code> pointing to a different URL—or Google selects a different canonical because the pages look nearly identical—the non-canonical URL stays out of the index.</p>



<p class="wp-block-paragraph">• <strong>4. Weak Internal Linking &amp; Orphan Pages:</strong> Pages buried five clicks deep or listed only in an XML sitemap lack internal link equity, signaling to Google that they are low-priority.</p>



<p class="wp-block-paragraph">• <strong>5. JavaScript Rendering or Soft-404 States:</strong> Client-side apps that fail to hydrate content quickly, or empty category/search pages returning <code>200 OK</code>, often look empty to Googlebot&#8217;s rendering pass.</p>



<h2 id="step-by-step-diagnostic-workflow-in-search-console" class="wp-block-heading">Step-by-Step Diagnostic Workflow in Search Console</h2>



<p class="wp-block-paragraph">Follow a structured four-step triage instead of guessing URL by URL. Open Search Console, go to <strong>Indexing → Pages</strong>, click <strong>Crawled—currently not indexed</strong>, and export the affected URL list.</p>



<p class="wp-block-paragraph">• <strong>Step 1 — Group URLs by Template:</strong> Sort the exported spreadsheet by path prefix (such as <code>/tag/</code>, <code>/page/</code>, <code>/blog/</code>, or query strings like <code>?filter=</code>). You will usually spot immediately whether the warning hits valuable articles or low-value system URLs.</p>



<p class="wp-block-paragraph">• <strong>Step 2 — Run URL Inspection &amp; Test Live URL:</strong> Paste a few representative URLs into Search Console&#8217;s URL Inspection bar. Compare <strong>User-declared canonical</strong> against <strong>Google-selected canonical</strong>, then click <strong>Test Live URL → View Tested Page</strong> to verify Googlebot sees your full rendered text.</p>



<p class="wp-block-paragraph">• <strong>Step 3 — Triage Each Group:</strong> Decide whether each URL group should be expanded and kept, consolidated with a canonical or <code>301</code> redirect, or excluded with <code>noindex</code>.</p>



<p class="wp-block-paragraph">• <strong>Step 4 — Strengthen Internal Links &amp; Re-Submit:</strong> Add contextual links from strong, indexed pages before clicking <strong>Request Indexing</strong>.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-diagnostic-flow.webp" alt="Four-step diagnostic workflow for Crawled Currently Not Indexed in Google Search Console" class="wp-image-6087" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-diagnostic-flow.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-diagnostic-flow-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-diagnostic-flow-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-diagnostic-flow-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<h2 id="how-to-fix-each-type-of-unindexed-page" class="wp-block-heading">How to Fix Each Type of Unindexed Page</h2>



<p class="wp-block-paragraph">Not every URL in the <strong>Crawled—Currently Not Indexed</strong> bucket is actually broken. In fact, many healthy websites intentionally leave tag archives, pagination, and filter URLs out of Google&#8217;s index. Apply the fix that matches the page type:</p>



<p class="wp-block-paragraph">• <strong>Important Blog Posts or Service Pages:</strong> Expand thin sections with original examples, troubleshooting tables, screenshots, and clear answers to user intent. Add at least two or three contextual internal links from your highest-traffic guides—and if you track indexing trends across hundreds of URLs, see how to <a href="https://blog.aveshost.com/automate-seo-reports-search-console-api-n8n/">automate Search Console reports with n8n</a> or query live data via <a href="https://blog.aveshost.com/google-search-console-mcp/">Google Search Console MCP</a>.</p>



<p class="wp-block-paragraph">• <strong>Duplicate or Parameter URLs:</strong> Ensure every canonical page has a clean self-referencing <code>&lt;link rel="canonical"&gt;</code> tag, and point variant or tracking URLs back to the clean canonical URL (or redirect retired duplicates with a <code>301</code>).</p>



<p class="wp-block-paragraph">• <strong>Low-Value Tag, Author, or Internal Search Pages:</strong> Add a <code>noindex, follow</code> meta robots directive (or configure your WordPress SEO plugin to noindex thin archives) so Google stops spending crawl attention on pages you never want ranked.</p>



<p class="wp-block-paragraph">• <strong>Client-Rendered JavaScript Pages:</strong> If <em>Test Live URL</em> shows a blank shell or missing body text, switch critical content routes to server-side rendering or static pre-rendering—our comparison of <a href="https://blog.aveshost.com/next-js-static-export-vs-server-hosting/">Next.js static export vs server hosting</a> explains how rendering strategy affects SEO.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1536" height="1024" src="https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-fix-checklist.webp" alt="Six fixes for Crawled Currently Not Indexed pages covering thin content, canonicals, internal links, noindex, JS rendering, and hosting speed" class="wp-image-6088" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-fix-checklist.webp 1536w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-fix-checklist-300x200.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-fix-checklist-1024x683.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/crawled-not-indexed-fix-checklist-768x512.webp 768w" sizes="(max-width: 1536px) 100vw, 1536px" /></figure>



<pre class="wp-block-code"><code>&lt;!-- 1. Self-referencing canonical on your primary URL --&gt;
&lt;link rel="canonical" href="https://example.com/your-guide/" /&gt;

&lt;!-- 2. Exclude low-value tag, filter, or internal search URLs --&gt;
&lt;meta name="robots" content="noindex, follow" /&gt;</code></pre>



<h2 id="how-server-performance-and-hosting-support-indexing" class="wp-block-heading">How Server Performance and Hosting Support Reliable Indexing</h2>



<p class="wp-block-paragraph">While <strong>Crawled—Currently Not Indexed</strong> is primarily a content and site-architecture signal, slow server response times and intermittent timeouts still hurt your crawl efficiency. When Googlebot hits slow TTFB during HTML fetches or JavaScript asset rendering, pages are more likely to be rendered partially or deprioritized.</p>



<p class="wp-block-paragraph">Running your website on fast NVMe infrastructure—whether <a href="https://www.aveshost.com/web-hosting" rel="noopener">shared web hosting</a>, <a href="https://www.aveshost.com/fully-managed-vps-hosting" rel="noopener">fully managed VPS hosting</a>, or <a href="https://www.aveshost.com/self-managed-vps-hosting" rel="noopener">self-managed VPS hosting</a> with <a href="https://www.aveshost.com/" rel="noopener">Aveshost</a>—keeps response times snappy so Googlebot fetches and renders every updated page cleanly.</p>



<pre class="wp-block-code"><code># Verify HTTP status, redirects, and X-Robots-Tag headers as Googlebot sees them
curl -IL -A "Googlebot/2.1 (+http://www.google.com/bot.html)" https://example.com/your-page/</code></pre>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-368250ceb02748939f9445d2c99e4617" class="rank-math-list-item">
<h3 class="rank-math-question ">Is Crawled—Currently Not Indexed an error I must fix for every URL?</h3>
<div class="rank-math-answer ">

<p>No. Google intentionally excludes low-priority utility URLs such as tag archives, paginated pages, or parameterized filter URLs. Focus your fixes only on money pages, blog posts, and landing pages that you actively want to rank in search.</p>

</div>
</div>
<div id="faq-question-7f698efeaebf4e60b2c24c36d621d652" class="rank-math-list-item">
<h3 class="rank-math-question ">How is Crawled—Currently Not Indexed different from Discovered—Currently Not Indexed?</h3>
<div class="rank-math-answer ">

<p>Crawled—currently not indexed means Googlebot already fetched and evaluated the page but chose not to index it due to quality, duplication, or weak internal signals. Discovered—currently not indexed means Google knows the URL exists but has not crawled it yet.</p>

</div>
</div>
<div id="faq-question-600c4f4a5626437584c9673e43b90a9d" class="rank-math-list-item">
<h3 class="rank-math-question ">Will clicking Request Indexing fix Crawled—Currently Not Indexed?</h3>
<div class="rank-math-answer ">

<p>Not by itself. Requesting indexing only puts the URL back into the crawl queue. If you have not improved the page&#8217;s content depth, internal links, or canonical tags, Googlebot will crawl it again and reach the same decision.</p>

</div>
</div>
<div id="faq-question-437e054746ae4ad3a206c49348334804" class="rank-math-list-item">
<h3 class="rank-math-question ">How long does it take for a fixed page to move from Crawled—Currently Not Indexed to Indexed?</h3>
<div class="rank-math-answer ">

<p>After you expand content, fix canonicals, and add internal links, it typically takes anywhere from a few days to several weeks for Google to recrawl and re-evaluate the page. Adding links from frequently crawled pages speeds up discovery.</p>

</div>
</div>
<div id="faq-question-0444c8b0d66d45ce80e5f298889e00ee" class="rank-math-list-item">
<h3 class="rank-math-question ">Can weak internal linking cause Crawled—Currently Not Indexed?</h3>
<div class="rank-math-answer ">

<p>Yes. If an important page is only reachable via your XML sitemap or buried deep in your navigation, it receives minimal internal link equity. Linking to it from relevant, already-indexed articles signals to Google that the page is worth indexing.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/crawled-currently-not-indexed-search-console/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress REST API Errors: How to Fix Failed Requests and Publishing Problems</title>
		<link>https://blog.aveshost.com/wordpress-rest-api-errors/</link>
					<comments>https://blog.aveshost.com/wordpress-rest-api-errors/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Fri, 20 Nov 2026 23:53:08 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[publishing errors]]></category>
		<category><![CDATA[REST API]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6078</guid>

					<description><![CDATA[Find the request behind WordPress publishing failures, identify its status and response, and fix authentication, routing, firewall or server problems safely.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">WordPress REST API errors can stop you saving a draft, updating a page or publishing a post. The right fix starts with the failed request: check its URL, status code and response body, then correct the authentication, routing, security or server problem it reveals.</p>



<p class="wp-block-paragraph">A message such as “Publishing failed. The response is not a valid JSON response” describes what the editor received. It does not identify one universal cause. In this guide, we walk you through a practical diagnosis that protects your content and keeps your site’s access controls in place.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#protect-content">1. Protect your content and identify the failed action</a></div><div><a href="#inspect-request">2. Read the failed request in your browser</a></div><div><a href="#status-codes">3. Match WordPress REST API errors to the response</a></div><div><a href="#authentication">4. Fix expired sessions, nonces and permissions</a></div><div><a href="#routing-https">5. Check REST routes, permalinks and HTTPS</a></div><div><a href="#security-cache">6. Resolve firewall, cache and plugin interference</a></div><div><a href="#server-health">7. Investigate server failures and Site Health warnings</a></div><div><a href="#verify-recovery">8. Verify saving and publishing before closing the issue</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="protect-content" class="wp-block-heading">1. Protect your content and identify the failed action</h2>



<p class="wp-block-paragraph">Before refreshing the editor, copy unsaved content somewhere safe. Use the editor’s Copy all blocks option where available, and keep a separate copy of important text. An autosave notification is not proof that your latest failed update reached the database.</p>



<p class="wp-block-paragraph">Record the action that fails: saving a draft, publishing, changing a featured image or uploading media. Note whether it affects every post, one particular page or one user account. A request that fails only with a large upload needs a different investigation from every editor request being blocked.</p>



<p class="wp-block-paragraph">The block editor uses REST requests to exchange structured data with WordPress. For example, core posts use routes under <code>/wp-json/wp/v2/posts</code>; existing posts include their ID. Pages, media and plugin features use other routes. The official <a href="https://developer.wordpress.org/rest-api/reference/posts/" rel="noopener">posts API reference</a> explains the supported operations. Inspect the route your editor actually uses.</p>



<h2 id="inspect-request" class="wp-block-heading">2. Read the failed request in your browser</h2>



<p class="wp-block-paragraph">Open your browser’s developer tools and select <strong>Network</strong>. Choose Fetch/XHR if available, clear the previous entries, and repeat the failed action once. Search for <code>wp-json</code> or <code>rest_route</code>. Select the request associated with the error, rather than an unrelated analytics request.</p>



<p class="wp-block-paragraph">In Headers, record the request URL, HTTP method, status and response Content-Type. In Response, inspect the returned body. A WordPress error commonly includes a machine-readable <code>code</code>, a <code>message</code> and status data. An HTML login screen, firewall challenge or PHP warning points to a different failure.</p>



<p class="wp-block-paragraph">Check redirects and the final destination too. A response marked 200 can still contain HTML instead of the JSON the editor expects. If no request was sent, inspect the Console for a JavaScript error or blocked resource before changing server settings.</p>



<p class="wp-block-paragraph">For a basic read-only check, open your installation’s REST root, often <code>https://example.com/wp-json/</code>. JSON at that address confirms that this public request reached the API. It does not prove that logged-in saves, uploads or publishing work. Sites with deliberate API access restrictions also need their intended policy considered.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request.webp" alt="Diagnosing WordPress REST API errors by reading the request URL, response status and body before choosing a fix" class="wp-image-6080" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-failed-request-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="status-codes" class="wp-block-heading">3. Match WordPress REST API errors to the response</h2>



<p class="wp-block-paragraph">Use the status as a starting point and the response body to choose the next check. A firewall can return the same status as WordPress itself. The <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Reference/Status" rel="noopener">HTTP status reference</a> explains the underlying meanings.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Response</th><th>Next check</th></tr></thead><tbody><tr><td>400: bad request</td><td>Read the JSON error for an invalid parameter, missing field or malformed payload.</td></tr><tr><td>401 or 403</td><td>Check login, nonce and user permissions; inspect security logs if the response is a block page.</td></tr><tr><td>404</td><td>Separate an unknown route or missing post from a server rewrite failure. Check the exact URL and method.</td></tr><tr><td>413</td><td>Check request-size limits at the web server, proxy and application layers.</td></tr><tr><td>429</td><td>Check the rate limit and Retry-After header where supplied; reduce repeated requests.</td></tr><tr><td>500, 502, 503 or 504</td><td>Correlate PHP, web-server and proxy logs with the failed request.</td></tr><tr><td>200 with HTML or broken JSON</td><td>Inspect redirects, login/challenge pages and unexpected PHP output.</td></tr></tbody></table></figure>



<h2 id="authentication" class="wp-block-heading">4. Fix expired sessions, nonces and permissions</h2>



<p class="wp-block-paragraph">For a normal dashboard editing session, WordPress uses login cookies and a REST nonce. The nonce helps protect requests against cross-site request forgery; it does not grant editing privileges. WordPress documents this in its <a href="https://developer.wordpress.org/rest-api/using-the-rest-api/authentication/" rel="noopener">REST authentication guide</a>.</p>



<p class="wp-block-paragraph">After protecting your draft, sign in through a fresh tab on the same site and reopen the editor. Retest a small draft save. If the response identifies an invalid nonce, a fresh editor session obtains fresh request data. Repeated failures after signing in require further checks; repeated reloading alone does not repair a configuration problem.</p>



<p class="wp-block-paragraph">Confirm that the affected user can edit that post and publish that post type. Custom roles, ownership rules and plugin permissions can differ from administrator access. Fix the required capability through your site’s role configuration instead of granting every writer administrator privileges.</p>



<p class="wp-block-paragraph">If only an external integration fails, check its authentication separately. Use an application password over HTTPS with an appropriately limited WordPress user where that method fits the integration. Application passwords inherit the user’s permissions; they are not individually permission-scoped tokens. Keep credentials on the server, revoke unused ones, and ask the host to check whether the Authorization header reaches PHP.</p>



<h2 id="routing-https" class="wp-block-heading">5. Check REST routes, permalinks and HTTPS</h2>



<p class="wp-block-paragraph">For a REST-root 404, compare the pretty-permalink URL with the query-string form at your actual WordPress installation base, such as <code>https://example.com/?rest_route=/</code>. If the query form returns the API index while <code>/wp-json/</code> returns a server 404, investigate rewrite routing. WordPress explains these URL forms in its <a href="https://developer.wordpress.org/rest-api/using-the-rest-api/discovery/" rel="noopener">API discovery documentation</a>.</p>



<p class="wp-block-paragraph">With a backup available, open <strong>Settings → Permalinks</strong> and save the existing structure once. Keep the structure unchanged. On Apache, check the applicable WordPress rewrite rules and whether configuration permits them. Nginx uses its server configuration rather than .htaccess. Ask your administrator to review the installed configuration before replacing rules.</p>



<p class="wp-block-paragraph">A JSON error such as <code>rest_no_route</code> means WordPress received the request but found no matching route for that URL and method. Check the plugin that registers the route, the correct API namespace and the request method. A missing post ID is another separate 404 condition.</p>



<p class="wp-block-paragraph">Check for HTTP-to-HTTPS, www-to-non-www or login redirects in the failed request. Review WordPress Address and Site Address against your actual installation, including subdirectories. These fields can legitimately differ. Correct a confirmed mismatch with backup and recovery access available; do not make them identical blindly. Behind a reverse proxy, the administrator must also verify HTTPS detection and forwarding.</p>



<h2 id="security-cache" class="wp-block-heading">6. Resolve firewall, cache and plugin interference</h2>



<p class="wp-block-paragraph">If the body contains a security challenge or access-denied page, correlate its request ID and time with your CDN, security-plugin or web-application-firewall logs. A legitimate editing request can trigger a rule because of its content or method. Have the responsible administrator adjust the specific rule or exception after reviewing the request.</p>



<p class="wp-block-paragraph">Keep authentication and permission checks intact. Do not make every REST route public or disable the firewall permanently to restore publishing. <a href="https://developer.wordpress.org/rest-api/frequently-asked-questions/" rel="noopener">WordPress advises against disabling the REST API</a> because administration features depend on it.</p>



<p class="wp-block-paragraph">Review caching rules for logged-in administration, authenticated REST responses and write requests. Shared caches must not serve private responses to other visitors. After correcting a rule, purge the affected cached content and start a fresh editor session. Clearing caches without fixing the rule leaves the underlying problem in place.</p>



<p class="wp-block-paragraph">For suspected plugin or theme conflicts, use a staging copy with a restorable backup. Test the relevant security, caching or editor extension first, changing one component at a time. If needed, follow the official <a href="https://learn.wordpress.org/lesson/troubleshooting-your-site-plugin-and-theme-conflicts/" rel="noopener">plugin and theme conflict workflow</a>. Keep staging emails and payments isolated from live customers. Update or replace the confirmed faulty component before applying the tested fix to production.</p>



<h2 id="server-health" class="wp-block-heading">7. Investigate server failures and Site Health warnings</h2>



<p class="wp-block-paragraph">For a 5xx response, locate the matching request in PHP and web-server error logs. Check the first relevant error: a fatal plugin exception, exhausted memory, unavailable upstream or timeout. A proxy timeout identifies a waiting limit; increasing it without investigating the slow operation can leave the real fault unresolved.</p>



<p class="wp-block-paragraph">Use <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/" rel="noopener">WordPress debugging guidance</a> to collect errors privately. Keep error display off on public responses and restrict access to logs. PHP warnings printed before JSON can break the response even when the underlying request partly succeeds. Fix their source rather than only hiding the symptom. For fatal errors, follow our <a href="https://blog.aveshost.com/fix-wordpress-critical-error/">WordPress critical error recovery guide</a>.</p>



<p class="wp-block-paragraph">Open <strong>Tools → Site Health → Status</strong> and expand the REST API result. Copy its exact error. The <a href="https://wordpress.org/documentation/article/site-health-screen/" rel="noopener">Site Health screen</a> also provides configuration information for support. A loopback test concerns WordPress connecting back to its own site; it is distinct from your browser’s REST request. DNS, TLS, staging authentication or server access rules can affect those paths differently.</p>



<h2 id="verify-recovery" class="wp-block-heading">8. Verify saving and publishing before closing the issue</h2>



<p class="wp-block-paragraph">Start with a test draft that does not trigger customer-facing automations. Make a small change, save, reopen it and confirm the content persisted. Then test preview and a small media upload if those actions were affected. Verify publishing through your normal review process on an approved test item or staging site.</p>



<p class="wp-block-paragraph">Watch the relevant Network request while testing. Confirm the expected response and content as well as the editor’s success message. Recheck the original failing action, affected user role and Site Health result. A successful administrator draft save does not prove that a restricted writer can publish.</p>



<p class="wp-block-paragraph">If you need our help, <a href="https://www.aveshost.com/support" rel="noopener">contact Aveshost support</a> with the URL, action, request time and timezone, status, sanitized error body and relevant request ID. Include recent plugin or configuration changes. Remove cookies, nonces, Authorization headers and customer data from screenshots or network exports. This gives us useful evidence without exposing access to your site.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery.webp" alt="Four steps to restore WordPress publishing: protect content, fix the cause, save a draft and verify the workflow" class="wp-image-6081" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/rest-api-recovery-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-487d0990147c492183e7221b624a2d82" class="rank-math-list-item">
<h3 class="rank-math-question ">Why does WordPress say the response is not a valid JSON response?</h3>
<div class="rank-math-answer ">

<p>The editor could not read the response as the JSON it expected. Inspect the failed request: redirects, HTML login or firewall pages, unexpected PHP output and malformed responses need different fixes. The message alone does not establish the cause.</p>

</div>
</div>
<div id="faq-question-771b3aee2fc748b5823df45dffa412b8" class="rank-math-list-item">
<h3 class="rank-math-question ">Does a working /wp-json/ page mean the REST API is fully working?</h3>
<div class="rank-math-answer ">

<p>No. It verifies that particular public request. Saving a draft, editing protected content and uploading media use their own routes, methods and permissions. Test the action and user account that originally failed.</p>

</div>
</div>
<div id="faq-question-a949bc6e650b479090f7a62d43f5448c" class="rank-math-list-item">
<h3 class="rank-math-question ">Will saving permalinks fix every WordPress REST API error?</h3>
<div class="rank-math-answer ">

<p>No. Resaving the existing structure can help with rewrite routing, especially when the query-string API root works but the pretty URL returns a server 404. It does not repair expired sessions, blocked requests, plugin exceptions or missing permissions.</p>

</div>
</div>
<div id="faq-question-518f8f569d66473698ee488c08fd3437" class="rank-math-list-item">
<h3 class="rank-math-question ">Should I disable the REST API or security plugin to fix publishing?</h3>
<div class="rank-math-answer ">

<p>Keep the REST API available for required administration features. Use logs and controlled staging tests to identify the responsible restriction or plugin, then correct that specific issue. Preserve authentication, permission checks and appropriate firewall protection.</p>

</div>
</div>
<div id="faq-question-4f4e980823f140ac862784d895aa97b7" class="rank-math-list-item">
<h3 class="rank-math-question ">Is a CORS error the same as a WordPress login error?</h3>
<div class="rank-math-answer ">

<p>No. CORS concerns browser requests across origins; a login or permission failure concerns authentication and authorization. Check the actual request URL, browser message and response. Correct unintended cross-origin URLs first, and configure deliberate integrations for their approved origin and authentication method.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/wordpress-rest-api-errors/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to Fix “There Has Been a Critical Error on This Website” in WordPress</title>
		<link>https://blog.aveshost.com/fix-wordpress-critical-error/</link>
					<comments>https://blog.aveshost.com/fix-wordpress-critical-error/#respond</comments>
		
		<dc:creator><![CDATA[James Wilson]]></dc:creator>
		<pubDate>Fri, 20 Nov 2026 22:01:28 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[critical error]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Recovery Mode]]></category>
		<category><![CDATA[WordPress troubleshooting]]></category>
		<guid isPermaLink="false">https://blog.aveshost.com/?p=6053</guid>

					<description><![CDATA[Find the cause behind WordPress's critical error message, recover dashboard access, and fix faulty plugins, themes or PHP settings without risking recent site data.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph"><strong>“There has been a critical error on this website” usually means a fatal PHP error stopped WordPress from completing the request.</strong> The message is a starting point, not a diagnosis. To fix the WordPress critical error, protect your data, read the recovery email or error log, and isolate the component responsible.</p>



<p class="wp-block-paragraph">We recommend changing one thing at a time. Start with Recovery Mode if its email arrived; use your hosting logs and File Manager or SFTP if the dashboard is unavailable. This guide covers both routes and explains how to confirm the public site is working again.</p>



<div class="wp-block-rank-math-toc-block" id="rank-math-toc"><h2>Table of Contents</h2><nav><div><div><a href="#protect-data">1. Protect your data and record what changed</a></div><div><a href="#use-recovery-mode">2. Use the WordPress Recovery Mode email</a></div><div><a href="#read-fatal-error">3. Find the fatal error without displaying it publicly</a></div><div><a href="#isolate-plugin">4. Isolate a plugin without deleting its data</a></div><div><a href="#theme-and-code">5. Check the theme and recent code edits</a></div><div><a href="#php-and-resources">6. Check PHP compatibility and resource limits</a></div><div><a href="#repair-or-restore">7. Repair incomplete files or restore selectively</a></div><div><a href="#verify-and-prevent">8. Verify the repair and prevent a repeat</a></div><div><a href="#faq">Frequently asked questions</a></div></div></nav></div>



<h2 id="protect-data" class="wp-block-heading">1. Protect your data and record what changed</h2>



<p class="wp-block-paragraph">Write down the failing URL, the action that triggers the error and when it began. Does it affect the homepage, wp-admin, checkout, or only one editor screen? Note any recent plugin update, theme edit, PHP change or deployment. A working cached homepage does not prove dynamic pages are healthy.</p>



<p class="wp-block-paragraph">Before modifying files, take a current copy of the files and database through your hosting tools, and locate a known working backup. WordPress&#8217;s <a href="https://developer.wordpress.org/advanced-administration/security/backup/" rel="noopener">backup guidance</a> explains why both parts matter. A copy of the broken site still preserves recent orders, uploads and evidence that an older backup lacks.</p>



<p class="wp-block-paragraph">For a live store or membership site, coordinate downtime and stop new transactions before disruptive recovery work. Restoring an older database can remove newer orders, bookings or account changes. Choose the smallest repair that fits the evidence, and test it on staging whenever possible. Do not delete wp-content, reset the database or reinstall the entire site as the first step.</p>



<h2 id="use-recovery-mode" class="wp-block-heading">2. Use the WordPress Recovery Mode email</h2>



<p class="wp-block-paragraph">Check the site&#8217;s administration mailbox, including spam, for WordPress&#8217;s technical-issue notification. Read the error details, then use its recovery link and sign in with an authorised administrator account. Confirm that the link belongs to your own site&#8217;s domain and keep the token private.</p>



<p class="wp-block-paragraph">The dashboard notice may identify a failed plugin or theme. Record the component and error before deactivating it or applying a verified fix. If the failure followed a custom code edit, restore the earlier working file or have the developer correct that change.</p>



<p class="wp-block-paragraph"><a href="https://wordpress.org/documentation/article/recovery-mode/" rel="noopener">Recovery Mode</a> pauses faulty components for your recovery session. That is not the same as fixing them for everyone: visitors may still encounter the error until you deactivate or repair the cause. Afterward, exit Recovery Mode and test in a separate logged-out browser session.</p>



<p class="wp-block-paragraph">No email? Continue with hosting logs and file access. An early fatal error can prevent a mail-routing plugin from loading, so even a previously working email setup does not guarantee the recovery message will arrive. Do not wait indefinitely for the email before investigating.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow.webp" alt="WordPress critical error recovery workflow from protecting files and database to reading errors, isolating the cause and verifying the public site" class="wp-image-6055" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-critical-error-recovery-flow-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="read-fatal-error" class="wp-block-heading">3. Find the fatal error without displaying it publicly</h2>



<p class="wp-block-paragraph">First check the domain&#8217;s PHP or web-server error log in your hosting control panel. Reproduce the failing page once and match the newest relevant entry by timestamp. Look for the fatal error or uncaught exception, file path, line number and stack trace. A deprecation notice alone is not necessarily the error that stopped the request.</p>



<p class="wp-block-paragraph">If you need WordPress logging, download a backup of wp-config.php before editing it. Update existing debug definitions rather than adding duplicates, and place them before the line that loads wp-settings.php. The example below requires a host-confirmed, writable absolute path outside the public web directory; replace ACCOUNT and the path before use.</p>



<pre class="wp-block-code"><code>define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', '/home/ACCOUNT/private/wp-errors.log' );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );</code></pre>



<p class="wp-block-paragraph">Keep the fatal-error handler enabled. <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/" rel="noopener">WordPress debugging documentation</a> supports a custom log path; using true instead normally writes wp-content/debug.log. Such logs can expose paths and personal data if publicly accessible. If you cannot arrange private logging, ask your host for the server error entry instead.</p>



<p class="wp-block-paragraph">Reproduce once, collect the relevant entry, then turn temporary debugging off and handle the log securely. If no entry appears, confirm the log path and permissions with support; a failure before WordPress initialises may appear only in the server log. Avoid repeatedly editing configuration to force output onto the public page.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="1672" height="941" src="https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map.webp" alt="WordPress critical error diagnostic map matching plugin, theme, memory and missing function clues to focused checks" class="wp-image-6056" srcset="https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map.webp 1672w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map-300x169.webp 300w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map-1024x576.webp 1024w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map-768x432.webp 768w, https://blog.aveshost.com/wp-content/uploads/2026/11/wordpress-fatal-error-diagnostic-map-1536x864.webp 1536w" sizes="(max-width: 1672px) 100vw, 1672px" /></figure>



<h2 id="isolate-plugin" class="wp-block-heading">4. Isolate a plugin without deleting its data</h2>



<p class="wp-block-paragraph">A path under wp-content/plugins/plugin-slug/ points to the plugin involved in the failure, although another component or missing dependency may have triggered it. If you can access Plugins, deactivate the named plugin and repeat the failing request. Review its compatibility requirements and support notes before updating or replacing it.</p>



<p class="wp-block-paragraph">When wp-admin is blocked, use your hosting File Manager or SFTP to locate that plugin&#8217;s folder in the correct WordPress installation. Rename only that folder, for example from plugin-slug to plugin-slug.disabled. Do not delete it or rename wp-content. Retest the failing page; visit the Plugins screen once access returns so WordPress can recognise the missing component.</p>



<p class="wp-block-paragraph">If the evidence does not identify one plugin, a broader test can temporarily rename wp-content/plugins to plugins.hold. Follow WordPress&#8217;s <a href="https://wordpress.org/documentation/article/faq-troubleshooting/" rel="noopener">plugin deactivation procedure</a>: open wp-admin/plugins.php while the folder is renamed, then restore the original folder name. Reactivate deliberately, one at a time, testing after each change. This can interrupt checkout, forms and other features, so use staging or a coordinated maintenance window.</p>



<p class="wp-block-paragraph">Ordinary plugin-folder isolation does not cover <a href="https://developer.wordpress.org/advanced-administration/plugins/mu-plugins/" rel="noopener">must-use plugins</a>, which load separately, or drop-ins such as object-cache.php. If the same fatal error remains, give the new log entry to your host or developer rather than disabling unfamiliar infrastructure files.</p>



<h2 id="theme-and-code" class="wp-block-heading">5. Check the theme and recent code edits</h2>



<p class="wp-block-paragraph">If the log identifies your theme or functions.php, compare the failure with recent edits. Restore the last working version of the specific changed file from a trusted copy. Syntax errors can come from a missing bracket, quote or semicolon; patching an unrelated line because it appears in the trace can introduce another problem.</p>



<p class="wp-block-paragraph">With dashboard access, test an installed, current default WordPress theme under <strong>Appearance → Themes</strong>, preferably on staging. Record the original theme and preserve both parent and child theme files. A temporary theme switch can alter layout and theme-dependent functionality, even if the content remains in the database.</p>



<p class="wp-block-paragraph">If the dashboard is inaccessible, ask your developer or host to activate a known installed fallback theme through supported recovery tools. Renaming a theme folder without checking that a usable fallback exists can leave the site broken. A snippet stored by a snippets plugin may also need that plugin&#8217;s documented safe-mode procedure; it is not necessarily stored in functions.php.</p>



<h2 id="php-and-resources" class="wp-block-heading">6. Check PHP compatibility and resource limits</h2>



<p class="wp-block-paragraph">If the error began immediately after changing PHP, compare the active domain&#8217;s version and extensions with the requirements of WordPress, its theme and the affected plugins. An undefined function can indicate a missing extension, removed API or code that loaded in the wrong order. A missing class can also indicate an incomplete installation or dependency problem.</p>



<p class="wp-block-paragraph">Use our <a href="https://blog.aveshost.com/change-php-version-directadmin-wordpress/">guide to changing PHP versions in DirectAdmin</a> when that is your control panel. Reverting to the previous supported, working version can be a temporary recovery step while incompatible code is updated. Check <a href="https://www.php.net/supported-versions.php" rel="noopener">PHP&#8217;s supported branches</a>; an obsolete version is not a durable fix.</p>



<p class="wp-block-paragraph">For an Allowed memory size exhausted error, identify which operation consumes memory and check the effective web PHP memory limit. PHP&#8217;s <a href="https://www.php.net/manual/en/ini.core.php" rel="noopener">configuration reference</a> explains memory_limit. Your host&#8217;s limits still apply: a WordPress constant cannot create additional server capacity or cure a loop in faulty code.</p>



<p class="wp-block-paragraph">Ask support to check memory pressure, disk space, file permissions and PHP-worker errors when the logs point there. Do not make files world-writable or remove limits across the account. Change the relevant setting only, record its original value, and retest the request that failed.</p>



<figure class="wp-block-table"><table class="has-fixed-layout"><thead><tr><th>Log clue</th><th>Useful next check</th></tr></thead><tbody><tr><td>Parse or syntax error</td><td>Recent file edit and exact reported location</td></tr><tr><td>Allowed memory size exhausted</td><td>Memory usage, effective limit and responsible operation</td></tr><tr><td>Undefined function or missing class</td><td>PHP compatibility, extensions, dependencies and complete files</td></tr><tr><td>Failed opening required file</td><td>File existence, installation path and permissions</td></tr></tbody></table></figure>



<h2 id="repair-or-restore" class="wp-block-heading">7. Repair incomplete files or restore selectively</h2>



<p class="wp-block-paragraph">An interrupted update can leave mixed or missing files. Reinstall the affected plugin or theme from its trusted original source, preserving any customisations and checking the vendor&#8217;s recovery instructions. Some updates also change database structures, so swapping in older files is not always a complete rollback.</p>



<p class="wp-block-paragraph">If core files are implicated, an administrator with SSH can use <a href="https://developer.wordpress.org/cli/commands/core/verify-checksums/" rel="noopener">wp core verify-checksums</a> to compare WordPress core against official checksums. That check does not validate every plugin, upload or database record, and a trace mentioning wp-includes does not by itself prove that core is faulty.</p>



<p class="wp-block-paragraph">For a wider restore, confirm the backup&#8217;s contents and recovery point first. Test a matching file-and-database set on staging, then plan how to preserve newer production data before restoring live. Keep the current copy until the recovery is verified. Unexpected modified files or unknown administrator accounts need a security investigation alongside availability recovery.</p>



<h2 id="verify-and-prevent" class="wp-block-heading">8. Verify the repair and prevent a repeat</h2>



<p class="wp-block-paragraph">Exit Recovery Mode, then test the homepage and the original failing URL while logged out. Check administrator login, editing and saving, forms and any important customer journey. For a store, use sandbox checkout with a controlled inbox to check payment updates and notifications without creating real charges.</p>



<p class="wp-block-paragraph">Review the logs for fresh fatal errors after testing. Clear relevant page or CDN caches once the underlying repair is in place, and confirm that removed functionality has a working replacement. Restore temporary folder names carefully, leave the faulty component inactive until repaired, and disable temporary debugging.</p>



<p class="wp-block-paragraph">Record the cause, version change and successful checks. Follow our <a href="https://blog.aveshost.com/safely-update-wordpress/">safe WordPress update workflow</a> for future changes, with a tested backup and staging review. Keep the administration email reachable and check backups before the next update.</p>



<p class="wp-block-paragraph">If you need help, contact <a href="https://www.aveshost.com/support" rel="noopener">Aveshost support</a> with the affected domain, failing URL, timestamp, recent changes and a redacted fatal-error entry. Explain what you already tested. Share credentials only through the approved support process, and keep recovery tokens and full debug logs out of public forums.</p>



<h2 id="faq" class="wp-block-heading">Frequently asked questions</h2>


<div id="rank-math-faq" class="rank-math-block">
<div class="rank-math-list ">
<div id="faq-question-632403fd71cb4fd7956ea389a3eceb84" class="rank-math-list-item">
<h3 class="rank-math-question ">Does a WordPress critical error mean my site was hacked?</h3>
<div class="rank-math-answer ">

<p>No. Faulty code, an incompatible update, missing files or exhausted memory can cause it. Investigate unexpected file changes, unknown users or other compromise indicators, but the generic error message alone does not identify an attack.</p>

</div>
</div>
<div id="faq-question-1f2a27351ec3447e90cdffddc232bf4e" class="rank-math-list-item">
<h3 class="rank-math-question ">What if I never receive the Recovery Mode email?</h3>
<div class="rank-math-answer ">

<p>Check the administration mailbox and spam, then use your hosting PHP error log and File Manager or SFTP. The failure may occur before the email integration loads. Your host can help locate the fatal error without waiting for an email.</p>

</div>
</div>
<div id="faq-question-7a2115020d2746e68b46476bcc88a245" class="rank-math-list-item">
<h3 class="rank-math-question ">Will clearing the cache fix the critical error?</h3>
<div class="rank-math-answer ">

<p>It does not repair the PHP code or resource problem behind a fatal error. A cache can serve an older working page or retain an error response, so check the original dynamic request and clear relevant caches after fixing the cause.</p>

</div>
</div>
<div id="faq-question-f899839965fb482091c7b95b9f7ca685" class="rank-math-list-item">
<h3 class="rank-math-question ">Will renaming a plugin folder delete its settings?</h3>
<div class="rank-math-answer ">

<p>Renaming the folder prevents normal loading; it is different from deleting or uninstalling the plugin. Keep the original files and a database backup, let WordPress register the deactivation, then restore the original folder name before a controlled repair and reactivation.</p>

</div>
</div>
<div id="faq-question-5342de60c42a4a1d81c269dc599922ed" class="rank-math-list-item">
<h3 class="rank-math-question ">Should I immediately restore yesterday&#x27;s backup?</h3>
<div class="rank-math-answer ">

<p>First compare the recovery point with newer orders, bookings, uploads and accounts. A targeted file repair may preserve more current data. If a full restore is necessary, preserve the current state and plan the database recovery with your host or developer.</p>

</div>
</div>
</div>
</div>]]></content:encoded>
					
					<wfw:commentRss>https://blog.aveshost.com/fix-wordpress-critical-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
