Confluence 4.2 has reached end of life
Check out the [latest version] of the documentation
The Server Base URL is the URL via which users access Confluence. The base URL must be set to the same URL by which browsers will be viewing your Confluence site.
Confluence will automatically detect the base URL during setup, but you may need to set it manually if your site's URL changes or if you set up Confluence from a different URL to the one that will be used to access it publicly.
You need to have System Administrator permissions in order to perform this function.
The information on this page does not apply to
To configure the Server Base URL:
- In Confluence, open the 'Browse' menu and select 'Confluence Admin'. The 'Administration Console' will open.
- Click 'General Configuration' in the left-hand panel.
- Click the 'Edit' button next to 'Site Configuration'.
- Enter the new URL in the 'Server Base URL' text box.
- 'Save' your changes.
Example
If Confluence is installed to run in a non-root context path (that is, it has a context path), then the server base URL should include this context path. For example, if Confluence is running at:
http://www.foobar.com/confluence
then the server base URL should be:
http://www.foobar.com/confluence
Notes
- Using different URLs. If you configure a different base URL or if visitors use some other URL to access Confluence, it is possible that you may encounter errors while viewing some pages.
- Changing the context path. If you change the context path of your base URL, you may also need to edit the web server's
server.xml
file to reflect the new path:- Stop the Confluence server.
- Go to your Confluence 'destination directory'. This is the directory where the Confluence installation files are stored. For example,
. Let's call this directory '{C:\Program Files\Atlassian\Confluence
CONFLUENCE_INSTALLATION}
'. - Edit the configuration file at {
CONFLUENCE_INSTALLATION}\conf\server.xml
. Change the value of the
path
attribute in theContext
element to reflect the context path. For example, if Confluence is running athttp://www.foobar.com/confluence
, then yourpath
attribute should look like this:<
Context
path
=
"/confluence"
docBase
=
"../confluence"
debug
=
"0"
reloadable
=
"false"
useHttpOnly
=
"true"
>
- Save the file.
RELATED TOPICS
There is no content with the specified labels