I have hosted my confluence page from old backup file in server and I can able to access through ip but with in my space directory all my space URLs are pointing to localhost not to the ip but if I copy this url and change the local host to my ip it is working So I think there is some routing issue in tha space directory page how can I make all space to point to URLs starting with my ip
Welcome to the Atlassian Community!
Take a close look at the actual links on the page - when you hove the cursor over one, does the browser give you a small help-text with the "localhost" url in it, or is it actually pointing somewhere else?
We need to know that to be able to rule in or out your network settings.
In fact, my best guess is that when you're talking about "ip", you mean "the ip of the server I put Confluence on", and your old system was literally running on "localhost" (meaning "this machine). So the base url is set to "localhost", so the links fail when you click on them because that means "the machine the browser is running on".
But check what the urls are first
As you mentioned when I place the cursor on the space name in space directory it shows like localhost:8090/... But and when I click it it shows page not found but If I just change the localhost as my server ip in browser and open it the space page is visible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I thought so.
"localhost" always means "this machine", so when you're using your browser to click on a link with "localhost" as the host, you're trying to access the same machine the browser is running on, not the server.
The reason it's giving you localhost links is that the base url which it bases all its links on is set incorrectly.
Go to the server via the ip address and log in as an admin (if it gives you "page not found", replace the localhost in the url with the ip address and load it again). Go to Admin -> General settings and correct the base url.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.