AICookAI

Subdomain Preview

Every CookAI Bot has its own subdomain. Once the Bot starts a web server in its container, you can access it externally via the subdomain for real-time preview.

Dedicated Subdomain

Each Bot's preview URL follows this format:

https://preview-{BotID}.cookai.ai

BotID is your Bot's unique identifier, automatically assigned when created.

How to Use

1.

Ask the Bot to create a web project in private chat

2.

The Bot automatically starts a server on port 8080

3.

Visit https://preview-yourBotID.cookai.ai to see the result

Example Conversation

You:

Make me a Hello World web page

Bot:

Sure! Creating the project... → Create index.html → npm install → npm run dev ✅ Server started, visit https://preview-xxx.cookai.ai to see the result

Use Cases

  • • Have the Bot build websites with real-time preview
  • • Deploy simple web applications
  • • Showcase project demos to clients
  • • Rapid prototyping and UI iteration

Technical Details

  • PortBot container uses port 8080, accessed externally via subdomain
  • HTTPSAutomatic HTTPS encryption via Cloudflare proxy
  • WebSocketFull WebSocket support for real-time applications
  • IsolationEach Bot has independent port and subdomain, fully isolated