Adam65
September 3rd, 2009, 05:51 AM
Hi,
I am literally feeling sick in the stomach right now writing this. Sick with frustration and sick from reading post after post, tutorial after tutorial and finding no solution to, what seems on the surface to be, a very simple problem.
For an expert in Ubuntu, web servers, routers and the like this small problem may seem even to inconsequential to acknowledge. However, to me, it has recently become the greatest bane of my existence, the reason I can't sleep at night and why i now feel nauseated when I even think about expending anymore thought or energy on what seems to be such a long and painful path toward the solution.
SO I am coming to this wise forum as a means to save my marriage, definitely my mind and probably what few years I have left to live.
Can someone please help me!
I have set up Ubuntu Server, apache, php, mysql
Everything went well. Everything seems to work: i.e.: I have imported databases into mysql, managed them through phpmyadmin, and when I type http://localhost into a browser I get the Apache confirmation page "It Works!" displayed.
However, when I try to access the site from a seperate internet computer I get nothing appearing when I type in my static IP. (I should get the same apache confirmation page).
Yes, I have port forwarded my router and configured it correctly according to the cisco guru's. (However, when I type my static IP into a browser on this server I get my router admin page).
My diagnosis has always been that somewhere I have entered a path in error or have some other aspect of my configuration slightly askew.
so I will list all of the relevent info from Ubuntu:
host file:
121.223.214.219 www.attackinfo.com.au (http://www.attackinfo.com.au)
127.0.0.1 localhost
127.0.1.1 server
10.0.0.6 server
127.0.0.1 attackinfo
10.0.0.6 attackinfo.com.au www.attackinfo.com.au (http://www.attackinfo.com.au)
interface file:
#The loopback network interface
auto lo
iface lo inet loopback
#The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.6
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.111
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:06:5b:cf:45:67
inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fecf:4567/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20960 errors:0 dropped:0 overruns:0 frame:0
TX packets:12719 errors:0 dropped:0 overruns:0 carrier:0
collisions:7 txqueuelen:10
RX bytes:27011973 (27.0 MB) TX bytes:997090 (997.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:665 errors:0 dropped:0 overruns:0 frame:0
TX packets:665 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:349510 (349.5 KB) TX bytes:349510 (349.5 KB)
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 9044/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 23378/smbd
tcp 0 0 *:webmin *:* LISTEN 3669/perl
tcp 0 0 *:www *:* LISTEN 3566/apache2
tcp 0 0 server:domain *:* LISTEN 8562/named
tcp 0 0 localhost:domain *:* LISTEN 8562/named
tcp 0 0 *:ssh *:* LISTEN 2653/sshd
tcp 0 0 localhost:ipp *:* LISTEN 3381/cupsd
tcp 0 0 *:smtp *:* LISTEN 10538/master
tcp 0 0 localhost:953 *:* LISTEN 8562/named
tcp 0 0 *:microsoft-ds *:* LISTEN 23378/smbd
tcp6 0 0 [::]:domain [::]:* LISTEN 8562/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 2653/sshd
tcp6 0 0 localhost:ipp [::]:* LISTEN 3381/cupsd
tcp6 0 0 [::]:smtp [::]:* LISTEN 10538/master
tcp6 0 0 localhost:953 [::]:* LISTEN 8562/named
I really hope this is enough information for someone out there in this wise forum to help me solve this problem.
If not please ask for anything else and I will be happy to provide it.
Thankyou
I am literally feeling sick in the stomach right now writing this. Sick with frustration and sick from reading post after post, tutorial after tutorial and finding no solution to, what seems on the surface to be, a very simple problem.
For an expert in Ubuntu, web servers, routers and the like this small problem may seem even to inconsequential to acknowledge. However, to me, it has recently become the greatest bane of my existence, the reason I can't sleep at night and why i now feel nauseated when I even think about expending anymore thought or energy on what seems to be such a long and painful path toward the solution.
SO I am coming to this wise forum as a means to save my marriage, definitely my mind and probably what few years I have left to live.
Can someone please help me!
I have set up Ubuntu Server, apache, php, mysql
Everything went well. Everything seems to work: i.e.: I have imported databases into mysql, managed them through phpmyadmin, and when I type http://localhost into a browser I get the Apache confirmation page "It Works!" displayed.
However, when I try to access the site from a seperate internet computer I get nothing appearing when I type in my static IP. (I should get the same apache confirmation page).
Yes, I have port forwarded my router and configured it correctly according to the cisco guru's. (However, when I type my static IP into a browser on this server I get my router admin page).
My diagnosis has always been that somewhere I have entered a path in error or have some other aspect of my configuration slightly askew.
so I will list all of the relevent info from Ubuntu:
host file:
121.223.214.219 www.attackinfo.com.au (http://www.attackinfo.com.au)
127.0.0.1 localhost
127.0.1.1 server
10.0.0.6 server
127.0.0.1 attackinfo
10.0.0.6 attackinfo.com.au www.attackinfo.com.au (http://www.attackinfo.com.au)
interface file:
#The loopback network interface
auto lo
iface lo inet loopback
#The primary network interface
auto eth0
iface eth0 inet static
address 10.0.0.6
netmask 255.255.255.0
network 10.0.0.0
broadcast 10.0.0.255
gateway 10.0.0.111
ifconfig:
eth0 Link encap:Ethernet HWaddr 00:06:5b:cf:45:67
inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fecf:4567/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20960 errors:0 dropped:0 overruns:0 frame:0
TX packets:12719 errors:0 dropped:0 overruns:0 carrier:0
collisions:7 txqueuelen:10
RX bytes:27011973 (27.0 MB) TX bytes:997090 (997.0 KB)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:665 errors:0 dropped:0 overruns:0 frame:0
TX packets:665 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:349510 (349.5 KB) TX bytes:349510 (349.5 KB)
netstat -tap
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 *:mysql *:* LISTEN 9044/mysqld
tcp 0 0 *:netbios-ssn *:* LISTEN 23378/smbd
tcp 0 0 *:webmin *:* LISTEN 3669/perl
tcp 0 0 *:www *:* LISTEN 3566/apache2
tcp 0 0 server:domain *:* LISTEN 8562/named
tcp 0 0 localhost:domain *:* LISTEN 8562/named
tcp 0 0 *:ssh *:* LISTEN 2653/sshd
tcp 0 0 localhost:ipp *:* LISTEN 3381/cupsd
tcp 0 0 *:smtp *:* LISTEN 10538/master
tcp 0 0 localhost:953 *:* LISTEN 8562/named
tcp 0 0 *:microsoft-ds *:* LISTEN 23378/smbd
tcp6 0 0 [::]:domain [::]:* LISTEN 8562/named
tcp6 0 0 [::]:ssh [::]:* LISTEN 2653/sshd
tcp6 0 0 localhost:ipp [::]:* LISTEN 3381/cupsd
tcp6 0 0 [::]:smtp [::]:* LISTEN 10538/master
tcp6 0 0 localhost:953 [::]:* LISTEN 8562/named
I really hope this is enough information for someone out there in this wise forum to help me solve this problem.
If not please ask for anything else and I will be happy to provide it.
Thankyou