In my ubuntu 13.10 desktop, I downloaded LAMP, i can see "it works!" after typing
http://localhost. Now I want my sites available to any people if they type my public ip address in any computer. I did some research, but still not work. I am using time warner cable at home wirelessly,after i know my internal ip address is 192.168.2.8, i add these lines to /etc/network/interfaces:
auto eth0 iface eth0 inet static address 192.168.2.100 netmask 255.255.255.0 gateway 192.168.2.1 broadcast 192.168.2.255 dns-nameservers 192.168.2.1
portforward.com, i know i should change my router setting, so i go to 192.168.2.1 which is my router address, then i moved to "vitrul servers" menu, add port 80 and 443( this is for apache this software).
My problem comes from the first part: after I changed /etc/network/interfaes, i can't connect to internet!! why? how can i fix this? My second question is that:suppose i fix this, then that's all?can my public ip address be access from then? or did i miss some important steps?