> ## Documentation Index
> Fetch the complete documentation index at: https://docs.domino.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Host HTML pages

This is a simple example on how to host a HTML page on Domino. There are a number of ways to host web applications of course but this example shows how you can integrate a simple HTTP server using python with Domino. You could also add javascript and other pages to your project. The example in this note just shows how you would start the server to support your pages.

## Files

You’ll need to create a file in your project (in addition to your files required for your page such as `index.html`).

`app.py`

```python theme={null}
import http.server
import socketserver
PORT = 8888
Handler = http.server.SimpleHTTPRequestHandler
httpd = socketserver.TCPServer(("", PORT), Handler)
print ("serving at port", PORT)
httpd.serve_forever()
```

This script runs a basic HTTP server on port `8888` that serves files from the project directory. Note that port selection is flexible and port `8888` is no longer required.

## Step 3: Add a startup script

Tell Domino how to launch your server by creating a simple startup script.

1. In the project sidebar, go to **Code** > **Add File**.

2. Name the file `app.sh`.

3. Add the following line: `python app.py`

4. Save the file.

Note that port selection is flexible and port `8888` is no longer required.

## Next steps

* [Apps in Domino](/cloud/platform-capabilities/features/apps/apps-in-domino) gives an overview of how apps work within the Domino ecosystem.

* [Create and Publish an App](/cloud/platform-capabilities/features/apps/publish-an-app) has instructions on creating and publishing your Apps, customizing the App’s URL, and sharing Apps with authorized users.

* [Learn more about how Apps in Domino](/cloud/platform-capabilities/features/apps/authentication-and-identity) run and what identity and permissions are used.


## Related topics

- [Host an LLM](/cloud/platform-capabilities/features/llms/host-an-llm.md)
- [App security and identity](/cloud/platform-capabilities/features/apps/authentication-and-identity/app-security.md)
- [Deploy your R model](/cloud/platform-overview/for-modelers-and-builders/get-started-r/7-deploy.md)
- [Access additional domains and hostnames](/cloud/platform-capabilities/core-concepts/compute-environments/access-additional-domains-and-hostnames.md)
