Well this might be a simple networking question but a question that is puzzling me. I hope some one can clarify something for me. I have to physical computers, a linux laptop, and gaming computer (really up to date) that I dual boot win7 and ubuntu server. I then set up my apache, ssl, php, mysql on my server. I then changed /etc/hosts/ for my internal IP of my server to just be called for example : myserver.com
Now.. I want to get my external IP in /etc/hosts so that I can connect with my laptop to my server (which will be on)
However I don't know if this is normal but I ran the command :
and I was given my external ip on my server which is xx.xxx.xxx.21 i was happy and I used that to connect with my browser and it all works (this made me happy) now I tried the same command on my laptop and I was given the same IP:
how can two different computers (that I have tested network connectivity) both have the same IP?
And then my second question : why is it when I type in xx.xxx.xxx.21 on my browser and it takes me to my server apache rather then my laptop apache?
On my router port forwarding I have enabled HTTPS for my servers internal IP and I have enabled 80 on my laptops internal IP.
Would love if some one can clarify this for me.