Forums

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

Base Url and Database changes are not working for new url without port number

Pawan Upadhyay June 23, 2014

Hi,

After changing in base url, I am not able to access the confluenc wiki with new url. Still old url is working.

Old url : http//<serverName>:8080/pages

Changes url: http//myname.com/pages

After change the BaseUrl, i have restarted the Confluence service and tried to hit changed url,but not working. When I hit old url then confluence is working. I can not see any where the existing url in any config file/database/baseurl....everwhere changed url is visible, But still why my Confluence is pointing old url???

Please let know the steps to change url for Confluence Wiki and also let me know where I am missing?

Thanks,

Pawan

1 answer

0 votes
Nic Brough -Adaptavist-
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.
June 23, 2014

The base url is a Confluence setting - it tells Confluence where you expect to reach it.

The url is determined by your DNS services

Confluence isnt pointing at your old url, it's your network that's doing it. You need to get the new url set up in your DNS system.

Pawan Upadhyay June 23, 2014

Hi Nic,

I have checked, everything is fine. DNS is not configured, not able to see under ->Control Panel | Administrative Tools -> . Is there anywhere else, we can check? Working on Windows server 2008. In server.xml: Port:8080

<Context path="/pages" docBase="../confluence" debug="0" reloadable="false">

There is no proxy setting.

We are Using AJP as connector. Where to check DNS entry related to Confluence, because we are access from client not from server in client network?

Is there any other file of confluence which have url related info, except server.xml, bandhana table and base url of admin page?

I am wondering from where the working url is coming. I have modified in BaseUrl, bandhana table but still old url is working.

Thanks,

Pawan

Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 23, 2014

Hi Pawan,

You'll need to make sure that your hosts file contains a reference pointing your new url towards your localhost.

You'll also need to change the port where confluence is running on the port 80 instead of 8080.

Best regards,

Peter

Nic Brough -Adaptavist-
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.
June 23, 2014

Sorry, I misread this slightly, I thought you were changing the name, hence the reference to DNS, but all you're doing is trying to drop the 8080

You can do that in two ways.

1. Proxy it, so that traffic arriving on port 80 flows to 8080. You'll need a proxying web-server to do that - IIS can be grudgingly made to do it, or use Apache or Nginx or or or...

2. Run Tomcat on port 80 instead of 8080. Stop Jira, change the port in server.xml and restart it. You don't need to do anything other than that. Although, if you were running it on a Unix box, you'd have to fiddle a bit more because it won't let you run processes on a port under 1024 without special rights - I don't know if Windows has a similar security issue

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events