Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

multi url for confluence ?

JK Kim March 23, 2018

I set base url for confluence : http://confluence.swtool.review at first
Now, I need to add one more url : http://www.swtool.review from same domain.

Is it possible? Please help..

 

2 answers

3 votes
Daniel Eads {unmonitored account}
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 23, 2018

Atlassian applications need to operate on a single base URL. This is the URL that's going to be used when Confluence (or Jira, or whatever) generates links in the application itself, in emails it sends, and in any external integrations.

You're going to need to decide what the actual URL is you want to use for the application, and use that as the base URL.

Now, it's definitely possible to have other URLs resolve to your Confluence. This will simply listen for requests on the secondary domain and point the browser at the correct primary domain. You'll need some web server (IIS, Apache, nginx, etc) to listen at that other URL (sounds like www.swtool.review in your case) and return the correct Confluence URL.

Here's the server block that would do that for you in nginx - if you're not using nginx, just try googing "<yourwebserver> domain redirect" and following instructions.

server {
server_name www.swtool.review;
return 301 http://confluence.swtool.review$request_uri;
}
JK Kim March 23, 2018

Ok I got it. I am using Apache, I will try redirection in Apache.

0 votes
JK Kim March 23, 2018

I just redirect entry page only.

<VirtualHost *:80>

    ServerName www.swtool.review 

    Redirect / http://confluence.swtool.review/

 

</VirtualHost>

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events