Skip to content

HTTPS not working with custom domain on VPS using Dokploy #1622

@Rajavel485

Description

@Rajavel485

To Reproduce

Steps I followed:

Set up projects via Dokploy — all run fine individually.

Followed domain setup guide from your docs:

Created a certificate in Dokploy for my domain.

Added the domain to my project in Dokploy.

Pointed my domain to my VPS IP using Cloudflare DNS (A record).

Tried accessing the domain via browser.

Current vs. Expected behavior

Expected Behaviour:

I expect my domain to be accessible securely over HTTPS.

Actual Behaviour:
HTTP connection only works

Provide environment information

VPS provider: NetCup

The Dokploy environment is up and running.
The domain is managed via Cloudflare (A record set to VPS IP).
Ports 80 and 443 are open.

Project Running port is 8888

Using Dokploy’s built-in cert and domain setup.

Which area(s) are affected? (Select all that apply)

Traefik

Are you deploying the applications where Dokploy is installed or on a remote server?

Remote server

Additional context

I’m currently using Dokploy on my VPS (NetCup) and have deployed multiple projects (e.g., Next.js and Go). Everything works well locally and on the VPS IP, but when I try to connect a custom domain, I get a "Connection Not Secure" issue — the domain is only accessible via HTTP, and HTTPS is not working.

The domain only loads over HTTP (http://app.example.com)

Attempting to access via HTTPS (https://app.example.com) gives "Connection Not Secure" or a certificate-related error.

The SSL certificate seems not to be applied, or something might be misconfigured.

Will you send a PR to fix it?

Yes

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions