Hostname
Use the host visitors will request. Public DNS must point it to the server or load balancer.
Daptin
Run Daptin →
Sites guide
Create a storage connection, map it to a hostname and path, load content, synchronize the cache, and test the public route before adding access controls or TLS.
Before you start
You need a hostname that resolves to the deployment, a directory
of static output, and a cloud store that can read that directory.
Start with localstore before introducing remote
credentials and synchronization.
Use the host visitors will request. Public DNS must point it to the server or load balancer.
Choose the directory within storage and avoid overlapping host and path combinations.
Build static HTML, CSS, JavaScript, images, or generated documentation into that directory.
Create the credential and set the cloud store's
credential_name to its exact name.
Configuration sequence
index.html at its root for the initial test.
site.storage.sync or restart where required so the
cache and route load.
Optional controls
Configure the site username and bcrypt password hash. Verify anonymous and incorrect credentials are denied.
Associate a certificate matching the hostname and test SNI selection when hosting several TLS sites.
TLS guide →
Enable FTP globally and set ftpenabled for the
site. Verify access is limited to the intended path.
Change a file in the provider, synchronize the site, and confirm the public response refreshes.
Cloud storage →Verification
Daptin Sites serves static files and generated output. Put dynamic behavior behind APIs and actions; do not treat it as a general server-side code runtime.