> ## 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()
```

When publishing the app you select `app.py` as the app file. When Domino launches your app, it runs the `app.py` file within the container that contains your project files.

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

## Next steps

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

* [Create and Publish an App](/6.3/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](/6.3/platform-capabilities/features/apps/authentication-and-identity) run and what identity and permissions are used.


## Related topics

- [Host an LLM](/6.3/platform-capabilities/features/llms/host-an-llm.md)
- [Customize the Domino UI](/6.3/admin/configuration/customize-ui.md)
- [Configuration records](/6.3/admin/configuration/central-configuration.md)
- [App security and identity](/6.3/platform-capabilities/features/apps/authentication-and-identity/app-security.md)
