Access site in localhost

0

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?

    
asked by Victor Zaid Garcia 19.06.2018 в 17:42
source

1 answer

0

Instead of using absolute paths using localhost you should use relative routes.
Here you have an explanation about the difference that sure helps you.

    
answered by 19.06.2018 в 17:48