“Static” doesn’t mean a site without motion or interaction. It can have JavaScript, animated menus and forms; the difference is that the server doesn’t build the page on every request, it sends a file that already exists. The opposite is a dynamic website, which generates pages at request time.
How static sites are built
- By hand: you write HTML and CSS yourself or start from a template or design tool.
- With a static site generator (SSG): tools like Astro, Hugo, Jekyll and Eleventy turn Markdown files and templates into finished HTML pages.
- From a JavaScript framework: React or Vue apps after the build step, or Next.js in static export mode, produce a folder of static files.
Example: building a Vite or React project produces a dist folder ready to upload:
npm run build
# dist/index.html
# dist/assets/index-3f2a.js
# dist/assets/index-9c1b.css
Strengths and limits
| Strengths | Limits |
|---|---|
| Very fast, because files are ready | No content editor unless you add a tool |
| Small attack surface, no database | Forms and search need an external service or server code |
| Runs on any host and any CDN | Every change means rebuilding and re-uploading |
| Light on resources | Not suited to shops or user accounts |
Common problems
- A blank page after uploading a React app: you probably uploaded the project folder instead of
distorbuild, or the base path is wrong. - 404 when refreshing an inner page: single-page apps (SPAs) need a rule that sends every path to
index.html. - No
index.htmlat the root: the server shows a 403 error or a file listing.
On ArabyHost
You can host a static site on any ArabyHost hosting plan: upload a ZIP to public_html and extract it in the File Manager, or deploy from GitHub with cPanel’s Git Version Control and a .cpanel.yml file. The LiteSpeed web server serves static files directly, and a free SSL certificate is issued automatically. See the HTML upload guide and static site hosting, and for React apps the React deployment guide. If you later need code running on the server, the Developer plans run Node.js and Python.
FAQ
Can a static site have a contact form?
Yes, in two ways: an external form service that emails you the messages, or a small PHP script on your hosting that receives the form and sends it. In the second case a small part of the site becomes dynamic.
Are static sites good for SEO?
Yes, often very good, because pages are fast and the content sits right in the HTML. Good content, titles and descriptions remain the foundation, as on any site.
Is a React app a static website?
After the build step, most React apps produce static files you can upload to any host. If the app relies on server-side rendering (SSR), as some Next.js projects do, it needs Node.js.