I have windows 8 host and i have installed ubuntu 14.10 server as a virtual machine in vmware. i have installed LAMP server and i am trying to host a website from it. i have created a virtual host. my website is accessible in the host machine when i go to the address 192.168.0.106.
i have connected the internet through a wifi router. i don't have a static ip. when i go to my router info, i get this:
LAN
MAC Address :B0:C5:54:83:90:FA
IP Address :192.168.0.1
Subnet Mask :255.255.255.0
DHCP Server :Enabled
INTERNET
MAC Address :B0:C5:54:83:90:FB
IP Address :10.30.195.241
Subnet Mask :255.255.224.0
Default Gateway :10.30.192.1
DNS :113.193.5.23
113.193.12.14
when i search for "what is my ip" in google, i get this: 113.193.56.198, both in host and guest os.
now, my issue is that how do i access my site from the internet? i know that i will have to edit hosts file and virtual host config file in ubuntu, but which ip address do i have to use? do I need to set up a dns server? i have a domain registered in godaddy, i want to know which ip address should i put in "points to" in the domain setting page.
basically, i want to know which ip address should i type in address bar to go to my site, even if it works for only one day, and how do i edit the hosts file and configuration file in ubuntu to use that ip. i have tried searching in many forums and have not found the kind of clarity i need.