Answer the question
In order to leave comments, you need to log in
The site works on localhost, but it does not open from the Internet. Why?
Installed Ubuntu 13.10, raised LAMP. If I go to localhost in a browser, the site opens without problems... I have an external IP. But in the browser, I can't access my external IP, not the website address. What have I done wrong?
Answer the question
In order to leave comments, you need to log in
if the computer is connected to the network through a router, then it is necessary to do port forwarding, and so, there can be a lot of options
First - configuring apache to listen on the external interface (or all). If virtual hosts are used, then you need to change NameVirtualHost
to *:80
or the required external IP. You also need to change the virtual host definition to <VirtualHost *:80>
.
It may also be worth looking at the values of BindAddress, Listen.
If another way - see
the manual Secondly - port forwarding from the router.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question