Static Hosting

Static hosting, two ways to start

Upload static files in your browser, or ask the AI you already use to help you publish. Start with a temporary preview, then choose an eligible domain for ongoing hosting.

Upload in your browser

Upload directly here

Choose HTML, a ZIP or a folder, paste code, or start with an example. Check the preview first, then connect your domain and confirm publication.

Upload in your browser

Publish with your own AI

Send these instructions to the AI you already use. It can help prepare your website files and guide you through publishing.

Publishing instructions for your AI

Help me publish my website with NamesLink Static Hosting. Inspect my website files or current project and identify deployable static output (a complete HTML file or a built directory containing index.html). Explain any backend dependency; do not upload source secrets or run unfamiliar build scripts without review.

Check whether NamesLink CLI is installed; if missing, propose npm install -g nameslink. Read nameslink --help and nameslink site hosted --help, then check nameslink site hosted capability --json. If this installed version or server does not support the workflow, explain the limitation and offer https://www.nameslink.com/en/static-hosting/upload; do not invent commands.

Guide me through nameslink login when needed, including browser authorization or MFA; never ask me to paste a password, OTP or token into this chat.

Show the files, limits and intended action before asking me to approve upload. Use the documented preview command for the selected output; reuse the existing hostedSiteId when updating.

Return the verified preview URL, expiry and original operation reference. A pending or unknown operation is not success: inspect the original operation without submitting another key.

Only publish to an eligible NamesLink-managed domain after I separately confirm the full destination and any DNS changes. Do not buy a domain or charge my account without separate approval.

About NamesLink CLI

From local files to a live preview

  1. Choose how to publish

    Open the browser workbench or use the AI publishing instructions. Both use the same static hosting capability.

  2. Check the preview

    Inspect layout locally, then confirm publication and test the shared link.

  3. Keep the site on your domain

    Review the eligible domain and destination, authorize publication, and wait for the verified website result.

Static HTML, CSS and browser JavaScript. Up to 1,000 files and 25 MiB in total, including unpacked ZIP contents. New previews last 3 hours; the returned expiry time is authoritative.

For ongoing hosting, publish to an eligible NamesLink-managed domain with an available hosting resource. New external-domain bindings and root-domain publishing are not supported. Review the destination and any DNS changes before approval.

A small site you can inspect

Inspect the example HTML, then upload it or paste its source into the workbench.

Download example HTML
<h1>My static site</h1>
  <p>
    A complete HTML example. Replace this sample text with your own content
    before sharing.
  </p>
  <a href="#about">About this page</a>
  <section id="about">
    <h2>Everything in one file</h2>
    <p>
      This document uses inline CSS, an internal link and no external services.
    </p>
  </section>

Choose your starting point

Questions before you publish

What is the difference between local and shared preview?
Local preview is isolated: it shows packaged styles and images but disables scripts and network requests. Test browser interactions on the published preview.
Do I need to sign in?
You can prepare files and inspect a local preview before signing in. Creating a shared preview requires a NamesLink account and explicit publication.
Will this link last forever?
No. A temporary preview has a fixed expiry and is not indexed by search engines. Ongoing hosting requires an eligible domain and a separate confirmed publication.
Can this run a server or a database?
No. Upload static build output. Node.js, PHP, Python servers, databases and private API credentials belong in a separate backend.