- [Home](https://linkinseconds.com/)

- /

- [Glossary](https://linkinseconds.com/glossary)

- /

- Static site

[Websites, domains and files](https://linkinseconds.com/glossary#web)

# What is a static site?

Definition

A static site is a website made only of ready-made files (HTML, CSS, JavaScript and images) with no server code or database. You can publish one by uploading a ZIP of the folder.

Also called: Static website, Static HTML site, Static web hosting

## How does a static site work?

Every page already exists as a file, and the server just sends it. When someone opens /about, the host finds about.html or about/index.html and returns it as is. Nothing is built on the fly and there is no database to query.

That makes static sites fast, cheap to host and hard to break. A [CDN](https://linkinseconds.com/glossary/cdn) can keep copies close to visitors, and there is no server code for attackers to target. JavaScript still runs in the visitor's browser, so menus, tabs, galleries and animations all work. Most hosts give the site a subdomain, and you can point a [custom domain](https://linkinseconds.com/glossary/custom-domain) at it.

## What is the difference between a static and a dynamic site?

A static site sends the same files to everyone, and a dynamic site builds each page when it is requested. Dynamic sites run code on a server, often with a database, which is how logins, shopping carts and comment threads work.

Many sites that look dynamic are static underneath. Blogs, docs, portfolios, landing pages and event pages rarely change between visits, so they can be built once and served as files. A static site generator or a front-end framework does that build and puts the result in a folder such as dist or build, which you can pack into one [ZIP file](https://linkinseconds.com/glossary/zip-file) to upload.

## What can't a static site do?

It can't run code on the server or keep data between visits by itself. Hosts also differ in what a site may load: some let pages call outside services from the browser, and others block anything that isn't on the site's own address, for safety. Without a separate service or a host that runs server code, a static site can't offer:

- User accounts and server-side logins.

- A database, such as orders or saved posts.

- Server languages like PHP, Python or Ruby.

- Secret keys, since every file is readable by the browser.

Static and dynamic sites side by side

| | Static site | Dynamic site |

| Pages | Files built in advance | Built for each request |

| Server code | None | PHP, Node, Python and similar |

| Database | No | Usually |

| Hosting | Any file host or CDN | Needs a running server |

In Link in Seconds

In Link in Seconds, zip the folder with your index.html and publish it from the Sites tab; it goes live at its own address, such as your-site.linkinseconds.site, with HTTPS. Website hosting needs a Pro or Lifetime plan, and uploading a new version keeps the same address. For safety a site can only load files from its own address, so bundle fonts and libraries into the build.

[Host a static website](https://linkinseconds.com/docs/static-websites)

## Static site: common questions

### Is a static site the same as an HTML page?

A single HTML page is the smallest static site. A full site adds more pages, styles, scripts and images, linked together in one folder.

### Can a static site have a contact form?

Not on its own, because it has no server to receive the message. Some hosts let a form post to an outside form service and others block outside calls, so check the host's rules first.

### Do I need to know how to code to make a static site?

No. Many site builders and templates can export a ready folder of files. You only need that folder, with an index.html at the top.

### Are static sites good for SEO?

They can be. They load fast and every page is plain HTML a search engine can read. Content and links still matter more than how the site is built.

### Why does my static site show a blank page?

Usually a wrong path. Check that index.html is at the top of the folder and that files are linked with relative paths, then look in the browser console for files that failed to load.

## Related terms

- [Custom domainA custom domain is your own web address, such as files.yourcompany.com, used in place of the host's address. You point it at the host with a DNS record and the host adds the security certificate.](https://linkinseconds.com/glossary/custom-domain)

- [ZIP fileA ZIP file is one file that holds many files and folders, usually compressed to take less space. It lets you send a whole folder as a single download, and the person who gets it unzips it to see the files.](https://linkinseconds.com/glossary/zip-file)

- [File hostingFile hosting is keeping a file online at a stable address so people can open it whenever they like, often in the browser. It suits files you share again and again: a resume, a menu, a price list.](https://linkinseconds.com/glossary/file-hosting)

- [CDNA CDN (content delivery network) is a set of servers around the world that keep copies of popular files close to the people opening them. The result is faster loading and less strain on the original server.](https://linkinseconds.com/glossary/cdn)

- [MIME typeA MIME type is the label that says what kind of data a file is, such as application/pdf or image/png. Browsers use it to decide how to open a file, but it is easy to fake, so careful hosts do not trust it alone.](https://linkinseconds.com/glossary/mime-type)

## Go deeper

- [Host a static website from a ZIP](https://linkinseconds.com/blog/host-a-static-website-from-a-zip)

- [Static website hosting](https://linkinseconds.com/host-static-website)

Updated December 5, 2026

[Previous termSigned URL](https://linkinseconds.com/glossary/signed-url)[Next termUnique visitor](https://linkinseconds.com/glossary/unique-visitor)

Share a file as a link in seconds

Upload any file and get one clean link, with every setting on this page.

[Try Link in Seconds](https://linkinseconds.com/)

Source: https://linkinseconds.com/glossary/static-site
