Site Builder: Self-hosting a Downloaded Site
Download your site from the builder as a .zip, learn what every file in it does (pages, assets, sitemap.xml, robots.txt, _redirects, .htaccess), and upload it to Apache, Netlify, Cloudflare Pages or any static host.
You can take your site out of BillionBiz as a folder of plain static files and serve it from any web host. This page covers how to download the .zip, what is inside it, how to use the redirect files on Apache, Netlify and Cloudflare Pages, and why a sitemap.xml may be missing.
Download the .zip
Open the builder
Go to Hosting, open Hosted Apps, open your site and click Edit in Builder.
Open More, then Export
In the top toolbar click More, then click Export.
Click Download .zip (multi-page)
The other choice in the same menu is Download single file, which gives one HTML file and does not include the files described below. Pick Download .zip (multi-page).
Wait for the confirmation
The builder packs your pages and images, then your browser saves the file, named after your home page's Page URL when you have set one, otherwise after your brand or site name (for example meridian-partners.zip). The toolbar shows "Downloaded" followed by the file name. If something goes wrong it shows "Export failed" with the reason and a Dismiss button.
Unzip the file before uploading. Upload the contents of the folder so that index.html sits at the root of your web host, not inside an extra folder.
What is in the zip
| File or folder | What it is |
|---|---|
index.html | Your home page. |
about.html, pricing.html and so on | One file per other page, named after the page's Page URL. A nested page (for example About with a child Team) is a file inside a folder, such as about/team.html. |
404.html | The page shown for an address that does not exist. It is your chosen not-found page, or a simple branded one the builder creates if you have not chosen one. See Not-found (404) page. |
assets/ | The images and other uploaded files your pages use, copied into the zip so the site works offline from your host. |
fonts/ | The font files for any curated fonts your pages use. |
wb-stock/ | Stock photos your pages use, only present when a page uses one. |
robots.txt | Tells search engines what they may crawl. Always included. |
sitemap.xml | The list of pages for search engines. Included when the builder knows the site's public address, see below. |
_redirects | Your redirect rules in the format Netlify and Cloudflare Pages read. Only present when the site has redirects. |
.htaccess | The same redirect rules in the format Apache reads. Only present when the site has redirects. |
_redirects.json | The raw list of your redirect rules, the same file BillionBiz hosting reads. Self-hosts ignore it. |
Dot files
.htaccess starts with a dot, so your file manager or operating system may hide it. Turn on "show hidden files" to see it, and make sure your upload tool includes it.
robots.txt and sitemap.xml
robots.txt allows all crawlers, including the common AI crawlers, to read the whole site. It is the same rule BillionBiz hosting applies.
sitemap.xml lists your pages with their last-changed date when one is known. It needs full web addresses, so the builder only creates it when it knows the site's public address. That is the site's custom domain once its DNS is verified, otherwise the site's hosted address (https:// followed by your site's address name, not its display name, and the BillionBiz sites domain; the Domains tab of your site shows the free address), whether or not you have published. If the address could not be loaded when you downloaded, the zip has no sitemap.xml, and robots.txt carries a comment line instead of a Sitemap: line:
# No Sitemap line: the export did not know the site's public URL, so sitemap.xml was not generated.
When it is created, the sitemap leaves out two kinds of page:
- Pages hidden from search engines. A page where Hide from search engines is on (see Page SEO).
- The 404 page. It answers "not found", so it is never advertised.
Each page is listed under its file address (for example https://example.com/about.html), and the home page as https://example.com/. If you will serve the site from a different domain than the one in the sitemap, edit the addresses in sitemap.xml and the Sitemap: line in robots.txt before you upload.
Redirects
The rules from the Redirects table in Site settings · SEO (see Redirects) are written into _redirects and .htaccess. Two details apply to both files:
- Each old address also forwards its
.htmlform. A rule for/oldalso forwards/old.html, because a static host servesold.htmlfor the clean address. A rule for an address that already ends in a file extension, such as/menu.pdf, gets no extra.htmlrule, and a rule is skipped if it would send an address to itself. - A real file wins. In
.htaccess, a redirect only applies when no file exists at the old address. If an old address still opens a page, that page exists in the zip; rename it or remove the rule.
The query string (the part after ?) is dropped on the Apache redirects: a visitor who opens /old?utm=1 lands on /about with no ?utm=1. This was checked against a real Apache server. How Netlify and Cloudflare Pages treat query strings on a _redirects rule is decided by those hosts, so test one old address with a query string after you upload.
A rule whose old address contains characters that cannot be written safely (control characters) is left out, and the file gets a comment line naming the rule number and the reason.
Use the files on your host
Apache
Upload everything
Upload the unzipped contents, including .htaccess, to the folder your domain serves.
Make sure Apache can read .htaccess
.htaccess redirects need the mod_rewrite module on, and AllowOverride set to allow rewrite rules (AllowOverride All is the common choice) for the folder. On shared hosting these are usually on already. On your own server, set them in the site's configuration and reload Apache.
Test an old address
Open one of your old addresses in the browser. You should land on its new address.
Netlify and Cloudflare Pages
Upload the folder as the site (drag it into the deploy screen, or point the project at it). Both hosts read the _redirects file at the root automatically. The .htaccess file is ignored by them; you can delete it.
Any other host
If your host is neither of the above, it will ignore both files. Use the host's own redirect setting and copy the rules from _redirects: each line is the old address, the new address, and the status code (301 or 302).
Troubleshooting
Why is there no sitemap.xml in my zip?
The builder only writes sitemap.xml when it knows the site's public address, because sitemap entries must be full web addresses. It uses the custom domain once its DNS is verified, otherwise the site's hosted address, whether or not the site is published. The address is missing only when the site's details failed to load in the builder. Check robots.txt: if it ends with the "No Sitemap line" comment, the address did not load when you downloaded. Reopen the builder and download the .zip again. If it keeps happening, check your connection and that the site still exists in Hosted Apps. You can also write your own sitemap.xml by hand.
- A page I expected is missing from
sitemap.xml. It is either hidden from search engines (Hide from search engines is on) or it is the 404 page. Both are left out on purpose. - A clean address like
/aboutshows "not found". The zip holdsabout.html. Netlify and Cloudflare Pages typically serve it at/aboutfor you; many other hosts need you to open/about.htmlor to turn on their "clean URLs" setting. This is why the sitemap lists the.htmladdresses. - My redirects do nothing on Apache. Confirm
.htaccesswas uploaded (it is a hidden file),mod_rewriteis on andAllowOverrideallows rewrite rules. Also check that no file exists at the old address, because a real file wins over a redirect. - My redirects do nothing on Netlify or Cloudflare Pages. The
_redirectsfile must be at the root of the published folder, not inside a subfolder. Re-upload from the unzipped contents. - The download shows "Export failed". The builder will not give you a zip with broken images, so if an uploaded image cannot be fetched, or a redirect rule is invalid, the whole download stops and the toolbar shows the reason. Fix the item it names (for an invalid rule, see the table in Redirects) and download again.
- I do not want to self-host. Click Publish instead. BillionBiz hosting serves the sitemap,
robots.txtand your redirects for you.