Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Development
  1. OpenProject
  2. Forums
  3. Development
  4. Broken Links - Private DNS and Public DNS - Hostname Issue

Broken Links - Private DNS and Public DNS - Hostname Issue

Added by A K about 7 years ago

Hi,

I setup Openproject as a Docker container on my machine with private DNS as openproject.cloud.xxxx.com. Everything worked fine until I offloaded SSL on the proxy which is using Public DNS project.xxxx.com

Now, I am able to access the OpenProject instance on project.xxxx.com, but I am facing many issues where the links are still using openproject.cloud.xxxx.com i.e. Private DNS.

1. When I try to edit the current rate of a member for a project, then it gets redirected to openproject.cloud.xxxx.com/project/name/hourly_rate/edit/…

2. When you try to edit the Roles and Permisssions and Try to save them, it gets redirected to private DNS link only.

3. OpenProject logo (White Image in the center) contains the link to the private DNS.

Hostname is set as Public DNS i.e. Project.xxxx.com.
Protocol is set as HTTP.

If I change the protocol to HTTPS, then more links break like when I try to create a new project and save it, it get redirected to the private DNS.

Everything else works fine on the Public DNS.

Regards
A


Replies (3)

RE: Broken Links - Private DNS and Public DNS - Hostname Issue - Added by Aidas Kasparas about 7 years ago

Hi,
I think you still have internal host name somewhere in your configuration. Try
grep -r openproject.cloud.xxxx.com /etc/openproject /opt/openproject
When you’ll find where this old host is stored, simply edit that file and restart openproject service.
I’m using debian package of openproject, not a Docker image, so you may need to slightly adjust paths where your information is stored.

RE: Broken Links - Private DNS and Public DNS - Hostname Issue - Added by A K about 7 years ago

Hi Aidas,

I checked that already, it is not present there.
I did create a new docker container just to make sure that the private DNS is not cached somewhere, but I am still facing this issue.

I think its related to Apache config, which I am currently looking at.
Will update if there is some progress.

Regards
A

RE: Broken Links - Private DNS and Public DNS - Hostname Issue - Added by A K about 7 years ago

Hi,

Got it working, worked around using apache config.

RequestHeader set Host “Project.xxxx.com”
ProxyPreserveHost On

Regards
A

  • (1 - 3/3)
Loading...