<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DASTER blog: hosting, databases and AI coding tools</title>
    <link>https://daster.io/blog/</link>
    <description>Practical guides from the DASTER team: deploy apps from GitHub, connect AI coding tools with MCP, and run databases, email and WordPress on DASTER.</description>
    <language>en</language>
    <atom:link href="https://daster.io/blog/rss.xml" rel="self" type="application/rss+xml" />
    <lastBuildDate>Tue, 01 Dec 2026 00:00:00 GMT</lastBuildDate>
    <item>
      <title>How to host a WordPress site or WooCommerce store</title>
      <link>https://daster.io/blog/host-wordpress-site/</link>
      <guid isPermaLink="true">https://daster.io/blog/host-wordpress-site/</guid>
      <pubDate>Tue, 01 Dec 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>WordPress</category>
      <category>WooCommerce</category>
      <category>Hosting</category>
      <category>Backups</category>
      <description>Create a managed WordPress site or WooCommerce store on DASTER, save the admin password, add plugins and take backups. What works today and what comes later.</description>
      <content:encoded><![CDATA[<p>To host a WordPress site on DASTER, create a project of type <strong>WordPress</strong>, choose <strong>New site</strong>, pick a plan and choose <strong>WordPress</strong> or <strong>WooCommerce store</strong>. The site is usually ready in 20 to 40 seconds at <code>https://&lt;site id&gt;.apps.daster.io</code>. Copy the admin password when it appears, because DASTER shows it only once.</p>
<p>DASTER runs the site for you: the server, PHP, the database and <code>wp-config.php</code>. You do not need a WordPress hosting account somewhere else. This post walks through creating a site, signing in, adding plugins and taking backups, and lists what is not open yet so you can decide if it fits your site today.</p>
<h2 id="what-does-a-wordpress-site-on-daster-include" class="docs-h">What does a WordPress site on DASTER include?</h2>
<p>Each site is a real WordPress install with its own database. Sites run in Mumbai (<code>ap-south-1</code>), and the files, the database and the backups stay in that region.</p>
<ul><li>WordPress 7.1.5 on PHP 8.3, the only versions offered today.</li><li>Its own MySQL-compatible database, created with the site. DASTER writes <code>wp-config.php</code>, so you never handle the database password.</li><li>An HTTPS address of the form <code>https://&lt;site id&gt;.apps.daster.io</code>.</li><li>Plugins and themes from DASTER's verified catalog, installed from WordPress.org and checked against WordPress.org's checksums.</li><li>WooCommerce, if you pick <strong>WooCommerce store</strong>.</li><li>Backups you take with <strong>Back up now</strong> and can restore later.</li></ul>
<p>WordPress installs its own minor security releases. The theme and plugin code editor in wp-admin is turned off.</p>
<p>Every site gets the same resources:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Limit, Value"><table><thead><tr><th scope="col">Limit</th><th scope="col">Value</th></tr></thead><tbody><tr><td>Memory</td><td>384 MiB</td></tr><tr><td>CPU</td><td>1 vCPU</td></tr><tr><td>PHP requests at the same time</td><td>6</td></tr><tr><td>PHP memory per request</td><td>128 MB (256 MB for admin pages)</td></tr><tr><td>PHP execution time</td><td>60 seconds</td></tr><tr><td>Largest upload</td><td>32 MB</td></tr></tbody></table></div>
<p>A site can reach the internet on ports 80 and 443 only. That is enough for plugin installs and updates.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="create-a-wordpress-project" class="docs-h">Create a WordPress project</h2><p>Open the organization menu, choose <strong>New project</strong> and pick <strong>WordPress</strong>. Enter a project name, such as <code>northwind-news</code>, keep the Mumbai region and choose <strong>Create project</strong>. The type is fixed once the project exists, so a WordPress project stays a WordPress project. See <a href="https://daster.io/docs/getting-started/create-a-project/">Create a project</a> for the other types.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="pick-a-plan-and-create-the-site" class="docs-h">Pick a plan and create the site</h2><p>A site needs a WordPress plan for its project. The plan covers every site in the project and is paid up front from the cash balance of your organization's wallet, so <a href="https://daster.io/docs/billing/wallet-and-top-up/">top up the wallet</a> first. Only organization Owners and Admins can start a plan, which means the first site of a project must be created by one of them.</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Plan, Websites"><table><thead><tr><th scope="col">Plan</th><th scope="col">Websites</th></tr></thead><tbody><tr><td>Starter</td><td>1</td></tr><tr><td>Pro</td><td>3</td></tr><tr><td>Business</td><td>10</td></tr><tr><td>WooCommerce</td><td>3</td></tr></tbody></table></div>
<p>Plans and prices are not final. The <strong>Plans &amp; pricing</strong> tab under WordPress shows the prices in force for your project. Then:</p>
<ol><li>Open the project and choose <strong>WordPress</strong> in the sidebar.</li><li>Choose <strong>New site</strong>.</li><li>Under <strong>Plan</strong>, pick a plan and choose <strong>Monthly</strong> or <strong>Annual</strong> billing. This card only shows while the project has no plan.</li><li>Under <strong>What to install</strong>, choose <strong>WordPress</strong> or <strong>WooCommerce store</strong>.</li><li>Enter the <strong>Site title</strong>, then check the <strong>Site address name</strong> filled in from it. It uses lowercase letters, digits and hyphens and must be unique in the project.</li><li>Open <strong>Advanced settings</strong> if you want another admin username (the default is <code>wpmanager</code>) or admin email.</li><li>Choose <strong>Create site</strong>.</li></ol>
<p>DASTER charges the plan when the site is ready. If creation fails, nothing is charged.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="save-the-admin-password-and-sign-in" class="docs-h">Save the admin password and sign in</h2><p>The site's page opens with a card titled <strong>WordPress admin password — shown once</strong>. Copy the password into your password manager and choose <strong>I’ve saved it</strong>. DASTER does not show it again.</p>
<p>Sites cannot send email yet, so the "Lost your password?" link in WordPress does not deliver a reset email. Keep that password safe.</p>
<p>Choose <strong>WordPress admin</strong> on the site's page. It opens <code>https://&lt;site id&gt;.apps.daster.io/wp-admin/</code>, where you sign in with the admin username and the saved password. <strong>Visit site</strong> opens the public site.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="add-plugins-and-themes" class="docs-h">Add plugins and themes</h2><p>Open the <strong>Plugins &amp; themes</strong> tab. It installs from DASTER's verified catalog only, and every file is checked against the checksums WordPress.org publishes. Before DASTER updates a plugin or theme, it takes a backup of the site by itself, so a bad update can be rolled back from the <strong>Backups</strong> tab.</p>
<p>For a store, the <strong>WooCommerce</strong> tab sits next to it.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="take-a-backup-before-big-changes" class="docs-h">Take a backup before big changes</h2><p>Open the <strong>Backups</strong> tab and choose <strong>Back up now</strong>. The backup holds the database and the <code>wp-content</code> folder (themes, plugins and uploads). DASTER encrypts it, stores it in the region and reads it back to check it before marking it <strong>Verified</strong>. The site keeps serving visitors while the backup runs.</p>
<p>To restore, choose <strong>Restore</strong> next to a verified backup and type the site's address name to confirm. DASTER restores into a new copy of the site, checks that it answers, then switches to it. The site keeps answering during the restore.</p>
<p>Scheduled backups are not running yet, so take one by hand before you change themes, add a large plugin or edit many pages. A backup can hold up to 34 MiB, the database dump plus the compressed <code>wp-content</code>. A larger site is refused with <code>backup_too_large</code>.</p></div></li></ol>
<h2 id="can-i-create-a-site-with-the-api" class="docs-h">Can I create a site with the API?</h2>
<p>Yes. The same steps work with one request:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">HTTP</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy HTTP code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="HTTP code"><code><span class="tk-k">POST</span> /v1/projects/{projectId}/wordpress/sites?organizationId={organizationId}
<span class="tk-p">Content-Type</span>: application/json
<span class="tk-p">X-Daster-Csrf</span>: &lt;csrf&gt;
<span class="tk-p">Idempotency-Key</span>: wp-site-northwind-news

{
  <span class="tk-p">"slug"</span>: <span class="tk-s">"northwind-news"</span>,
  <span class="tk-p">"title"</span>: <span class="tk-s">"Northwind News"</span>,
  <span class="tk-p">"adminEmail"</span>: <span class="tk-s">"you@example.com"</span>,
  <span class="tk-p">"phpVersion"</span>: <span class="tk-s">"8.3"</span>,
  <span class="tk-p">"enableWooCommerce"</span>: false,
  <span class="tk-p">"plan"</span>: { <span class="tk-p">"plan"</span>: <span class="tk-s">"starter"</span>, <span class="tk-p">"interval"</span>: <span class="tk-s">"month"</span> }
}</code></pre></div>
<p><code>plan</code> is <code>starter</code>, <code>pro</code>, <code>business</code> or <code>woo</code>, and <code>interval</code> is <code>month</code> or <code>year</code>. Leave <code>plan</code> out once the project has one. The first answer holds the admin password in <code>initialCredentials</code>; a repeat with the same <code>Idempotency-Key</code> returns the site with an empty password.</p>
<h2 id="what-is-not-available-yet" class="docs-h">What is not available yet?</h2>
<p>The Dashboard already shows some of these, but they are refused today:</p>
<ul><li><strong>Your own domain on a site.</strong> The site answers at its <code>apps.daster.io</code> address only.</li><li><strong>Email from WordPress.</strong> Password resets, contact forms and WooCommerce order emails are not sent.</li><li><strong>Staging copies</strong> and promoting staging to the live site.</li><li><strong>Scheduled backups.</strong> Use <strong>Back up now</strong>.</li><li><strong>Import existing site</strong>, which moves a site from another host.</li><li><strong>Choosing a WordPress version.</strong> Core follows the version DASTER runs.</li><li><strong>Visit and bandwidth figures.</strong></li></ul>
<p>That makes DASTER a good fit today for a new site you are building, a test copy of a store or a team's internal site. If your live site needs its own domain and order emails on day one, wait for those to open.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-wordpress-on-daster" class="docs-h">Questions about hosting WordPress on DASTER</h2>
<h3 id="is-this-managed-wordpress-hosting" class="docs-h">Is this managed WordPress hosting?</h3>
<p>Yes. DASTER runs the server, PHP, the database and minor WordPress security releases. You work in wp-admin and on the site's page in the Dashboard.</p>
<h3 id="can-i-run-woocommerce" class="docs-h">Can I run WooCommerce?</h3>
<p>Yes. Choose <strong>WooCommerce store</strong> when you create the site, on any plan. The WooCommerce plan allows three sites. Order emails are not sent yet, because sites cannot send mail.</p>
<h3 id="can-i-install-any-plugin" class="docs-h">Can I install any plugin?</h3>
<p>You can install plugins and themes from DASTER's verified catalog. They come from WordPress.org and are checked against its checksums. The code editor in wp-admin is turned off.</p>
<h3 id="can-i-move-my-existing-wordpress-site-to-daster" class="docs-h">Can I move my existing WordPress site to DASTER?</h3>
<p>Not yet. <strong>Import existing site</strong> is listed in the Dashboard but refused today.</p>
<h3 id="what-happens-if-i-cancel-the-plan" class="docs-h">What happens if I cancel the plan?</h3>
<p>The plan ends at the end of the period you paid for, and nothing is refunded. Your sites keep running after that and are charged per site-hour.</p>
<h3 id="where-is-my-data-stored" class="docs-h">Where is my data stored?</h3>
<p>In Mumbai (<code>ap-south-1</code>). The site's files, its database and its backups stay in that region.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to set up SPF, DKIM and DMARC for your domain</title>
      <link>https://daster.io/blog/spf-dkim-dmarc-setup/</link>
      <guid isPermaLink="true">https://daster.io/blog/spf-dkim-dmarc-setup/</guid>
      <pubDate>Tue, 01 Dec 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>App email</category>
      <category>DNS</category>
      <category>SPF</category>
      <category>DKIM</category>
      <category>DMARC</category>
      <description>Add SPF, DKIM and DMARC records to your domain step by step, with record examples, the common mistakes and a free checker to confirm they work.</description>
      <content:encoded><![CDATA[<p>To set up SPF, DKIM and DMARC, you add three kinds of DNS records where your domain's DNS is hosted: one SPF TXT record on the domain, the DKIM records your email service gives you, and one DMARC TXT record at <code>_dmarc.example.com</code>. Then you check them with a tool like the free <a href="https://daster.io/email/dns-checker/">email DNS checker</a> and send a test message.</p>
<p>This post shows what each record looks like, the order to add them in, and the mistakes that send mail to spam even when the records exist.</p>
<h2 id="why-do-these-records-matter" class="docs-h">Why do these records matter?</h2>
<p>Mail servers ask your domain's DNS whether a message really comes from you. Without an answer, they have to guess, and a guess often means the spam folder. Large mailbox providers now expect bulk senders to have all three records, and many refuse or junk mail that fails them.</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Record, Name, What it says"><table><thead><tr><th scope="col">Record</th><th scope="col">Name</th><th scope="col">What it says</th></tr></thead><tbody><tr><td>SPF</td><td><code>example.com</code> (TXT)</td><td>Which servers may send mail for the domain</td></tr><tr><td>DKIM</td><td><code>&lt;selector&gt;._domainkey...</code></td><td>The public key that checks the signature on each message</td></tr><tr><td>DMARC</td><td><code>_dmarc.example.com</code> (TXT)</td><td>What to do with mail that fails, and where to send reports</td></tr></tbody></table></div>
<p>SPF and DKIM prove a message is allowed. DMARC checks that the domain they prove matches the domain in the <strong>From</strong> line, and tells receivers what to do when it does not.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="find-out-who-sends-mail-for-your-domain" class="docs-h">Find out who sends mail for your domain</h2><p>Before you write any record, list every service that sends email with your domain in the <strong>From</strong> address. A typical list:</p>
<ul><li>your app's transactional email (sign-up, receipts, password resets);</li><li>your newsletter or marketing tool;</li><li>your team's mailboxes;</li><li>a help desk or invoicing tool that sends "on behalf of" your domain.</li></ul>
<p>Each one needs to be in SPF or sign with DKIM, or DMARC will flag its mail later. Missing a sender here is the most common reason a strict DMARC policy breaks real email.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="add-one-spf-record" class="docs-h">Add one SPF record</h2><p>SPF is a single TXT record on the domain itself. It starts with <code>v=spf1</code>, lists the senders, and ends with a rule for everyone else:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TXT</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TXT code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TXT code"><code>example.com.  TXT  "v=spf1 include:_spf.mail-one.example include:_spf.mail-two.example ~all"</code></pre></div>
<ul><li><code>include:</code> pulls in a sender's own list. Each email service tells you its include value.</li><li><code>~all</code> (soft fail) marks other senders as suspicious. <code>-all</code> (hard fail) tells receivers to reject them. Start with <code>~all</code> and move to <code>-all</code> once DMARC reports look clean.</li><li><code>ip4:</code> and <code>ip6:</code> add your own server addresses, for example <code>ip4:203.0.113.10</code>.</li></ul>
<p>Two rules catch people out:</p>
<ul><li><strong>One SPF record per name.</strong> If your domain already has a <code>v=spf1</code> record, add the new <code>include:</code> to it. Two SPF records make SPF fail for every message.</li><li><strong>At most 10 DNS lookups.</strong> Every <code>include</code>, <code>a</code>, <code>mx</code>, <code>exists</code> and <code>redirect</code> counts, including the ones inside each include. Remove services you no longer use before you add new ones.</li></ul></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="add-the-dkim-records" class="docs-h">Add the DKIM records</h2><p>DKIM signs each message with a private key that stays with your email service. You publish the public key in DNS, under a name made of a selector and <code>_domainkey</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TXT</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TXT code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TXT code"><code>s1._domainkey.example.com.  TXT    "v=DKIM1; k=rsa; p=MIIBIjANBgkqh...IDAQAB"
s2._domainkey.example.com.  CNAME  s2.dkim.mail-provider.example.</code></pre></div>
<p>Some services give you a TXT record with the key in it. Others give you CNAME records that point to a key they host, which lets them rotate the key without asking you. Copy the names and values exactly as the service shows them. If your DNS provider adds the domain to the end of names by itself, enter only <code>s1._domainkey</code>, or you end up with <code>s1._domainkey.example.com.example.com</code>.</p>
<p>Each service that sends for you needs its own DKIM record, under its own selector.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="add-a-dmarc-record" class="docs-h">Add a DMARC record</h2><p>DMARC is one TXT record at <code>_dmarc</code> on your domain. Start in monitoring mode:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TXT</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TXT code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TXT code"><code>_dmarc.example.com.  TXT  "v=DMARC1; p=none; rua=mailto:dmarc-reports@example.com"</code></pre></div>
<ul><li><code>p=none</code> delivers mail as before but asks receivers to report what passes and fails.</li><li><code>rua=</code> is the mailbox for those daily reports. Use an address you read, or a reports inbox you set up for this.</li></ul>
<p>Leave it at <code>p=none</code> for two to four weeks. Read the reports, find senders you forgot in step 1, and fix their SPF or DKIM. Then tighten the policy in two steps:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TXT</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TXT code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TXT code"><code>_dmarc.example.com.  TXT  "v=DMARC1; p=quarantine; rua=mailto:dmarc-reports@example.com"
_dmarc.example.com.  TXT  "v=DMARC1; p=reject; rua=mailto:dmarc-reports@example.com"</code></pre></div>
<p><code>quarantine</code> sends failing mail to spam. <code>reject</code> refuses it. Keep only one DMARC record at a time; the lines above are stages, not three records.</p>
<p>A domain that never sends mail should say so. Publish <code>v=spf1 -all</code> on it and a DMARC record with <code>p=reject</code>, so nobody can send in its name.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="check-the-records" class="docs-h">Check the records</h2><p>DNS changes usually show within minutes, but a resolver can keep the old answer until the record's TTL runs out. Then check what the world sees:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>dig +short TXT example.com
dig +short TXT s1._domainkey.example.com
dig +short TXT _dmarc.example.com</code></pre></div>
<p>Or type the domain into the free <a href="https://daster.io/email/dns-checker/">email DNS checker</a>. It reads the SPF, DMARC and MX records, and the DKIM key when you give it a selector, then marks each one <strong>Pass</strong>, <strong>Check</strong>, <strong>Problem</strong> or <strong>Note</strong> and says what to change. It runs in your browser, needs no account and works for any domain.</p>
<p>Last, send a real message to a mailbox you own and open its headers. Look for <code>spf=pass</code>, <code>dkim=pass</code> and <code>dmarc=pass</code> in the <code>Authentication-Results</code> line.</p></div></li></ol>
<h2 id="common-mistakes" class="docs-h">Common mistakes</h2>
<ul><li>Two <code>v=spf1</code> records on the same name.</li><li>More than 10 lookups in SPF after adding one more service.</li><li>A DKIM record pasted with the domain twice, or with a line break inside the key.</li><li>DMARC set to <code>p=reject</code> on day one, before every sender passes.</li><li>DMARC left at <code>p=none</code> for good, which protects nobody.</li><li>Records added at the old DNS provider after the domain's nameservers moved.</li></ul>
<h2 id="how-do-i-set-this-up-for-daster-app-email" class="docs-h">How do I set this up for DASTER App email?</h2>
<p><a href="https://daster.io/docs/messaging/app-email/">App email</a> sends your app's sign-up, receipt and reset emails from a domain you verify. Open <strong>App email</strong> in your project, choose <strong>Turn on App email</strong>, then add your domain as a sender domain and open its page. It shows the <strong>DKIM</strong>, <strong>SPF</strong> and <strong>DMARC</strong> records to add, with their exact values. Add them at your DNS provider and choose <strong>Check records</strong>.</p>
<p>If your domain already has an SPF record, the page tells you which <code>include:</code> to merge into it instead of adding a second one. The DMARC record it suggests starts at <code>p=none</code>. Once SPF and DKIM are verified, you can send from any address on the domain over the HTTP API or <a href="https://daster.io/docs/messaging/smtp/">SMTP</a>, and every account can send 5,000 emails free every month. The <a href="https://daster.io/email/free-email-api/">free email API page</a> lists the daily limits.</p>
<p>To put the same domain in front of an app, see <a href="https://daster.io/docs/domains/connect-a-domain/">Connect a domain</a>.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-spf-dkim-and-dmarc" class="docs-h">Questions about SPF, DKIM and DMARC</h2>
<h3 id="do-i-need-all-three-records" class="docs-h">Do I need all three records?</h3>
<p>Yes, if you send email from your domain. SPF and DKIM prove the mail is allowed, and DMARC ties them to your <strong>From</strong> address. Many receivers expect all three from anyone who sends in bulk.</p>
<h3 id="can-i-have-two-spf-records" class="docs-h">Can I have two SPF records?</h3>
<p>No. With two <code>v=spf1</code> records on one name, SPF fails for every message. Merge them into one record with every <code>include:</code> in it.</p>
<h3 id="what-is-a-dkim-selector" class="docs-h">What is a DKIM selector?</h3>
<p>The label in front of <code>._domainkey</code> in the record name. In <code>s1._domainkey.example.com</code> the selector is <code>s1</code>. Your email service picks it, and it lets one domain have several DKIM keys.</p>
<h3 id="should-dmarc-start-at-pnone" class="docs-h">Should DMARC start at p=none?</h3>
<p>Yes. Start with <code>p=none</code> and a report address, read the reports for a few weeks, fix the senders that fail, then move to <code>quarantine</code> and later <code>reject</code>.</p>
<h3 id="how-long-do-dns-changes-take" class="docs-h">How long do DNS changes take?</h3>
<p>Most DNS providers publish a change within minutes. A resolver that cached the old answer keeps it until the record's TTL ends, so lower the TTL before a big change.</p>
<h3 id="does-my-domain-need-an-mx-record-to-send" class="docs-h">Does my domain need an MX record to send?</h3>
<p>No. MX is only for receiving mail. A domain that only sends can work without one, but it still needs SPF, DKIM and DMARC.</p>]]></content:encoded>
    </item>
    <item>
      <title>Buy a domain, hosting and email in one account</title>
      <link>https://daster.io/blog/buy-domain-hosting-email/</link>
      <guid isPermaLink="true">https://daster.io/blog/buy-domain-hosting-email/</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Domains</category>
      <category>Hosting</category>
      <category>App email</category>
      <category>DNS</category>
      <description>Search a domain on DASTER, connect it to your app with HTTPS and send email from it, all in one account. What works today and what opens later.</description>
      <content:encoded><![CDATA[<p>On DASTER you can search a domain name and see the <code>.com</code> price today, but buying a domain opens later. What works now: keep the domain you already own, connect it to an app hosted on DASTER with two DNS records and automatic HTTPS, and send email from it with App email. One account, one project, one wallet.</p>
<p>Most people want three things from the same place: a name, somewhere to run the site and email that comes from that name. This post shows how the three fit together in one DASTER project, and it is honest about the one part that is not open yet.</p>
<h2 id="can-i-buy-a-domain-on-daster" class="docs-h">Can I buy a domain on DASTER?</h2>
<p>Not yet. Open <strong>Domains › Buy a domain</strong>, search a name and choose a term from 1 to 10 years. The results show whether each name is available, and a <code>.com</code> name shows DASTER's price for that term. Other endings show no price yet.</p>
<p>Orders are refused until buying opens, and nothing is charged. When it opens, the domain will be paid from your wallet's cash, and the order drawer will offer <strong>Connect to my app when registered</strong>. Transfers and renewals open at the same time.</p>
<p>Until then, register the name with the registrar you use today. Everything below works with a domain registered anywhere.</p>
<h2 id="what-do-i-get-in-one-account" class="docs-h">What do I get in one account?</h2>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Part, What it does today"><table><thead><tr><th scope="col">Part</th><th scope="col">What it does today</th></tr></thead><tbody><tr><td><strong>Domains</strong></td><td>Search names, connect a domain you own, HTTPS certificate renewed by itself</td></tr><tr><td><strong>Hosting</strong></td><td>Runs your app from GitHub, a .zip or a public Docker image, in Mumbai</td></tr><tr><td><strong>App email</strong></td><td>Sends from your domain over an HTTP API or SMTP, with delivery logs</td></tr><tr><td><strong>Billing</strong></td><td>One plan and one wallet for every project in the organization</td></tr></tbody></table></div>
<p>The <a href="https://daster.io/guides/domains-and-dns/">Domains and DNS guide</a> covers every record and state in more detail.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="search-for-the-name" class="docs-h">Search for the name</h2><p>Open <strong>Domains › Buy a domain</strong>, type the name and pick the term. Check that it is available and note the price. If you already own a domain, skip this step.</p>
<p>With the API:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">HTTP</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy HTTP code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="HTTP code"><code><span class="tk-k">POST</span> /v1/projects/{projectId}/domains/registrar/search?organizationId={organizationId}
<span class="tk-p">Content-Type</span>: application/json

{ <span class="tk-p">"query"</span>: <span class="tk-s">"northwind"</span>, <span class="tk-p">"termYears"</span>: <span class="tk-n">1</span> }</code></pre></div></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="deploy-a-web-service" class="docs-h">Deploy a web service</h2><p>A domain points at a live web service. In <strong>Hosting</strong>, choose <strong>Deploy an app</strong>, pick <strong>Web service</strong> and a size, then a GitHub repository, a .zip (up to 100 MB) or a public Docker image. Review the commands DASTER detected and choose <strong>Deploy to Development</strong>. When the build reaches <strong>LIVE</strong>, the app answers at <code>https://&lt;app id&gt;.apps.daster.io</code>.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="connect-the-domain-to-the-app" class="docs-h">Connect the domain to the app</h2><p>Open <strong>Domains › Your domains</strong>, choose <strong>Add domain</strong>, enter the hostname, for example <code>shop.example.com</code>, and pick the web service. At your DNS provider, add the two records DASTER shows:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Record, For, Value"><table><thead><tr><th scope="col">Record</th><th scope="col">For</th><th scope="col">Value</th></tr></thead><tbody><tr><td><strong>TXT</strong></td><td>Proof that you own the name</td><td>The value on the domain page</td></tr><tr><td><strong>CNAME</strong></td><td>A subdomain such as <code>shop</code></td><td><code>edge.ap-south-1.daster.io</code></td></tr><tr><td><strong>A</strong></td><td>An apex domain such as <code>example.com</code></td><td>The address on the <strong>Traffic routing</strong> card</td></tr></tbody></table></div>
<p>Do not add an <strong>AAAA</strong> record: the edge is IPv4 only. Choose <strong>Check now</strong>. Once both records are found, DASTER gets a certificate, checks it the way a browser would and marks the domain <strong>Connected</strong>. Renewal happens by itself.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="add-the-domain-to-app-email" class="docs-h">Add the domain to App email</h2><p>Open <strong>App email</strong> in the same project and choose <strong>Turn on App email</strong>. Add your domain as a sender domain and open its page. It shows the <strong>DKIM</strong>, <strong>SPF</strong> and <strong>DMARC</strong> records. Add them at your DNS provider, then choose <strong>Check records</strong>. Once they are verified, you can send from any address at that domain.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="send-the-first-email" class="docs-h">Send the first email</h2><p>Send from your server with the project's server key, or with a narrower key that has <strong>Sending</strong> access from <strong>App email › Settings</strong>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">HTTP</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy HTTP code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="HTTP code"><code><span class="tk-k">POST</span> https://app.daster.io/communications/v1/projects/{projectId}/email/send
<span class="tk-p">Authorization</span>: Bearer daster_sk_dev_…
<span class="tk-p">Idempotency-Key</span>: welcome-user-<span class="tk-n">42</span>
<span class="tk-p">Content-Type</span>: application/json

{
  <span class="tk-p">"from"</span>: <span class="tk-s">"hello@example.com"</span>,
  <span class="tk-p">"to"</span>: <span class="tk-s">"user@example.com"</span>,
  <span class="tk-p">"subject"</span>: <span class="tk-s">"Welcome"</span>,
  <span class="tk-p">"text"</span>: <span class="tk-s">"Thanks for signing up."</span>
}</code></pre></div>
<p>Follow the message in <strong>Delivery logs</strong>. A mailer that only speaks SMTP can use <code>smtp.daster.io</code> on port 465 or 587, with the project ID as the username and a key that can send as the password.</p></div></li></ol>
<h2 id="how-much-email-can-i-send" class="docs-h">How much email can I send?</h2>
<p>Send 5,000 emails free every month. The limit is 200 emails a day, and new accounts start lower for their first six days. The <a href="https://daster.io/email/free-email-api/">email API page</a> lists every limit. A send past a limit is refused with a <code>429</code> error and says when it resets.</p>
<h2 id="what-should-i-know-before-i-start" class="docs-h">What should I know before I start?</h2>
<ul><li><strong>Buying, transfers and renewals are not open yet.</strong> You can search and see <code>.com</code> prices; orders are refused and nothing is charged.</li><li><strong>DASTER does not change your DNS.</strong> You add every record at your DNS provider yourself.</li><li><strong>A proxying CDN stops the certificate.</strong> Set the record to DNS only, and make sure no <code>CAA</code> record blocks the certificate authority.</li><li><strong>Browser keys cannot send email.</strong> Send from your server.</li><li><strong>Apps run in Mumbai</strong> (<code>ap-south-1</code>) today.</li><li><strong>Prices are not final.</strong> The <a href="https://daster.io/pricing/">pricing page</a> explains how the plan and the wallet work.</li></ul>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-domains-hosting-and-email-on-daster" class="docs-h">Questions about domains, hosting and email on DASTER</h2>
<h3 id="can-i-buy-a-domain-and-hosting-together-on-daster" class="docs-h">Can I buy a domain and hosting together on DASTER?</h3>
<p>Hosting, yes. Buying a domain opens later: today you can search names and see the price of a <code>.com</code> name. Register the domain where you like, then connect it to your app on DASTER.</p>
<h3 id="can-i-use-a-domain-i-bought-somewhere-else" class="docs-h">Can I use a domain I bought somewhere else?</h3>
<p>Yes. The domain stays with your registrar. You add a TXT record and a CNAME or A record there, and DASTER routes the name to your app with HTTPS.</p>
<h3 id="can-i-send-email-from-my-own-domain" class="docs-h">Can I send email from my own domain?</h3>
<p>Yes. Add the domain in <strong>App email</strong>, publish its DKIM, SPF and DMARC records and choose <strong>Check records</strong>. Once they are verified, your app can send from any address at that domain.</p>
<h3 id="do-i-get-a-mailbox-for-my-domain" class="docs-h">Do I get a mailbox for my domain?</h3>
<p>No. App email sends the messages your app writes, such as sign-up, receipt and reset emails. It can also receive mail at <code>inbound.&lt;your domain&gt;</code> and pass it to a webhook, but it is not a mailbox for people.</p>
<h3 id="do-i-need-separate-keys-for-hosting-and-email" class="docs-h">Do I need separate keys for hosting and email?</h3>
<p>No. An app hosted on DASTER gets its project connection by itself, and the same server key sends App email. You can create a narrower key that can only send.</p>]]></content:encoded>
    </item>
    <item>
      <title>Host a Node.js app with a database</title>
      <link>https://daster.io/blog/host-nodejs-app-database/</link>
      <guid isPermaLink="true">https://daster.io/blog/host-nodejs-app-database/</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>Node.js</category>
      <category>Express</category>
      <category>Next.js</category>
      <category>PostgreSQL</category>
      <description>Deploy an Express or Next.js app on DASTER from GitHub or a .zip, with PostgreSQL in the same project and DATABASE_URL given to the app at every deployment.</description>
      <content:encoded><![CDATA[<p>To host a Node.js app with a database on DASTER, set up PostgreSQL in an App project, then deploy the app from GitHub or a .zip as a web service. DASTER reads <code>package.json</code>, installs with npm from your <code>package-lock.json</code> and runs your start script. At every deployment the app receives <code>DATABASE_URL</code>, so the code needs no connection string.</p>
<p>This post is for "host node js app" and "host next js app". It builds a small Express API that reads and writes PostgreSQL, shows the same idea in a Next.js route handler, and lists the settings DASTER expects.</p>
<h2 id="what-nodejs-apps-can-daster-run" class="docs-h">What Node.js apps can DASTER run?</h2>
<p>Hosting builds and runs Node and npm servers: Express, Fastify, a Next.js app with <code>next start</code>, or any server that listens on a port. It also serves static build output with Node. Each app runs in its own gVisor sandbox in Mumbai (<code>ap-south-1</code>) and answers at <code>https://&lt;app id&gt;.apps.daster.io</code>.</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: You need, Why"><table><thead><tr><th scope="col">You need</th><th scope="col">Why</th></tr></thead><tbody><tr><td><code>package.json</code> with a <code>start</code> script</td><td>DASTER fills the start command from it</td></tr><tr><td><code>package-lock.json</code>, committed</td><td>Dependencies install with <code>npm ci</code> from the lockfile</td></tr><tr><td>npm</td><td>pnpm and Yarn lockfiles are not supported yet</td></tr><tr><td>A port from 1024 to 65535</td><td>The web service sends traffic to it</td></tr></tbody></table></div>
<p>An app with dependencies and no <code>package-lock.json</code> fails with <code>npm_lock_required</code>. Run <code>npm install</code> once on your machine and commit the lockfile.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="write-the-express-app" class="docs-h">Write the Express app</h2><p><code>package.json</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">JSON</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy JSON code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="JSON code"><code>{
  <span class="tk-p">"name"</span>: <span class="tk-s">"todos-api"</span>,
  <span class="tk-p">"private"</span>: <span class="tk-k">true</span>,
  <span class="tk-p">"type"</span>: <span class="tk-s">"module"</span>,
  <span class="tk-p">"scripts"</span>: {
    <span class="tk-p">"start"</span>: <span class="tk-s">"node server.js"</span>
  },
  <span class="tk-p">"dependencies"</span>: {
    <span class="tk-p">"express"</span>: <span class="tk-s">"^5.1.0"</span>,
    <span class="tk-p">"pg"</span>: <span class="tk-s">"^8.13.1"</span>
  }
}</code></pre></div>
<p><code>server.js</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">JavaScript</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy JavaScript code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="JavaScript code"><code><span class="tk-k">import</span> express <span class="tk-k">from</span> <span class="tk-s">'express'</span>;
<span class="tk-k">import</span> pg <span class="tk-k">from</span> <span class="tk-s">'pg'</span>;

<span class="tk-c">// DATABASE_URL comes from DASTER at every deployment, with sslmode=verify-full.</span>
<span class="tk-k">const</span> pool = <span class="tk-k">new</span> pg.Pool({ connectionString: process.env.DATABASE_URL, max: <span class="tk-n">5</span> });

<span class="tk-k">const</span> app = express();
app.use(express.json());

app.get(<span class="tk-s">'/health'</span>, (req, res) =&gt; {
  res.send(<span class="tk-s">'ok'</span>);
});

app.get(<span class="tk-s">'/todos'</span>, <span class="tk-k">async</span> (req, res) =&gt; {
  <span class="tk-k">const</span> { rows } = <span class="tk-k">await</span> pool.query(<span class="tk-s">'select id, title, done from app.todos order by id limit 20'</span>);
  res.json(rows);
});

app.post(<span class="tk-s">'/todos'</span>, <span class="tk-k">async</span> (req, res) =&gt; {
  <span class="tk-k">const</span> title = String(req.body?.title ?? <span class="tk-s">''</span>).trim();
  <span class="tk-k">if</span> (!title) <span class="tk-k">return</span> res.status(<span class="tk-n">400</span>).json({ error: <span class="tk-s">'title is required'</span> });
  <span class="tk-k">const</span> { rows } = <span class="tk-k">await</span> pool.query(
    <span class="tk-s">'insert into app.todos (title) values ($1) returning id, title, done'</span>,
    [title],
  );
  res.status(<span class="tk-n">201</span>).json(rows[<span class="tk-n">0</span>]);
});

<span class="tk-k">const</span> port = Number(process.env.PORT) || <span class="tk-n">3000</span>;
app.listen(port, () =&gt; console.log(<span class="tk-s">`Listening on port ${port}`</span>));</code></pre></div>
<p>Run <code>npm install</code> to create <code>package-lock.json</code>, then commit all three files. Express 5 passes errors from <code>async</code> handlers to its error handler, so a failed query answers 500 instead of crashing the server.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="set-up-postgresql" class="docs-h">Set up PostgreSQL</h2><p>Create an App project, open <strong>Backend Cloud</strong> and choose <strong>Set up Backend Cloud</strong>. Your organization's first PostgreSQL database is the smallest size (512 MB, 10 connections). Then open <strong>PostgreSQL › SQL Editor</strong> and create the table:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">SQL</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy SQL code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="SQL code"><code><span class="tk-k">create</span> <span class="tk-k">table</span> app.todos (
  id <span class="tk-k">bigint</span> generated always <span class="tk-k">as</span> identity <span class="tk-k">primary</span> <span class="tk-k">key</span>,
  title <span class="tk-k">text</span> <span class="tk-k">not</span> <span class="tk-k">null</span>,
  done <span class="tk-k">boolean</span> <span class="tk-k">not</span> <span class="tk-k">null</span> <span class="tk-k">default</span> false
);</code></pre></div>
<p>Your tables live in the <code>app</code> schema, which is why the queries say <code>app.todos</code>.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="deploy-from-github-or-a-zip" class="docs-h">Deploy from GitHub or a .zip</h2><p>In <strong>Hosting</strong>, choose <strong>Deploy an app</strong> and pick <strong>Web service</strong> and a size. For the source, connect GitHub and pick the repository and branch, or choose <strong>Upload a .zip</strong> with the app folder (up to 100 MB; <code>node_modules</code>, <code>.git</code> and <code>.env</code> files are left out). DASTER inspects the code and fills in the settings. It runs nothing at this point.</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Setting, Value for this app"><table><thead><tr><th scope="col">Setting</th><th scope="col">Value for this app</th></tr></thead><tbody><tr><td><strong>Install command</strong></td><td><code>npm ci</code></td></tr><tr><td><strong>Build command</strong></td><td>empty</td></tr><tr><td><strong>Start command</strong></td><td><code>npm start</code></td></tr><tr><td><strong>Port</strong></td><td><code>3000</code></td></tr><tr><td><strong>Health check path</strong></td><td><code>/health</code></td></tr></tbody></table></div>
<p>Choose <strong>Review</strong>, then <strong>Deploy to Development</strong>, and follow the build to <strong>LIVE</strong>. Open <code>https://&lt;app id&gt;.apps.daster.io/todos</code> to see the list.</p>
<p>With GitHub, <strong>Deploy on every push</strong> is on for the new service, so the next push to its branch deploys again.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="check-the-connection" class="docs-h">Check the connection</h2><p>Once Backend Cloud is ready, every deployment gives the app these variables:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Variable, What it is"><table><thead><tr><th scope="col">Variable</th><th scope="col">What it is</th></tr></thead><tbody><tr><td><code>DATABASE_URL</code></td><td>PostgreSQL through the session pooler, with <code>sslmode=verify-full</code></td></tr><tr><td><code>DASTER_URL</code></td><td>The address of your project's data API</td></tr><tr><td><code>DASTER_SERVER_KEY</code></td><td>The project environment's server key</td></tr></tbody></table></div>
<p><code>pg</code> reads <code>sslmode=verify-full</code> from the URL and checks the server's certificate. Keep the pool small: the smallest sizes have 10 connections, and each instance opens its own pool.</p></div></li></ol>
<h2 id="how-do-i-host-a-nextjs-app-with-the-same-database" class="docs-h">How do I host a Next.js app with the same database?</h2>
<p>A Next.js app runs on DASTER as a Node server with <code>next build</code> and <code>next start</code>. Add <code>pg</code> to it and read the database in a route handler, <code>app/api/todos/route.ts</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TypeScript</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TypeScript code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TypeScript code"><code><span class="tk-k">import</span> { Pool } <span class="tk-k">from</span> <span class="tk-s">'pg'</span>;

<span class="tk-c">// Read at request time: variables are not passed to `next build`.</span>
<span class="tk-k">export</span> <span class="tk-k">const</span> dynamic = <span class="tk-s">'force-dynamic'</span>;

<span class="tk-k">const</span> pool = <span class="tk-k">new</span> Pool({ connectionString: process.env.DATABASE_URL, max: <span class="tk-n">5</span> });

<span class="tk-k">export</span> <span class="tk-k">async</span> <span class="tk-k">function</span> GET() {
  <span class="tk-k">const</span> { rows } = <span class="tk-k">await</span> pool.query(<span class="tk-s">'select id, title, done from app.todos order by id limit 20'</span>);
  <span class="tk-k">return</span> Response.json(rows);
}</code></pre></div>
<p>Deploy it the same way, with <code>npm run build</code> as the build command, <code>npm start</code> as the start command and port <code>3000</code>. Do not read <code>DATABASE_URL</code> while the app builds; <code>NEXT_PUBLIC_*</code> values are empty at build time too. The <a href="https://daster.io/guides/nextjs-hosting/">Next.js hosting guide</a> covers previews, sizes and your own domain.</p>
<h2 id="what-should-i-know-before-i-start" class="docs-h">What should I know before I start?</h2>
<ul><li><strong>The database is reachable only from apps hosted on DASTER.</strong> <code>psql</code> or an app hosted elsewhere cannot connect yet; use the <strong>SQL Editor</strong> or the data API.</li><li><strong>Variables are not passed to build commands.</strong> Read settings at runtime.</li><li><strong>Preview deployments never receive the connection</strong>, so a branch preview cannot touch your Development data.</li><li><strong>Sizes:</strong> Starter (0.5 vCPU, 256 MB) or Standard (1 vCPU, 1 GB), with 1 or 2 instances, or <strong>Autoscale</strong> with a minimum of 0.</li><li><strong>The wallet is checked first.</strong> Before a deploy starts, DASTER checks that your organization's wallet can pay the next hour of everything you run on Hosting. Prices are not final.</li></ul>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-a-nodejs-app-on-daster" class="docs-h">Questions about hosting a Node.js app on DASTER</h2>
<h3 id="which-package-managers-work" class="docs-h">Which package managers work?</h3>
<p>npm. DASTER installs with <code>npm ci</code> from <code>package-lock.json</code>. pnpm and Yarn are not supported yet, so generate a <code>package-lock.json</code> with <code>npm install</code> and commit it.</p>
<h3 id="can-i-deploy-without-github" class="docs-h">Can I deploy without GitHub?</h3>
<p>Yes. Upload a .zip of the app folder, up to 100 MB, or deploy a public Docker image. To ship a new version of a .zip app, use <strong>Build &amp; deploy settings › Deploy from a new .zip</strong>.</p>
<h3 id="do-i-have-to-copy-databaseurl-into-my-variables" class="docs-h">Do I have to copy DATABASE_URL into my variables?</h3>
<p>No. An app hosted on DASTER receives <code>DATABASE_URL</code>, <code>DASTER_URL</code> and <code>DASTER_SERVER_KEY</code> at every deployment once Backend Cloud is ready. A variable you set yourself under one of these names is kept.</p>
<h3 id="can-i-use-an-orm-instead-of-pg" class="docs-h">Can I use an ORM instead of pg?</h3>
<p>Yes. Pass <code>DATABASE_URL</code> to any PostgreSQL driver or ORM that runs on Node and checks certificates with <code>sslmode=verify-full</code>. Remember to name the <code>app</code> schema, or set it on each new connection.</p>
<h3 id="can-my-node-app-run-background-jobs" class="docs-h">Can my Node app run background jobs?</h3>
<p>Yes. Besides web services, Hosting runs workers, cron jobs on a schedule (UTC, minute precision) and functions that run when invoked, all in the same project with the same connection.</p>]]></content:encoded>
    </item>
    <item>
      <title>Host a Python app (Flask or Django) with a database</title>
      <link>https://daster.io/blog/host-python-flask-django-app-database/</link>
      <guid isPermaLink="true">https://daster.io/blog/host-python-flask-django-app-database/</guid>
      <pubDate>Wed, 25 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>Python</category>
      <category>Flask</category>
      <category>Django</category>
      <category>PostgreSQL</category>
      <description>Run a Flask or Django app on DASTER as a public Docker image, with PostgreSQL in the same project and DATABASE_URL given to the app at every deployment.</description>
      <content:encoded><![CDATA[<p>To host a Flask or Django app on DASTER today, build it into a Docker image, push the image to a public registry and deploy it as a web service. Set up PostgreSQL in the same project, and the app receives <code>DATABASE_URL</code> at every deployment. DASTER does not build Python from source yet, so the image is the way in.</p>
<p>This post is for the searches "host flask app", "host django app" and "host python app online". It shows a small Flask app that reads PostgreSQL, the files it needs, and the exact steps. A short Django section follows.</p>
<h2 id="can-daster-run-python-from-my-repository" class="docs-h">Can DASTER run Python from my repository?</h2>
<p>Not from source yet. Hosting builds and runs Node and npm servers, static output served by Node, and restricted Dockerfiles that only copy files. A Python repository may be detected as Flask or Django, but detection does not mean DASTER can build it.</p>
<p>What does work is <strong>Docker image</strong>: you build the image yourself, push it to a public registry, and DASTER runs it. The image carries Python, your packages and its own start command, so DASTER does not need to know about Python at all.</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Source, Python today"><table><thead><tr><th scope="col">Source</th><th scope="col">Python today</th></tr></thead><tbody><tr><td>GitHub repository</td><td>No, Python is not built yet</td></tr><tr><td>.zip upload</td><td>No, same build as a repository</td></tr><tr><td>Public Docker image</td><td>Yes, as a web service or worker</td></tr></tbody></table></div>
<h2 id="what-does-the-app-need-to-run-on-daster" class="docs-h">What does the app need to run on DASTER?</h2>
<ul><li><strong>A public image</strong> on one of the registries listed in <a href="https://daster.io/docs/hosting/upload-images-autoscale-promote/">Deploy a Docker image</a>, up to 1 GiB uncompressed. Private registries and registry passwords are not supported.</li><li><strong>An ARM build.</strong> DASTER's hosting servers use 64-bit ARM processors, so build for <code>linux/arm64</code>.</li><li><strong>A server that listens on a port</strong> between 1024 and 65535, and a fast health check path.</li><li><strong>No writes outside <code>/tmp</code>.</strong> The container runs as a normal user with a read-only file system and a small <code>/tmp</code>. Keep data in PostgreSQL or Storage.</li></ul>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="write-the-flask-app" class="docs-h">Write the Flask app</h2><p>Three files in one folder. <code>app.py</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">PYTHON</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy PYTHON code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="PYTHON code"><code>import os

import psycopg
from flask import Flask, jsonify, request

app = Flask(__name__)

# DATABASE_URL uses sslmode=verify-full. Point the driver at the
# system certificate bundle so it can check the server's certificate.
CA_FILE = "/etc/ssl/certs/ca-certificates.crt"


def connect():
    return psycopg.connect(os.environ["DATABASE_URL"], sslrootcert=CA_FILE)


@app.get("/health")
def health():
    return "ok"


@app.get("/todos")
def list_todos():
    with connect() as conn:
        rows = conn.execute(
            "select id, title, done from app.todos order by id limit 20"
        ).fetchall()
    return jsonify([{"id": r[0], "title": r[1], "done": r[2]} for r in rows])


@app.post("/todos")
def add_todo():
    title = (request.get_json(silent=True) or {}).get("title", "").strip()
    if not title:
        return jsonify(error="title is required"), 400
    with connect() as conn:
        row = conn.execute(
            "insert into app.todos (title) values (%s) returning id",
            (title,),
        ).fetchone()
    return jsonify(id=row[0], title=title, done=False), 201</code></pre></div>
<p><code>requirements.txt</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TEXT</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TEXT code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TEXT code"><code>flask==3.1.0
gunicorn==23.0.0
psycopg[binary]==3.2.3</code></pre></div>
<p><code>Dockerfile</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">DOCKERFILE</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy DOCKERFILE code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="DOCKERFILE code"><code>FROM python:3.12-slim
ENV PYTHONUNBUFFERED=1
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY app.py .
EXPOSE 8000
CMD ["gunicorn", "--bind", "0.0.0.0:8000", "--workers", "2", "app:app"]</code></pre></div>
<p>The start command is the image's <code>CMD</code>: Gunicorn serves the app on port 8000 with two workers. The <code>RUN pip install</code> line runs on your machine when you build, not on DASTER.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="build-and-push-the-image" class="docs-h">Build and push the image</h2><p>On your machine, build for ARM and push to a public repository on a supported registry:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>docker buildx build <span class="tk-p">--platform</span> linux/arm64 \
  <span class="tk-p">-t</span> &lt;registry&gt;/&lt;you&gt;/flask-todos:1 <span class="tk-p">--push</span> .</code></pre></div>
<p>Make the repository public in the registry's settings. DASTER pulls images without a password.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="set-up-postgresql" class="docs-h">Set up PostgreSQL</h2><p>Create an App project, open <strong>Backend Cloud</strong> and choose <strong>Set up Backend Cloud</strong>. Your organization's first PostgreSQL database is the smallest size (512 MB, 10 connections). The setup page follows the database until it is ready.</p>
<p>Then open <strong>PostgreSQL › SQL Editor</strong> and create the table:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">SQL</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy SQL code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="SQL code"><code><span class="tk-k">create</span> <span class="tk-k">table</span> app.todos (
  id <span class="tk-k">bigint</span> generated always <span class="tk-k">as</span> identity <span class="tk-k">primary</span> <span class="tk-k">key</span>,
  title <span class="tk-k">text</span> <span class="tk-k">not</span> <span class="tk-k">null</span>,
  done <span class="tk-k">boolean</span> <span class="tk-k">not</span> <span class="tk-k">null</span> <span class="tk-k">default</span> false
);</code></pre></div>
<p>Your tables live in the <code>app</code> schema, which is why the code says <code>app.todos</code>. Read more in <a href="https://daster.io/guides/postgresql-for-startups/">PostgreSQL for startups</a>.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="deploy-the-image" class="docs-h">Deploy the image</h2><p>In <strong>Hosting</strong>, choose <strong>Deploy an app</strong> and pick <strong>Web service</strong> and a size. Under the source, choose <strong>Docker image</strong> and enter <code>&lt;registry&gt;/&lt;you&gt;/flask-todos:1</code>. Set the port to <code>8000</code> and the health check path to <code>/health</code>. Choose <strong>Review</strong>, then <strong>Deploy to Development</strong>.</p>
<p>DASTER pins the image to its digest when the deployment starts, so a later push of the same tag changes nothing until you deploy again. When the deployment is <strong>LIVE</strong>, open <code>https://&lt;app id&gt;.apps.daster.io/todos</code>.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="ship-a-new-version" class="docs-h">Ship a new version</h2><p>Build and push a new tag, such as <code>flask-todos:2</code>, then deploy the service again with the new reference. When Development works, owners and admins can use <strong>Promote to Production</strong> to run the same image there.</p></div></li></ol>
<h2 id="how-do-i-run-django-the-same-way" class="docs-h">How do I run Django the same way?</h2>
<p>Django needs the same three things: an image, a port and <code>DATABASE_URL</code>. Read the URL in <code>settings.py</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">PYTHON</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy PYTHON code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="PYTHON code"><code>import os
from urllib.parse import unquote, urlparse

db = urlparse(os.environ.get("DATABASE_URL", "postgresql://localhost/dev"))

DATABASES = {
    "default": {
        "ENGINE": "django.db.backends.postgresql",
        "NAME": db.path.lstrip("/"),
        "USER": unquote(db.username or ""),
        "PASSWORD": unquote(db.password or ""),
        "HOST": db.hostname,
        "PORT": db.port or 5432,
        "OPTIONS": {
            "sslmode": "verify-full",
            "sslrootcert": "/etc/ssl/certs/ca-certificates.crt",
        },
    }
}

ALLOWED_HOSTS = [".apps.daster.io"]</code></pre></div>
<p>The pooler does not accept session options in the connection string, so set the schema after each connection opens. In one of your apps, <code>todos/apps.py</code>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">PYTHON</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy PYTHON code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="PYTHON code"><code>from django.apps import AppConfig
from django.db.backends.signals import connection_created


def use_app_schema(sender, connection, **kwargs):
    with connection.cursor() as cursor:
        cursor.execute("set search_path to app")


class TodosConfig(AppConfig):
    name = "todos"

    def ready(self):
        connection_created.connect(use_app_schema)</code></pre></div>
<p>Now Django's own tables and yours live in the <code>app</code> schema. Add <code>django</code>, <code>gunicorn</code> and <code>psycopg[binary]</code> to <code>requirements.txt</code>, and run migrations when the container starts, since only apps hosted on DASTER can reach the database:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">DOCKERFILE</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy DOCKERFILE code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="DOCKERFILE code"><code>CMD ["sh", "-c", "python manage.py migrate &amp;&amp; gunicorn mysite.wsgi --bind 0.0.0.0:8000"]</code></pre></div>
<p>Replace <code>mysite</code> with your project's name, and add your own domain to <code>ALLOWED_HOSTS</code> when you connect one.</p>
<h2 id="what-should-i-know-before-i-start" class="docs-h">What should I know before I start?</h2>
<ul><li><strong>The database is reachable only from apps hosted on DASTER.</strong> You cannot connect with <code>psql</code> or run migrations from your laptop yet; use the <strong>SQL Editor</strong> or run them when the container starts.</li><li><strong>Variables are given at runtime.</strong> Read <code>DATABASE_URL</code> when a request arrives or the app starts, not while the image builds.</li><li><strong>Preview deployments never receive the connection</strong>, so a branch preview cannot touch your Development data.</li><li><strong>Sizes:</strong> Starter (0.5 vCPU, 256 MB) or Standard (1 vCPU, 1 GB), up to 2 instances. Keep Gunicorn's workers low on Starter.</li><li><strong>Apps run in Mumbai</strong> (<code>ap-south-1</code>) today. Prices are not final.</li></ul>
<p>To compare this with a Node app built from GitHub, read <a href="https://daster.io/blog/host-full-stack-app-with-database/">How to host a full-stack app with a database</a>.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-a-python-app-on-daster" class="docs-h">Questions about hosting a Python app on DASTER</h2>
<h3 id="can-i-push-my-flask-repository-and-let-daster-build-it" class="docs-h">Can I push my Flask repository and let DASTER build it?</h3>
<p>Not yet. Python is not built from a repository or a .zip today. Build a Docker image yourself, push it to a public registry and deploy it with <strong>Docker image</strong>.</p>
<h3 id="does-the-app-get-databaseurl-by-itself" class="docs-h">Does the app get DATABASE_URL by itself?</h3>
<p>Yes. Once Backend Cloud is ready, every deployment gives the app <code>DATABASE_URL</code>, <code>DASTER_URL</code> and <code>DASTER_SERVER_KEY</code>. A variable you set yourself under one of these names is kept.</p>
<h3 id="why-does-the-code-pass-sslrootcert" class="docs-h">Why does the code pass sslrootcert?</h3>
<p><code>DATABASE_URL</code> asks for <code>sslmode=verify-full</code>, so the driver must check the server's certificate. Python's PostgreSQL driver needs to be told where the trusted certificates are; the slim Python image keeps them in <code>/etc/ssl/certs/ca-certificates.crt</code>.</p>
<h3 id="can-i-use-a-private-registry" class="docs-h">Can I use a private registry?</h3>
<p>No. The image must be public, on one of the registries the docs list. Private registries and registry passwords are not supported.</p>
<h3 id="can-i-run-a-python-background-worker" class="docs-h">Can I run a Python background worker?</h3>
<p>Yes. A Docker image can run as a web service or as a worker. Cron jobs and functions are not offered for images.</p>]]></content:encoded>
    </item>
    <item>
      <title>Deploy from Claude Code or Cursor with MCP</title>
      <link>https://daster.io/blog/deploy-from-claude-code-cursor-mcp/</link>
      <guid isPermaLink="true">https://daster.io/blog/deploy-from-claude-code-cursor-mcp/</guid>
      <pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>MCP</category>
      <category>Claude Code</category>
      <category>Cursor</category>
      <category>Deploy</category>
      <description>Let Claude Code or Cursor deploy your app to DASTER through MCP: allow deploys for one project, approve each charge once, then read the status and logs.</description>
      <content:encoded><![CDATA[<p>To deploy an app from Claude Code or Cursor, add DASTER's MCP server <code>https://app.daster.io/mcp</code>, approve one project with <strong>Upload, deploy websites and connect databases</strong> ticked, and ask the tool to deploy. It uploads your code, creates or updates the website, and waits while you choose <strong>Approve once</strong> in the Dashboard. Then it can read the status and logs.</p>
<p>Your AI coding tool already writes and edits the code. With DASTER's MCP server it can also put that code live, while you keep the final say over anything that costs money. This post covers the deploy itself; the first post on <a href="https://daster.io/blog/connect-claude-code-cursor-mcp/">connecting Claude Code or Cursor</a> explains the connection in more detail.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="add-daster-to-your-tool" class="docs-h">Add DASTER to your tool</h2><p>In Claude Code, run this in your project folder, then type <code>/mcp</code>, choose <strong>daster</strong> and <strong>Authenticate</strong>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>claude mcp add <span class="tk-p">--transport</span> http daster https://app.daster.io/mcp</code></pre></div>
<p>In Cursor, let the <code>daster</code> command write <code>.cursor/mcp.json</code> (it keeps your other servers), then open <strong>Cursor Settings › MCP</strong> and choose <strong>Connect</strong> next to <strong>daster</strong>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>npx @dasterhq/daster setup cursor <span class="tk-p">--write</span></code></pre></div></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="allow-deploys-for-one-project" class="docs-h">Allow deploys for one project</h2><p>The tool opens the DASTER page in your browser. Choose the <strong>Organization</strong>, <strong>Project</strong> and <strong>Environment</strong>, tick <strong>Upload, deploy websites and connect databases</strong>, and choose <strong>Allow</strong>. Without the tick, the connection can only read.</p>
<p>A connection always covers one project and one environment. Only organization Owners and Admins can allow changes outside Development.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="ask-the-tool-to-deploy" class="docs-h">Ask the tool to deploy</h2><p>Ask in plain words, for example "deploy this folder to DASTER as a new website" or "deploy the latest version of my web service". These are the tools it works with:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Tool, What it does"><table><thead><tr><th scope="col">Tool</th><th scope="col">What it does</th></tr></thead><tbody><tr><td><code>hosting_upload_files</code>, <code>hosting_upload_link</code></td><td>Upload a site's files, or get a one-use link for a .zip of up to 100 MB</td></tr><tr><td><code>app_create</code></td><td>Create a website on Hosting</td></tr><tr><td><code>app_deploy</code></td><td>Deploy a new version</td></tr><tr><td><code>app_status</code></td><td>Read a website's state, address and deployments</td></tr><tr><td><code>app_build_logs</code>, <code>app_runtime_logs</code></td><td>Read the build and runtime logs</td></tr></tbody></table></div>
<p>DASTER detects how to build and run the upload, the same way as for a repository. It runs Node and npm servers, static build output served by Node, and restricted Dockerfiles.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="approve-the-charge-once" class="docs-h">Approve the charge once</h2><p><code>app_create</code> and <code>app_deploy</code> can charge your wallet, so they do not run straight away. The tool receives <code>approval_required</code> with an <code>approvalId</code>. Open <strong>Developer access › Approvals</strong> in the Dashboard, check the tool, the request and when it expires, and choose <strong>Approve once</strong> or <strong>Deny</strong>. Approving needs a sign-in within the last 10 minutes.</p>
<p>The tool then repeats the same call with the <code>approvalId</code>. An approval covers exactly that request, once. Reads never need one.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="check-the-result" class="docs-h">Check the result</h2><p>Ask the tool for the status. <code>app_status</code> gives the website's state and its address, <code>https://&lt;app id&gt;.apps.daster.io</code>. If the build failed, <code>app_build_logs</code> shows why, and the tool can fix the code and deploy again, with a new approval.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">6</span><div class="docs-step-body"><h2 id="add-a-database-if-the-app-needs-one" class="docs-h">Add a database if the app needs one</h2><p>The tool can also create a PostgreSQL, MySQL-compatible or MongoDB-compatible database with <code>database_create</code>, and give the website its settings with <code>database_connect_app</code>: <code>DATABASE_URL</code>, <code>DASTER_URL</code> and <code>DASTER_SERVER_KEY</code>. Both wait for your approval, like a deploy.</p></div></li></ol>
<h2 id="can-i-deploy-from-the-terminal-instead" class="docs-h">Can I deploy from the terminal instead?</h2>
<p>Yes. The same connection works from the <code>daster</code> command. Sign in with changes allowed, then deploy a folder or a .zip you made:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster login <span class="tk-p">--write</span>
daster deploy ./site <span class="tk-p">--name</span> my-site</code></pre></div>
<p>The command zips the folder without <code>.git</code>, <code>node_modules</code> and <code>.env</code> files, uploads it, prints the address of <strong>Developer access › Approvals</strong> and waits up to 15 minutes for you to approve. <code>daster deploy ./site --app &lt;app id&gt;</code> deploys a new version of an existing website. See <a href="https://daster.io/docs/sdk-cli-mcp/cli/">The daster command</a>.</p>
<h2 id="what-can-the-tool-not-do" class="docs-h">What can the tool not do?</h2>
<p>The MCP server cannot delete anything, send email, change domains or change your team. Every call that can charge your wallet and every change outside Development waits for a person. Hosting is billed from your wallet; prices are not final, and the <a href="https://daster.io/pricing/">pricing page</a> explains how billing works.</p>
<p>The step-by-step guide is <a href="https://daster.io/guides/deploy-with-mcp/">Deploy and manage DASTER from your AI tool with MCP</a>, and the full reference is <a href="https://daster.io/docs/sdk-cli-mcp/mcp/">Connect an AI tool (MCP)</a>.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-deploying-from-an-ai-tool" class="docs-h">Questions about deploying from an AI tool</h2>
<h3 id="can-claude-code-deploy-without-asking-me" class="docs-h">Can Claude Code deploy without asking me?</h3>
<p>No. Creating or deploying a website can charge your wallet, so each such call waits in <strong>Developer access › Approvals</strong> until you choose <strong>Approve once</strong>. Reads, such as status and logs, run without an approval.</p>
<h3 id="which-ai-tools-can-deploy-to-daster" class="docs-h">Which AI tools can deploy to DASTER?</h3>
<p>Tools that run on your computer: Claude Code, Cursor, VS Code with GitHub Copilot and the OpenAI Codex CLI. Tools that sign in from their vendor's servers can connect only once DASTER accepts that vendor's sign-in address.</p>
<h3 id="how-large-can-the-upload-be" class="docs-h">How large can the upload be?</h3>
<p>A .zip of up to 100 MB. <code>node_modules</code>, <code>.git</code> and <code>.env</code> files are left out, and DASTER refuses links, paths outside the folder and damaged archives.</p>
<h3 id="can-the-tool-deploy-to-production" class="docs-h">Can the tool deploy to Production?</h3>
<p>Only on a connection where an organization Owner or Admin allowed changes outside Development, with a recent sign-in, and each change there still waits for an approval. Owners and admins can also use <strong>Promote to Production</strong> in the Dashboard.</p>
<h3 id="how-do-i-stop-the-tool-from-deploying" class="docs-h">How do I stop the tool from deploying?</h3>
<p>Open <strong>Developer access › Connections</strong> and choose <strong>Disconnect</strong>, or connect again without changes allowed for read-only access.</p>]]></content:encoded>
    </item>
    <item>
      <title>How to host a full-stack app with a database</title>
      <link>https://daster.io/blog/host-full-stack-app-with-database/</link>
      <guid isPermaLink="true">https://daster.io/blog/host-full-stack-app-with-database/</guid>
      <pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>PostgreSQL</category>
      <category>Full-stack</category>
      <category>Database</category>
      <description>Host a full-stack app and its PostgreSQL database in one DASTER project. The app gets DATABASE_URL at every deployment, with no connection string to copy.</description>
      <content:encoded><![CDATA[<p>To host a full-stack app with a database on DASTER, create an App project with the <strong>Full-stack app</strong> start, set up PostgreSQL, then deploy your code from GitHub or a .zip. At every deployment the app receives <code>DATABASE_URL</code>, <code>DASTER_URL</code> and <code>DASTER_SERVER_KEY</code> by itself, so there is no connection string to copy.</p>
<p>A full-stack app needs two things to run: a server that answers web requests and a database it can trust. On DASTER both live in the same project, in Mumbai (<code>ap-south-1</code>), and the project connects them for you. This post walks through the setup and the limits you should know before you start.</p>
<h2 id="what-can-run-on-daster" class="docs-h">What can run on DASTER?</h2>
<p>Hosting runs Node and npm servers, static build output served by Node, and restricted Dockerfiles. It builds from a GitHub repository, a .zip of your app folder or a public Docker image. A web service answers at <code>https://&lt;app id&gt;.apps.daster.io</code>.</p>
<p>For data you can choose:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Database, Good for"><table><thead><tr><th scope="col">Database</th><th scope="col">Good for</th></tr></thead><tbody><tr><td>PostgreSQL</td><td>Your app's main database, with SQL, policies, backups</td></tr><tr><td>Document Database (MongoDB-compatible)</td><td>JSON documents, with your existing MongoDB drivers</td></tr><tr><td>SQL Database (MySQL-compatible)</td><td>Existing MySQL apps, such as Laravel or WordPress apps</td></tr></tbody></table></div>
<p>This post uses PostgreSQL, the one most new apps start with.</p>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="create-a-full-stack-app-project" class="docs-h">Create a Full-stack app project</h2><p>Open the organization menu, choose <strong>New project</strong> and pick <strong>App / Cloud</strong>. Under <strong>What are you building?</strong>, choose <strong>Full-stack app</strong>: the project starts with hosting, a database, storage, sign-in and domains. Give it a name such as <code>acme-app</code> and keep the region, Mumbai.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="set-up-postgresql" class="docs-h">Set up PostgreSQL</h2><p>In the project, open <strong>Backend Cloud</strong> and choose <strong>Set up Backend Cloud</strong>. The summary shows the size you will get: your organization's first PostgreSQL database is Free (512 MB, 10 connections), later ones start as Nano. Confirm, and the setup page follows the database until it is ready.</p>
<p>You can do the same with the API:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">HTTP</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy HTTP code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="HTTP code"><code><span class="tk-k">POST</span> /v1/projects/{projectId}/backend?organizationId={organizationId}
<span class="tk-p">Content-Type</span>: application/json
<span class="tk-p">Idempotency-Key</span>: backend-acme-<span class="tk-n">1</span>

{ <span class="tk-p">"size"</span>: <span class="tk-s">"nano"</span> }</code></pre></div></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="create-your-tables" class="docs-h">Create your tables</h2><p>Open <strong>PostgreSQL › SQL Editor</strong> and run one statement at a time, or save named statements under <strong>Migrations</strong>, which apply in one transaction:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">SQL</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy SQL code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="SQL code"><code><span class="tk-k">create</span> <span class="tk-k">table</span> todos (
  id <span class="tk-k">bigint</span> generated always <span class="tk-k">as</span> identity <span class="tk-k">primary</span> <span class="tk-k">key</span>,
  title <span class="tk-k">text</span> <span class="tk-k">not</span> <span class="tk-k">null</span>,
  done <span class="tk-k">boolean</span> <span class="tk-k">not</span> <span class="tk-k">null</span> <span class="tk-k">default</span> false
);</code></pre></div>
<p>New tables use row-level security and deny client access by default. Add policies under <strong>Backend Cloud › Policies</strong> before browser code reads them.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="deploy-the-app" class="docs-h">Deploy the app</h2><p>In <strong>Hosting</strong>, choose <strong>Deploy an app</strong>, pick <strong>Web service</strong> and a size, then choose the source: a GitHub repository and branch, or <strong>Upload a .zip</strong> (up to 100 MB). DASTER inspects the code and fills in the install, build and start commands. Check them, set the port your server listens on and a health check path, then choose <strong>Review</strong> and <strong>Deploy to Development</strong>.</p>
<p>Before the deploy starts, DASTER checks that your organization's wallet can pay the next hour of everything you run on Hosting.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="use-the-database-from-your-code" class="docs-h">Use the database from your code</h2><p>Once Backend Cloud is ready, every deployment gives the app these variables:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Variable, What it is"><table><thead><tr><th scope="col">Variable</th><th scope="col">What it is</th></tr></thead><tbody><tr><td><code>DATABASE_URL</code></td><td>PostgreSQL through the session pooler, with <code>sslmode=verify-full</code></td></tr><tr><td><code>DASTER_URL</code></td><td>The address of your project's data API</td></tr><tr><td><code>DASTER_SERVER_KEY</code></td><td>The project environment's server key</td></tr></tbody></table></div>
<p>Pass <code>DATABASE_URL</code> to your PostgreSQL driver or ORM. Or use the SDK on your server (<code>npm install @dasterhq/daster</code>):</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TypeScript</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TypeScript code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TypeScript code"><code><span class="tk-k">import</span> { createServiceClient } <span class="tk-k">from</span> <span class="tk-s">'@dasterhq/daster'</span>;

<span class="tk-k">const</span> db = createServiceClient({
  projectId: process.env.DASTER_PROJECT_ID!,
  serverKey: process.env.DASTER_SERVER_KEY!,
});

<span class="tk-k">const</span> { rows } = <span class="tk-k">await</span> db.database.select(<span class="tk-s">'todos'</span>, { eq: { done: <span class="tk-k">false</span> }, limit: <span class="tk-n">20</span> });
<span class="tk-k">await</span> db.database.insert(<span class="tk-s">'todos'</span>, { title: <span class="tk-s">'Ship the first version'</span>, done: <span class="tk-k">false</span> });</code></pre></div>
<p>Set <code>DASTER_PROJECT_ID</code> yourself as a variable. The server key bypasses row-level security, so filter every query on the server.</p></div></li></ol>
<h2 id="what-should-i-know-before-i-start" class="docs-h">What should I know before I start?</h2>
<ul><li><strong>The database is private to DASTER.</strong> All three databases accept connections only from apps hosted on DASTER today. <code>psql</code>, <code>pg_dump</code> or an app hosted somewhere else cannot connect yet; use the <strong>SQL Editor</strong>, the API or the data API instead.</li><li><strong>Variables are not passed to build commands.</strong> Read settings at runtime, not while the app builds.</li><li><strong>Preview deployments never receive the connection</strong>, so a branch preview cannot touch your Development data.</li><li><strong>A full database turns read-only.</strong> Writes are refused with <code>database_storage_full</code> and reads keep working. The Usage card warns from 80 %.</li><li><strong>Prices are not final.</strong> The <a href="https://daster.io/pricing/">pricing page</a> explains how the plan and the wallet work.</li></ul>
<p>When the app works in Development, owners and admins can use <strong>Promote to Production</strong> to run the same image in Production, without building it again. See <a href="https://daster.io/docs/getting-started/connect-once/">Connect once</a> for every variable and <a href="https://daster.io/docs/databases/postgresql/">PostgreSQL</a> for sizes and tabs.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-a-full-stack-app-on-daster" class="docs-h">Questions about hosting a full-stack app on DASTER</h2>
<h3 id="do-i-have-to-copy-a-connection-string-into-my-app" class="docs-h">Do I have to copy a connection string into my app?</h3>
<p>No. An app hosted on DASTER receives <code>DATABASE_URL</code>, <code>DASTER_URL</code> and <code>DASTER_SERVER_KEY</code> at every deployment once Backend Cloud is ready. A variable you set yourself under one of these names is kept.</p>
<h3 id="can-i-connect-to-the-database-from-my-laptop" class="docs-h">Can I connect to the database from my laptop?</h3>
<p>Not yet. The poolers accept connections only from apps hosted on DASTER. Use the <strong>SQL Editor</strong>, the API or the data API to work with your data from outside.</p>
<h3 id="which-database-should-i-pick" class="docs-h">Which database should I pick?</h3>
<p>PostgreSQL for a new app. Pick the MongoDB-compatible Document Database or the MySQL-compatible SQL Database when your code already uses those drivers; hosted apps get <code>MONGODB_URL</code> or <code>MYSQL_URL</code> for them.</p>
<h3 id="can-the-frontend-and-the-api-be-one-service" class="docs-h">Can the frontend and the API be one service?</h3>
<p>Yes, when one Node server serves both, as a Next.js app does. You can also run them as two web services in the same project; both receive the same connection.</p>
<h3 id="how-big-can-the-database-get" class="docs-h">How big can the database get?</h3>
<p>Free and Nano start at 512 MB. On Nano you can add storage in 1 GB steps, up to 2 GB more. Small and Medium are not offered in Mumbai yet.</p>]]></content:encoded>
    </item>
    <item>
      <title>Host a static site by uploading a zip</title>
      <link>https://daster.io/blog/host-static-site-from-zip/</link>
      <guid isPermaLink="true">https://daster.io/blog/host-static-site-from-zip/</guid>
      <pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>Static site</category>
      <category>Zip</category>
      <category>CLI</category>
      <description>Put a static website on DASTER from a folder or a .zip of up to 100 MB, with one command or one upload in the Dashboard, and give it your own domain.</description>
      <content:encoded><![CDATA[<p>To host a static website from a zip on DASTER, put the site in a folder with an <code>index.html</code> and run <code>daster deploy ./site --name my-site</code>, or upload a .zip of up to 100 MB under <strong>Hosting › Deploy an app › Upload a .zip</strong>. After you approve the charge, the site answers at <code>https://&lt;app id&gt;.apps.daster.io</code>.</p>
<p>A static site is a folder of HTML, CSS, JavaScript and images: a landing page, a portfolio, documentation, or the output of a site generator. It needs no GitHub repository and no server code. DASTER Hosting runs it in Mumbai (<code>ap-south-1</code>) from a .zip, and the <code>daster</code> command makes the .zip for you.</p>
<h2 id="before-you-start" class="docs-h">Before you start</h2>
<ul><li>You have a DASTER project. DASTER is in testing: new accounts come from the waitlist.</li><li>Your organization's wallet has money in it. Before a deploy starts, DASTER checks that the wallet can pay the next hour of everything you run on Hosting.</li><li>Your site has an <code>index.html</code> at the top of its folder. If a build tool makes the site, run the build first and deploy its output folder, such as <code>dist</code>.</li></ul>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="install-the-daster-command" class="docs-h">Install the daster command</h2><div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>npm install <span class="tk-p">--global</span> @dasterhq/daster
daster <span class="tk-p">--version</span></code></pre></div>
<p>You can also run it once with <code>npx @dasterhq/daster</code>.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="sign-in-with-deploys-allowed" class="docs-h">Sign in with deploys allowed</h2><div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster login <span class="tk-p">--write</span></code></pre></div>
<p>The command prints an address. Open it while signed in to DASTER, choose the <strong>Organization</strong>, <strong>Project</strong> and <strong>Environment</strong>, tick <strong>Upload, deploy websites and connect databases</strong> and choose <strong>Allow</strong>. The command waits up to 10 minutes for you.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="deploy-the-folder" class="docs-h">Deploy the folder</h2><div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster deploy ./site <span class="tk-p">--name</span> my-site</code></pre></div>
<p>The command zips the folder. A folder with an <code>index.html</code> and no <code>package.json</code> or <code>Dockerfile</code> is a plain site: the command places it in <code>public/</code>, which Hosting serves. It leaves out <code>.git</code>, <code>node_modules</code>, <code>.env</code> files (<code>.env.example</code> is kept), <code>.pem</code>, <code>.key</code>, <code>.p12</code> and <code>.pfx</code> files, <code>.aws</code>, <code>.ssh</code> and symbolic links. The archive may be at most 100 MB. You can also pass a <code>.zip</code> file you made yourself.</p>
<p>The name comes from <code>--name</code>, or from the folder name, as lowercase letters, digits and hyphens, at most 40 characters.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="approve-the-charge" class="docs-h">Approve the charge</h2><p>Hosting charges your wallet, so the command prints "Approve this in DASTER (it charges your wallet):" with the address of <strong>Developer access › Approvals</strong>, and waits up to 15 minutes. Choose <strong>Approve once</strong> there. The command then prints <code>Deploying &lt;app id&gt; (deployment &lt;deployment id&gt;).</code></p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="check-the-site" class="docs-h">Check the site</h2><div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster call app_status <span class="tk-p">--args</span> <span class="tk-s">'{"appId":"&lt;app id&gt;"}'</span></code></pre></div>
<p>The answer shows the website's state and its address, <code>https://&lt;app id&gt;.apps.daster.io</code>.</p></div></li></ol>
<h2 id="can-i-upload-the-zip-in-the-dashboard-instead" class="docs-h">Can I upload the zip in the Dashboard instead?</h2>
<p>Yes. In <strong>Hosting</strong>, choose <strong>Deploy an app</strong>, then <strong>Upload a .zip</strong>, and pick a .zip of your site folder (up to 100 MB). DASTER detects how to build and run it, the same way as for a repository, and you review the settings before the deploy. For a plain HTML site you zip yourself, use the layout the command makes: the files inside a <code>public/</code> folder.</p>
<p>DASTER refuses archives with links, paths outside the folder or damage, and leaves out <code>node_modules</code>, <code>.git</code> and <code>.env</code> files.</p>
<h2 id="how-do-i-ship-a-new-version" class="docs-h">How do I ship a new version?</h2>
<p>Run the command again with the website's ID:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster deploy ./site <span class="tk-p">--app</span> &lt;app id&gt;</code></pre></div>
<p>In the Dashboard, use <strong>Build &amp; deploy settings › Deploy from a new .zip</strong>. Each new version waits for an approval, like the first one.</p>
<h2 id="can-i-put-my-own-domain-on-it" class="docs-h">Can I put my own domain on it?</h2>
<p>Yes. Open <strong>Domains</strong> in the project and connect a domain you already own. DASTER shows the DNS records to add at your DNS provider and sets up a free Let's Encrypt certificate. See <a href="https://daster.io/docs/domains/connect-a-domain/">Connect a domain</a>.</p>
<h2 id="what-does-a-static-site-cost" class="docs-h">What does a static site cost?</h2>
<p>Hosting is paid from your organization's wallet by the hour. On a web service's <strong>Scaling</strong> tab, <strong>Autoscale</strong> with a minimum of 0 lets it stop completely when nobody visits; you pay only for hours in which an instance ran, and the next visit waits a few seconds while one starts. Prices are not final: the <a href="https://daster.io/pricing/">pricing page</a> explains how billing works.</p>
<p>More in the docs: <a href="https://daster.io/docs/hosting/upload-images-autoscale-promote/">Upload a .zip, autoscale and promote</a> and <a href="https://daster.io/docs/sdk-cli-mcp/cli/">The daster command</a>.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-a-static-site-from-a-zip" class="docs-h">Questions about hosting a static site from a zip</h2>
<h3 id="how-large-can-the-zip-be" class="docs-h">How large can the zip be?</h3>
<p>Up to 100 MB, from the command and from the Dashboard. The command leaves <code>node_modules</code>, <code>.git</code> and <code>.env</code> files out of the archive it makes.</p>
<h3 id="do-i-need-github" class="docs-h">Do I need GitHub?</h3>
<p>No. A folder or a .zip is enough. If you later want a deploy on every push, connect a GitHub repository instead.</p>
<h3 id="can-i-deploy-a-react-or-vue-site" class="docs-h">Can I deploy a React or Vue site?</h3>
<p>Yes, as its build output. Run your build, then deploy the output folder, for example <code>daster deploy ./dist --name my-site</code>. The folder needs an <code>index.html</code>.</p>
<h3 id="can-my-ai-coding-tool-upload-the-site-for-me" class="docs-h">Can my AI coding tool upload the site for me?</h3>
<p>Yes. Through DASTER's MCP server, Claude Code or Cursor can upload a site's files or get a one-use link for a .zip of up to 100 MB, then create and deploy the website. Each deploy waits for your approval.</p>
<h3 id="where-does-the-site-run" class="docs-h">Where does the site run?</h3>
<p>In Mumbai (<code>ap-south-1</code>), the only region open today, at <code>https://&lt;app id&gt;.apps.daster.io</code> until you connect your own domain.</p>]]></content:encoded>
    </item>
    <item>
      <title>Hosting, database and email in one account</title>
      <link>https://daster.io/blog/hosting-database-email-one-account/</link>
      <guid isPermaLink="true">https://daster.io/blog/hosting-database-email-one-account/</guid>
      <pubDate>Tue, 24 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>PostgreSQL</category>
      <category>App email</category>
      <category>SaaS</category>
      <description>Run your app, its PostgreSQL database and its email from one DASTER account, with one project connection, one server key and one wallet.</description>
      <content:encoded><![CDATA[<p>DASTER puts hosting, databases and app email in one account. An organization holds your projects, your team and one wallet. Inside a project, a hosted app gets its database settings by itself, and the same server key sends email over an HTTP API or SMTP. Sign-in, file storage, realtime, push and domains sit in the same project.</p>
<p>A SaaS app usually needs three services from the first week: somewhere to run, a database and an email API for sign-up, receipt and reset messages. Spread over three providers, that means three dashboards, three sets of keys and three bills. This post shows how the same setup looks on DASTER, and where its limits are today.</p>
<h2 id="what-is-in-one-daster-account" class="docs-h">What is in one DASTER account?</h2>
<p>Everything lives in an <strong>organization</strong>: projects, team, plan and wallet. An App project can hold:</p>
<ul><li><strong>Hosting</strong>: web services, workers, cron jobs and functions, built from GitHub, a .zip or a public Docker image.</li><li><strong>Databases</strong>: PostgreSQL, a MongoDB-compatible Document Database and a MySQL-compatible SQL Database.</li><li><strong>Authentication, Storage and Realtime</strong>: sign-in for your app's users, file buckets and live events, next to PostgreSQL.</li><li><strong>App email</strong>: sending over HTTP or SMTP, templates, delivery logs, webhooks and receiving at <code>inbound.&lt;your domain&gt;</code>.</li><li><strong>Marketing email</strong> for campaigns to people who opted in, and <strong>Push notifications</strong>.</li><li><strong>Domains</strong>: connect a domain you own, with a free Let's Encrypt certificate.</li></ul>
<p>Everything runs in Mumbai (<code>ap-south-1</code>). The Dashboard and the API are at <code>https://app.daster.io</code>.</p>
<h2 id="how-does-one-connection-reach-every-service" class="docs-h">How does one connection reach every service?</h2>
<p>You connect an app to a project once. An app you deploy on DASTER receives these variables at every deployment, with no click:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Variable, Used for"><table><thead><tr><th scope="col">Variable</th><th scope="col">Used for</th></tr></thead><tbody><tr><td><code>DATABASE_URL</code></td><td>PostgreSQL, through the session pooler</td></tr><tr><td><code>DASTER_URL</code></td><td>The project's data API</td></tr><tr><td><code>DASTER_SERVER_KEY</code></td><td>Database, storage, realtime and App email</td></tr><tr><td><code>MYSQL_URL</code></td><td>The SQL Database, when the project has one</td></tr><tr><td><code>MONGODB_URL</code></td><td>The Document Database, when the project has one</td></tr></tbody></table></div>
<p>An app hosted somewhere else copies one block of variables from <strong>Project settings › Connection</strong> and pastes it into its environment once. <code>DASTER_URL</code> and the keys work from anywhere; <code>DATABASE_URL</code> works only inside DASTER for now.</p>
<h2 id="how-does-a-saas-app-send-email" class="docs-h">How does a SaaS app send email?</h2>
<p>Turn on <strong>App email</strong> in the project, add your sender domain and publish the <strong>DKIM</strong>, <strong>SPF</strong> and <strong>DMARC</strong> records it shows at your DNS provider. Choose <strong>Check records</strong>; once they are verified, the domain can send.</p>
<p>Then send from your server with the server key, or a narrower key with <strong>Sending</strong> access from <strong>App email › Settings</strong>:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">HTTP</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy HTTP code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="HTTP code"><code><span class="tk-k">POST</span> https://app.daster.io/communications/v1/projects/{projectId}/email/send
<span class="tk-p">Authorization</span>: Bearer daster_sk_dev_…
<span class="tk-p">Idempotency-Key</span>: welcome-user-<span class="tk-n">42</span>
<span class="tk-p">Content-Type</span>: application/json

{
  <span class="tk-p">"from"</span>: <span class="tk-s">"hello@example.com"</span>,
  <span class="tk-p">"to"</span>: <span class="tk-s">"user@example.com"</span>,
  <span class="tk-p">"subject"</span>: <span class="tk-s">"Welcome"</span>,
  <span class="tk-p">"text"</span>: <span class="tk-s">"Thanks for signing up."</span>
}</code></pre></div>
<p>The SDK wraps the same call. Give it a key that can send; <code>idempotencyKey</code> is required, so a retry never sends twice:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">TypeScript</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy TypeScript code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="TypeScript code"><code><span class="tk-k">import</span> { createCommunicationsClient } <span class="tk-k">from</span> <span class="tk-s">'@dasterhq/daster'</span>;

<span class="tk-k">const</span> messages = createCommunicationsClient({
  projectId: process.env.DASTER_PROJECT_ID!,
  credential: process.env.DASTER_EMAIL_KEY!,
});

<span class="tk-k">await</span> messages.sendMessage(
  {
    channel: <span class="tk-s">'email'</span>,
    to: <span class="tk-s">'ada@example.com'</span>,
    subject: <span class="tk-s">'Your receipt'</span>,
    text: <span class="tk-s">'Order 1042 confirmed.'</span>,
  },
  { idempotencyKey: <span class="tk-s">'receipt-1042'</span> },
);</code></pre></div>
<p>A framework mailer or a WordPress plugin that speaks only SMTP can use <code>smtp.daster.io</code> on port 465 or 587, with the project ID as the username and a key that can send as the password. SMTP messages go through the same queue, limits and <strong>Delivery logs</strong> as the API.</p>
<h2 id="how-much-email-can-i-send" class="docs-h">How much email can I send?</h2>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Limit, Value"><table><thead><tr><th scope="col">Limit</th><th scope="col">Value</th></tr></thead><tbody><tr><td>Per project environment</td><td>200 emails a UTC day, 5,000 a UTC month</td></tr><tr><td>Per organization, across all projects</td><td>200 a day, 5,000 a month</td></tr></tbody></table></div>
<p>A send past a limit answers <code>429 email_quota_exceeded</code>, with the limit, the count and when it resets. <strong>Metrics</strong> shows today and this month.</p>
<h2 id="how-is-it-billed" class="docs-h">How is it billed?</h2>
<p>One plan and one wallet pay for every project. Usage is measured by DASTER and paid from your plan's included credit first, then promotional credit, then cash. You can set a monthly alert and a hard limit for the organization or one project, and usage past an enforced hard limit is refused. Top-ups are paid in USDT on BNB Smart Chain; card payments are not available yet. Prices are not final: see the <a href="https://daster.io/pricing/">pricing page</a>.</p>
<h2 id="what-should-i-know-before-i-start" class="docs-h">What should I know before I start?</h2>
<ul><li>Databases accept connections only from apps hosted on DASTER today.</li><li>Browser keys (<code>daster_pk_…</code>) cannot send email. Send from your server.</li><li>Buying a domain through DASTER is not open yet; connecting one you own works.</li><li>Every service except Hosting works in the project's Development environment today.</li></ul>
<p>The details are in the docs: <a href="https://daster.io/docs/messaging/app-email/">App email</a>, <a href="https://daster.io/docs/getting-started/connect-once/">Connect once</a> and <a href="https://daster.io/docs/messaging/smtp/">Send over SMTP</a>.</p>
<p>DASTER is in testing and sign-up is waitlist-only. <a href="https://app.daster.io/#signin.waitlist" target="_blank" rel="noopener noreferrer">Join the waitlist</a> and you get access 20 days after you join.</p>
<h2 id="questions-about-hosting-database-and-email-on-daster" class="docs-h">Questions about hosting, database and email on DASTER</h2>
<h3 id="can-i-use-the-email-api-from-an-app-hosted-somewhere-else" class="docs-h">Can I use the email API from an app hosted somewhere else?</h3>
<p>Yes. Send over HTTP or SMTP with a project key from your server, wherever it runs. Only the database connection string is limited to apps hosted on DASTER today.</p>
<h3 id="do-i-need-a-separate-key-for-email" class="docs-h">Do I need a separate key for email?</h3>
<p>No. The project's server key can send and read App email. If you want a key that can only send, create one under <strong>App email › Settings</strong> with <strong>Sending</strong> access, optionally limited to one domain.</p>
<h3 id="can-my-app-receive-email-too" class="docs-h">Can my app receive email too?</h3>
<p>Yes. <strong>Receiving</strong> takes mail sent to addresses at <code>inbound.&lt;your domain&gt;</code> once you add its MX record, and routes it to a webhook or keeps it for the API.</p>
<h3 id="can-i-send-newsletters-from-the-same-account" class="docs-h">Can I send newsletters from the same account?</h3>
<p>Yes, with <strong>Marketing email</strong>: campaigns to contacts who agreed to receive them, organized in topics and segments. Campaign sends count toward the same email limits.</p>
<h3 id="does-every-service-need-its-own-bill" class="docs-h">Does every service need its own bill?</h3>
<p>No. One plan and one wallet per organization pay for hosting, databases, email and the rest, and <strong>Usage by project</strong> shows what each project used.</p>]]></content:encoded>
    </item>
    <item>
      <title>Connect Claude Code or Cursor to your cloud with MCP</title>
      <link>https://daster.io/blog/connect-claude-code-cursor-mcp/</link>
      <guid isPermaLink="true">https://daster.io/blog/connect-claude-code-cursor-mcp/</guid>
      <pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>MCP</category>
      <category>Claude Code</category>
      <category>Cursor</category>
      <category>AI tools</category>
      <description>Add DASTER's MCP server to Claude Code or Cursor, approve one project, and decide whether the tool may only read or may also deploy.</description>
      <content:encoded><![CDATA[<p>To connect Claude Code or Cursor to DASTER, add the MCP server <code>https://app.daster.io/mcp</code> to the tool, sign in through your browser and approve one project and environment. The tool can then read your websites, databases and logs and, if you allow it, deploy. Calls that can charge your wallet wait for your approval in the Dashboard.</p>
<p>Your AI coding tool can already read your code. With MCP it can also see your project on DASTER: its websites, databases and logs. This post shows the setup for Claude Code and Cursor, and what the tool can and cannot do once it is connected.</p>
<h2 id="what-you-connect-to" class="docs-h">What you connect to</h2>
<p>DASTER runs an MCP server at <code>https://app.daster.io/mcp</code>. It uses the Streamable HTTP transport and OAuth 2.1 with PKCE. The tool opens the DASTER sign-in page in your browser and gets its own tokens, so you never paste a key into it.</p>
<p>Every connection covers one project and one environment. You choose which when you approve it.</p>
<h2 id="claude-code" class="docs-h">Claude Code</h2>
<p>In your project folder, add the server:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>claude mcp add <span class="tk-p">--transport</span> http daster https://app.daster.io/mcp</code></pre></div>
<p>Then type <code>/mcp</code> in Claude Code, choose <strong>daster</strong> and then <strong>Authenticate</strong>. Your browser opens the DASTER approval page.</p>
<h2 id="cursor" class="docs-h">Cursor</h2>
<p>Add the server to <code>.cursor/mcp.json</code> in your project. The <code>daster</code> command can write the entry for you, and it keeps your other servers:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>npx @dasterhq/daster setup cursor <span class="tk-p">--write</span></code></pre></div>
<p>This is the entry it writes:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">JSON</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy JSON code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="JSON code"><code>{
  <span class="tk-p">"mcpServers"</span>: {
    <span class="tk-p">"daster"</span>: { <span class="tk-p">"url"</span>: <span class="tk-s">"https://app.daster.io/mcp"</span> }
  }
}</code></pre></div>
<p>Open <strong>Cursor Settings › MCP</strong> and choose <strong>Connect</strong> next to <strong>daster</strong>.</p>
<h2 id="approve-the-connection" class="docs-h">Approve the connection</h2>
<p>On the DASTER page:</p>
<ol><li>Choose the organization, project and environment the tool may use.</li><li>Reading the project, websites, databases and logs is always allowed. Tick <strong>Upload, deploy websites and connect databases</strong> only if the tool may make changes.</li><li>Choose <strong>Allow</strong>.</li></ol>
<p>Start read-only. You can connect again with changes allowed when you need them.</p>
<h2 id="what-the-tool-can-do" class="docs-h">What the tool can do</h2>
<p>The tool sees only the tools its connection allows. A few of them:</p>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Tool, What it does"><table><thead><tr><th scope="col">Tool</th><th scope="col">What it does</th></tr></thead><tbody><tr><td><code>project_overview</code></td><td>Read the project, its environment and services</td></tr><tr><td><code>app_status</code>, <code>app_build_logs</code>, <code>app_runtime_logs</code></td><td>Read a website's state, deployments and logs</td></tr><tr><td><code>app_create</code>, <code>app_deploy</code></td><td>Create a website on Hosting, or deploy a new version</td></tr><tr><td><code>database_create</code></td><td>Create a PostgreSQL, MySQL-compatible or MongoDB-compatible database</td></tr><tr><td><code>database_connect_app</code></td><td>Give a website its database settings</td></tr></tbody></table></div>
<p>Run <code>daster tools</code> to list every tool your connection may call. The MCP server cannot delete anything, send email, change domains or change your team.</p>
<h2 id="calls-that-wait-for-you" class="docs-h">Calls that wait for you</h2>
<p>Some calls do not run straight away. Every call that can charge your wallet (<code>app_create</code>, <code>app_deploy</code>, <code>database_create</code> and <code>database_connect_app</code>) and every change outside Development answers <code>approval_required</code>. Open <strong>Developer access › Approvals</strong> in the Dashboard and choose <strong>Approve once</strong> or <strong>Deny</strong>. An approval covers exactly that request, once. Reads never need one.</p>
<h2 id="tools-that-only-start-local-servers" class="docs-h">Tools that only start local servers</h2>
<p>If your tool, or your company's policy, allows only MCP servers that run as a local process, sign in with the <code>daster</code> command and let the tool start its bridge:</p>
<div class="docs-code" data-docs-code=""><div class="docs-code-bar"><span class="docs-code-lang">Terminal</span><button type="button" class="docs-copy" data-docs-copy="" aria-label="Copy Terminal code"><svg class="docs-ic" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect width="14" height="14" x="8" y="8" rx="2" ry="2" /><path d="M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2" /></svg><span class="docs-copy-t">Copy</span></button></div><pre class="docs-pre" tabindex="0" aria-label="Terminal code"><code>daster login <span class="tk-p">--write</span>
daster setup claude-code <span class="tk-p">--stdio</span></code></pre></div>
<p>For Claude Code, the printed configuration is <code>claude mcp add daster -- daster mcp</code>.</p>
<h2 id="see-and-end-connections" class="docs-h">See and end connections</h2>
<p><strong>Developer access › Connections</strong> lists the AI tools connected under your account, with the project, the access and when each was last used. <strong>Disconnect</strong> ends a connection at once.</p>
<p>The full reference is in the docs: <a href="https://daster.io/docs/sdk-cli-mcp/mcp/">Connect an AI tool (MCP)</a>.</p>
<h2 id="questions-about-connecting-an-ai-tool-to-daster" class="docs-h">Questions about connecting an AI tool to DASTER</h2>
<h3 id="which-ai-tools-can-connect" class="docs-h">Which AI tools can connect?</h3>
<p>Tools that run on your own computer: Claude Code, Cursor, VS Code with GitHub Copilot and the OpenAI Codex CLI. Tools that sign in from their vendor's servers can connect only once DASTER accepts that vendor's sign-in address.</p>
<h3 id="does-the-tool-need-an-api-key" class="docs-h">Does the tool need an API key?</h3>
<p>No. It signs in with OAuth 2.1 and PKCE through your browser and gets its own tokens. Nothing is pasted into the tool.</p>
<h3 id="which-project-can-the-tool-see" class="docs-h">Which project can the tool see?</h3>
<p>Only the one you choose when you approve the connection: one organization, one project and one environment. Connect again to use another project.</p>
<h3 id="do-reads-need-my-approval" class="docs-h">Do reads need my approval?</h3>
<p>No. Reads never need one. Calls that can charge your wallet, and changes outside Development, wait in <strong>Developer access › Approvals</strong>.</p>
<h3 id="what-can-the-tool-never-do" class="docs-h">What can the tool never do?</h3>
<p>The MCP server cannot delete anything, send email, change domains or change your team.</p>]]></content:encoded>
    </item>
    <item>
      <title>Deploy a Next.js app from GitHub to the Mumbai region</title>
      <link>https://daster.io/blog/deploy-nextjs-github-mumbai/</link>
      <guid isPermaLink="true">https://daster.io/blog/deploy-nextjs-github-mumbai/</guid>
      <pubDate>Sat, 21 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>DASTER</dc:creator>
      <category>Hosting</category>
      <category>Next.js</category>
      <category>GitHub</category>
      <category>Deploy</category>
      <description>Connect GitHub, review the build settings DASTER detects, deploy to Development and promote the same image to Production, in Mumbai.</description>
      <content:encoded><![CDATA[<p>To deploy a Next.js app from GitHub on DASTER, connect GitHub, pick the repository in <strong>Deploy an app</strong>, check the commands DASTER detects (<code>npm install</code>, <code>npm run build</code>, <code>npm start</code>), set the port to 3000 and deploy to Development. The app runs in Mumbai at <code>https://&lt;app id&gt;.apps.daster.io</code>, and you can promote the same image to Production.</p>
<p>DASTER Hosting runs apps in Mumbai (<code>ap-south-1</code>). It builds from a GitHub repository, a .zip or a public Docker image, and it runs Node and npm servers. A Next.js app that builds with <code>next build</code> and serves with <code>next start</code> is one of them. These are the steps from repository to a live address.</p>
<h2 id="before-you-start" class="docs-h">Before you start</h2>
<ul><li>Your Next.js app is in a GitHub repository, with <code>build</code> and <code>start</code> scripts in <code>package.json</code> (<code>next build</code> and <code>next start</code>).</li><li>You have a DASTER project. DASTER is in testing: new accounts come from the waitlist.</li><li>Your organization's wallet has money in it. Before a deploy starts, DASTER checks that the wallet can pay the next hour of everything you run on Hosting.</li></ul>
<ol class="docs-steps" role="list"><li class="docs-step"><span class="docs-step-n" aria-hidden="true">1</span><div class="docs-step-body"><h2 id="connect-github" class="docs-h">Connect GitHub</h2><p>Open <strong>Hosting › Build &amp; deploy settings</strong> and choose <strong>Connect GitHub</strong>. DASTER's GitHub App reads your repositories' contents and metadata, nothing else, and receives push and branch-delete events.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">2</span><div class="docs-step-body"><h2 id="pick-the-repository" class="docs-h">Pick the repository</h2><p>In <strong>Hosting</strong>, choose <strong>Deploy an app</strong>. Pick <strong>Web service</strong> and a size, then search for your repository under <strong>Source</strong> and pick it and its branch. If the app lives in a subfolder, set the root directory.</p>
<p>DASTER inspects the selected commit and fills in what it detected. It runs no command at this point.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">3</span><div class="docs-step-body"><h2 id="review-the-build-settings" class="docs-h">Review the build settings</h2><p>Check the install, build and start commands. For a typical Next.js app they are <code>npm install</code>, <code>npm run build</code> and <code>npm start</code>.</p>
<p>Set the port to the one your app listens on: <code>next start</code> uses port 3000 unless you set <code>-p</code> or <code>PORT</code>. Set a health check path that answers quickly, such as <code>/</code> or a small API route.</p></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">4</span><div class="docs-step-body"><h2 id="add-variables" class="docs-h">Add variables</h2><p>Add the app's variables for Development. A service can have up to 64 of them, and the values are encrypted at rest.</p>
<p>One thing to know for Next.js: variables are not passed to build commands. Values that <code>next build</code> writes into the browser bundle, such as <code>NEXT_PUBLIC_*</code> variables, are not available while it builds. Keep server-side settings as variables and read them at runtime.</p>
<div class="docs-callout docs-callout-warning" role="note"><svg class="docs-ic" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3" /><path d="M12 9v4" /><path d="M12 17h.01" /></svg><div><p><strong>Warning:</strong> Log lines are redacted, but only values of 8 characters or more are searched for. Keep secrets at least 8 characters long.</p></div></div></div></li><li class="docs-step"><span class="docs-step-n" aria-hidden="true">5</span><div class="docs-step-body"><h2 id="deploy" class="docs-h">Deploy</h2><p>Choose <strong>Review</strong>, then <strong>Deploy to Development</strong>, and follow the build to <strong>LIVE</strong>. The live card shows the address, <code>https://&lt;app id&gt;.apps.daster.io</code>.</p>
<p><strong>Deploy on every push</strong> is on for the new service, so the next push to its branch deploys again. Turn on <strong>Preview deployments</strong> in <strong>Build &amp; deploy settings</strong> to get a preview for pushes to other branches.</p></div></li></ol>
<h2 id="sizes-and-scaling" class="docs-h">Sizes and scaling</h2>
<div class="docs-table" role="region" tabindex="0" aria-label="Table: Size, One instance, Instances"><table><thead><tr><th scope="col">Size</th><th scope="col">One instance</th><th scope="col">Instances</th></tr></thead><tbody><tr><td>Starter</td><td>0.5 vCPU · 256 MB</td><td>1–2</td></tr><tr><td>Standard</td><td>1 vCPU · 1 GB</td><td>1–2</td></tr></tbody></table></div>
<p>If your app runs out of memory on Starter, choose Standard. You change the size or the number of instances on the service's <strong>Scaling</strong> tab, and the change applies with the next deployment. Prices are not final; the Dashboard shows the current ones.</p>
<p>With <strong>Autoscale</strong>, a web service adds and removes instances with its traffic, between a minimum and a maximum (up to 2 today). A minimum of 0 lets it stop when nobody visits; the next visit then waits a few seconds while an instance starts.</p>
<h2 id="promote-to-production" class="docs-h">Promote to Production</h2>
<p>Owners and admins can use <strong>Build &amp; deploy settings › Promote to Production</strong>. It runs the exact image of your live Development deployment in Production, without building it again. Production keeps its own variables, and <strong>Roll back Production</strong> returns it to its previous release.</p>
<h2 id="use-your-own-domain" class="docs-h">Use your own domain</h2>
<p>Connect a domain you already own under <strong>Domains</strong>. DASTER shows the DNS records to add and sets up a free Let's Encrypt certificate. See <a href="https://daster.io/docs/domains/connect-a-domain/">Connect a domain</a>.</p>
<p>The steps above are in the docs too: <a href="https://daster.io/docs/hosting/deploy-from-github/">Deploy from GitHub</a> and <a href="https://daster.io/docs/hosting/sizes-and-scaling/">Sizes and scaling</a>.</p>
<h2 id="questions-about-deploying-nextjs-on-daster" class="docs-h">Questions about deploying Next.js on DASTER</h2>
<h3 id="which-scripts-does-my-nextjs-app-need" class="docs-h">Which scripts does my Next.js app need?</h3>
<p>A <code>build</code> script that runs <code>next build</code> and a <code>start</code> script that runs <code>next start</code>. DASTER then fills in <code>npm install</code>, <code>npm run build</code> and <code>npm start</code> for you to review.</p>
<h3 id="which-port-do-i-set" class="docs-h">Which port do I set?</h3>
<p>The port your app listens on. <code>next start</code> uses 3000 unless you pass <code>-p</code> or set <code>PORT</code>.</p>
<h3 id="why-are-my-nextpublic-variables-empty-after-the-build" class="docs-h">Why are my NEXT_PUBLIC_ variables empty after the build?</h3>
<p>Variables are not passed to build commands, and <code>next build</code> writes <code>NEXT_PUBLIC_*</code> values into the browser bundle while it builds. Keep settings as variables and read them on the server at runtime.</p>
<h3 id="how-do-i-ship-a-new-version" class="docs-h">How do I ship a new version?</h3>
<p>Push to the service's branch. <strong>Deploy on every push</strong> is on for a service created from GitHub, so each push deploys again. <strong>Redeploy</strong> builds the branch again by hand.</p>
<h3 id="can-i-go-back-to-an-earlier-version" class="docs-h">Can I go back to an earlier version?</h3>
<p>Yes. <strong>Roll back</strong> reuses the image of an earlier deployment and needs a sign-in within the last 10 minutes. In Production, <strong>Roll back Production</strong> returns it to its previous release.</p>]]></content:encoded>
    </item>
  </channel>
</rss>
