configure LAMP for website on intranet instead of its default setting on internet

Hello, I have installed the (LAMP) following this tutorial LAMP I am new to Linux and all other staff its cool and I had made my choice to move in so I intend to build a website on an intranet in two building network our ip range to install the LAMP I need the internet so I connect with broadband connection which gives me an ip in apache2 installing step in checking apache2 ubuntu default page it doesnt work on my lan ip4 which is and work on which is for broadband connection and not all pc are connected on broadband I need to reconfigure on the LAN ip range so other pcs can see my website

thank you all in advance best regards NMY

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

You can force Apache to bind to a specific IP by configuring it in a Listen directive. On Ubuntu, you would edit /etc/apache2/ports.conf and adjust it so that it the IP address precedes the port:


<IfModule ssl_module>

<IfModule mod_gnutls.c>