Tiny Links are not pointing to Server Base URL
Asked by Stefan Bellinger:

The Tiny Link for all my spaces is pointing to an old environment and not the current Server Base URL.

Example:

Server Base URL: docs.confluence.**com**

Tiny Link URL: docs.confluence.**ee**

This also means when I select Share the Share Link is pointing to the wrong domain.

Any idea what could be causing this?


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Stefan Bellinger](/t5/user/viewprofilepage/user-id/2667549) ,

please take a look here <https://confluence.atlassian.com/confkb/tiny-url-breaks-due-to-server-base-url-164496188.html>

Are you sure that at server.xml level you configured the exact URL value? If you are working using https, with a reverse proxy, in that file you should point correctly to proxyname/baseURL. Something like :

```
<Connector port="8090" connectionTimeout="20000" redirectPort="8443"
maxThreads="48" minSpareThreads="10"
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"
protocol="org.apache.coyote.http11.Http11NioProtocol"
scheme="https" proxyName="docs.confluence.com" proxyPort="443" />
```

Please could you check?

Hope this helps,

Fabio

comments: author: Stefan Bellinger
body: Hey [@Fabio Racobaldo _Herzum_](/t5/user/viewprofilepage/user-id/781528) ,

The server.xml is below. The only difference I can tell is that the scheme is at the end of the config.

\<Connector port="8090" connectionTimeout="20000" redirectPort="8443"  
maxThreads="200" minSpareThreads="10"  
enableLookups="false" acceptCount="10" debug="0" URIEncoding="UTF-8"  
protocol="org.apache.coyote.http11.Http11NioProtocol"  
proxyName="docs.confluence.com"  
proxyPort="443"  
scheme="https"/\>

On a side note this issue is occurring in specific sections like page info tiny link and when selecting share. It is not an issue on sections like "Recently worked on".

Below is a Screenshot of an example. Notice in the bottom left it lists .ee instead of .com which is the url listed in the Tiny Link section. I have the same issue with every other space.![Page Info Tiny Link.png](https://community.atlassian.com/t5/image/serverpage/image-id/192955i4E43DC092210C274/image-size/large?v=v2&px=999 "Page Info Tiny Link.png")

Here is an example of the share link url for the page in the above example.

![Share link Example.png](https://community.atlassian.com/t5/image/serverpage/image-id/192956i4CC5615458D33DDC/image-size/large?v=v2&px=999 "Share link Example.png")


author: Mirek
body: Hi [@Stefan Bellinger](/t5/user/viewprofilepage/user-id/2667549)

Just to clarify.. You migrated your environment from one server to another or change the base URL in the past.. Is that correct?

Are we talking about existing tiny links that you used on some page or you generate a new ones?

comments: author: Stefan Bellinger
body: Hey [@Mirek](/t5/user/viewprofilepage/user-id/781521)

We have not change the base URL in a while. We ran into the problem now because we are decommissioning the docs.confluence.ee server which is how we noticed there is an issue. It just kept redirecting to docs.confluence.com which is why no one has noticed the issue.

Existing tiny links are pointing to the wrong domain docs.confluence.ee and I created a new space for testing and it also stored the wrong domain docs.confluence.ee even though the server base url config is set to docs.confluence.com.


Tags: confluence-server

server