I am trying to install LAMP server on my Ubuntu desktop. The problem I am facing is related to IP address of my laptop.
While Setting Global
ServerName to Suppress Syntax Warnings, as the documentation says here, when I am adding a
ServerName directive, pointing to my server's public IP address in configuration file,
It says to add the following at the bottom of the config file
I added the IP address which the Google page displays (on searching my IP) and typed the URL
http://my_IP But the default page was not displayed.
I think the IP which I used is wrong. As I am connected to my home wifi router and all the devices which are connected to the router has the same IP address.
Can anyone tell me how can I solve this problem? Which one is the correct IP to use and how can I find that IP address?
I am using Ubuntu 16.04.