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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Friday in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

280 views 11 10
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