Skip to content

Deploy Fiber App on Seenode | Fiber Hosting & Deployment Guide

This guide explains how to deploy your existing Fiber application to seenode. Fiber is an Express-inspired web framework built on top of Fasthttp, the fastest HTTP engine for Go.

Before you begin, ensure you have:

  • A seenode account at cloud.seenode.com
  • Git configured on your machine
  • Existing Fiber project ready to deploy

Your service must listen on the same port that you configure in the Port field for the web service. Choose a port (for example, 80 or 8080) and use it both in your code and in the dashboard.

To better understand how the Port field affects routing on seenode, see Configuring Your Application’s Port.

main.go
package main
import (
"fmt"
"github.com/gofiber/fiber/v2"
)
func main() {
app := fiber.New()
app.Get("/", func(c *fiber.Ctx) error {
return c.SendString("Hello, Welcome to seenode 👋")
})
app.Listen(":80")
}

Make sure your go.mod lists gofiber/fiber as a dependency:

go.mod
module your-fiber-project
go 1.21
require github.com/gofiber/fiber/v2 v2.52.0

Run

go mod tidy
to create your go.sum file.

  1. Push to Git

    Commit your project and push it to GitHub or GitLab.

  2. Create a Web Service

    From the seenode Dashboard, create a new Web Service and connect your Fiber project’s Git repository.

  3. Configure Build & Start

    seenode attempts to detect these automatically. Configure:

    • Build Command:
      go build -o app main.go
    • Start Command:
      ./app
    Configure Build & Start: Port field

    Set the Port field (above Environment Variables) to the value your Fiber app listens on (for example, 80 or 8080). Ensure your app.Listen(…) call uses the same port. The field starts empty, so set it before your first deploy. After the service is created, you can change the port from the project’s Settings tab. You do not need to add a PORT environment variable.

  4. Choose Pricing Tier

    Select your preferred instance size and create your service.

  5. Deploy

    Click Create Web Service and watch logs until your web service is live.

  6. Success

    Once complete, your Fiber application is accessible via your service’s URL.

If you don’t have a Fiber project yet:

Option 1: Use our Template (Recommended)

Option 2: Create from Fiber Docs + seenode Setup

Follow the official Fiber documentation to create a new project, then return here for seenode-specific deployment steps.

seenode-Specific Setup Steps:

  1. Create Go module: go mod init your-project
  2. Install Fiber: go get github.com/gofiber/fiber/v2
  3. Configure your server to listen on the port you’ll set in the dashboard (for example, 80 or 8080)

Now that your Fiber application is deployed, here are some things you might want to do next: