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 votes

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 votes

Should be the base URL.

0 votes

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 votes

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
Community showcase
Published Oct 09, 2018 in Confluence

Introducing Praecipio Consulting, an Atlassian Solution Partner

Hey there Community!  My name is Vannya Vallejo, the Channel Communication Specialist at Atlassian and I want to help Atlassian users like you learn about our Solution Partners and how they c...

409 views 0 9
Read article

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