Test confluence pointing to production

I stood up a test confluence site. I can log into the system from the server but not the confluence login. It seems that the website points me to the production system. Are there any files I can manually edit to point the test server to the test suite and not production? Thank you in advance.

6 answers

0 vote

Hello David,

first of all check, your BASE URL, if it is the same as production it can address you to use prod instead of staging.

Another check, atinstallation level, is to verify your confluence home location in <CONFLUNECE INST>/confluence/WEB-INF/classes/confluence-init.properties

Hope this helps,

Fabio

I have searched for the file to change the base URL and have no idea what I will need to be changed. I am also copying you what my confluence-init.properties looks like.

###########################
# Note for Unix Users #
###########################
# - For example:
confluence.home = /opt/atlassian/confluence
#
# NOTE: If the path of your confluence.home directory contains symlinks,
# please set confluence.home to the absolute path, otherwise problems may occur.

# - For example:
confluence.home = /opt/atlassian/confluence
# should be written as:
confluence.home = /opt/atlassian/confluence

###########################
# Configuration Directory #
###########################

# specify your directory below (don't forget to remove the '#' in front)

confluence.home = /opt/atlassian/confluence

0 vote

Should be the base URL.

0 vote

Hello David,

your BASE URL should point to your staging env.

Another check is the db linked into your STAGING Confluence Home. The related file is confluence.cfg.xml

Please make sure that your are pointing to Staging Database.

Regards,

Fabio

It seems that the base URL is correct and so I'm not sure where I it is getting its data. if I try to reset my password on test it points me to the production server.

0 vote

If the base URL is correct, check if you have a proxyName configured in the server.xml. You can also check if you have any apache redirection enabled.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted yesterday in Confluence

Calling all marketing teams who use Confluence - we want to hear from you!

Hi Community! me again 🙂 If you’re a marketing team using Confluence, we want to hear your story! How did you start using Confluence? What are your use cases? What have been some of the benefits?...

59 views 2 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you