I want to setup a web server by using my wireless interface. Just wanted to know for testing purpose as I have setup LAMP. I'm connected to Internet through Wifi and at the same time I want to serve a website. I am following this website to setup LAMP: "https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04"
Where they told me to know "Server's Public IP Address" After entering the command it shows:- "Device "eth0" does not exist" as I'm using my Wireless Interface. Someone clear me this concept.
ifconfig
show the connected LAN and WLAN IP addresses. But these may be private IP address because you said it is a Wireless Interface. Not the public IP address I think. That mean you can access that IP from your internal network but not from external network by other users. – San Lin Naing Jan 24 '17 at 12:36ifconfig
orhostname -I
will help you with WLAN Interface. – pLumo Jan 24 '17 at 13:07