As the title describes i am trying to make my website public from a LAMP setup.
I trying but i am failing... so if you could give that extra push it would be much appreciated!
-Ubuntu server 12.10
-apache2 (2.2 i think?)
Standard stuff i guess. So where am i?
My website is accessible from LAN connections in http://192.168.1.147/test.php where i have the phpinfo() function and in http://192.168.1.147/ i have the it works!
I set up port forwarding on the router on port :80 with the VM's local ip address checked if the port is on (OK).
Now i was thinking next step is to change the ports.conf file?
but then i should change the virtual host file of the /etc/apache2/sites-available/default to use the same IP and port right? thats when i get the following (after i restart or try to restart apache)NameVirtualHost My.IP.Add.ress:80
[Date] [error] (EAI 2) name or service unknown: failed to resolve server name for (check dns) or etc..
And then (99)Cannot assign requested address: make_sock: could not bind to address 188.8.131.52 no listening sockets available shutting down.
I have put my internet ip address not the local ip.
Thats my stop
Thanks even for reading!