Hi,
Like everyone, I access my apache server by typing http://localhost or http://127.0.0.1 but what I want is that I want to access it from outside by typing a domain name like http://my.domain.com
I've added my current IP information for you.
This is what I need. I'll be much appreciated your help. Thanks in advance
ubuntu@ubuntu:~$ ifconfig | grep inet inet addr:192.168.100.158 Bcast:192.168.100.255 Mask:255.255.255.0 inet6 addr: fe80::230:5ff:feec:bbb2/64 Scope:Link inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host
Check out https://www.dyndns.com . this enables you to point a web address like http://yourname.domainname.com to your computer. hold on... you will not be able to access the webpage hosted at your localhost yet. if you have a dynamic ip address which will be assigned to you by the ISP then the modem/router has to configured to work with dyndns.com so that each time your IP address is changed it will reflect in the dynDNS. next is to port forward the requests to the port 80 of your computer. inbound requests form the internet will reach the modem/router at 192.168.1.1:80 these requests should be forwarded to inet addr:192.168.100.158 port:80. follow the router manufacturers guide to open the ports. sometimes you may have to open the ports in the firewall too.