I have a public IP on the server (Amazon AWS - Ubuntu Server) - let's say 11.12.13.14.
When you enter in the browser (on the server) - http: // localhost there are no problems, the page works. But on another computer in the browser http://11.12.13.14 displays - "Can not access the site." How can I redirect - http://11.12.13.14 to http: // localhost in apache.
Or for this I need a domain, that is, it is not possible to access the site only by entering IP into the address bar.
Please explain in more detail.