Skip to content

Unable to redirect www to non www  #39

@seanpaulharsevoort

Description

@seanpaulharsevoort

Dokku: 0.35.5
Dokku-redirect: 0.9.1

I want to redirect www traffic to non www.

I also followed this tutorial

Steps i took:

  1. used the redirect command: dokku redirect:set myappname.com www.myappname.com myappname.com 301

According to chatgpt i had to create a redirect app:
2. create redirect app: dokku apps:create redirect-www
3. set the domain: dokku domains:set redirect-www www.aha-adviseurs.nl aha-adviseurs.nl
4. run letsencrypt again.

Also the domain registry has a www CNAME record that points to the domain.

Unfortunate part is, that all of these steps are not working. I also undo every step and used the chatgpt one, without any luck whatsoever.

If anyone could help me that woulde be awesome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions