By accessing my localhost on a computer with CentOS 7 from another computer if I can access through the IP, but I do not load the whole page because in the code the links say localhost and when clicking on a link I no longer Go to the next page when you can not find it.
Is there any way that when accessing from another computer the localhost of the code is interpreted as the IP of the server or some form of correctly visualizing the page?