Host documentation at a /docs subdirectory using AWS services
Create distribution
[SUBDOMAIN].mintlify.dev
where [SUBDOMAIN]
is the project’s unique subdomain. Click on Use: [SUBDOMAIN].mintlify.dev
Caching Optimized
.
Create distribution
.
Origins
tab.
.webflow.io
.If you use Vercel, you use the .vercel.app
domain available for every project.[SUBDOMAIN].mintlify.app
and another with with staging URL.
[SUBDOMAIN].mintlify.dev
Create behavior
button.
/docs/*
/docs/*
with Origin and origin groups pointing to the .mintlify.dev
URL (in our case acme.mintlify.dev
)
CachingOptimized
and create behavior.
/docs
/docs
and Origin and origin groups pointing to the same .mintlify.dev
URL.
Default (*)
Default (*)
behavior.
mintlify-landing-page.vercel.app
).
Save changes
.
General
tab and visiting the Distribution domain name URL.
/docs
to the URL, you should see it going to the Mintlify documentation instance.
Hosted zone
for your primary domain. Click on Create record
Alias
and then Route traffic to the Alias to CloudFront distribution
option.
Create records
.
/docs
for your primary domain.