Thread: How can I change localhost for external IP
i have problem showing localhost (my website on it) on internet, can see it.
on windows have is:
open httpd.conf change servername 127.0.0.1 own ip , works.
on linux there is empty httpd.conf, , configuration file apache2.conf doesn't have address change.
looks like, have enter ip somewhere or of settings wrong:
first computer (vista) second computer (ubuntu 9.10), cable net provider
did:
-activated dmz, in router settings , added host ip address: 192.168.1.100
-active dhcp (no changes)
windows side:
in tcp/ipv4 instead of automatic ip , dns have entered own:
address ip: 192.168.1.103
mask: 255.255.255.0
gateway: 192.168.1.1
1st dns: 192.168.1.1
2nd dns: empty
linux side:
installed server with: php5, apache, mysql, php admin
have eddited /etc/network/interfaces file:
auto lo
iface lo inet loopback
mapping hotplug
script grep
map eth0
auto eth0
iface eth0 inet static
address 192.168.1.102
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255
gateway 192.168.1.1
reseted
typing own ip browser still doesn't show localhost.
internet working on both computers, of time...
on friend's debian distribution of linux, have do, make working make changes in /etc/network/interfaces file (setup static ip).
doing wrong?
your dmz forwarded 192.168.1.100
while webserver on 192.168.1.102
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] How can I change localhost for external IP
Ubuntu
Comments
Post a Comment