3 web domains one displays local but web pages do not show on internet
Nightmare with 3 web domains one displays local but web pages do not show on internet
I ran the suggested program getinfo.sh network and the results are at PasteBin
After 2 weeks and a lot of reading I have One site loading on the localhost but the other 2 web sites error out. None show on the internet.
Centos 5.8 is what I installed on a standalone system.
I have a block of 5 IP addresses with 3 that I have domain names for. I just renewed the base IP address for another 5 years.
I need to run the 3 domains on Centos5.8, I also have 3 other computers. 2 XP boxes, one a laptop and a Win7 box.
I did have 78ez.com running from a win95 then a XP and finally win7 all with Apache. but the attacks killed me so I now need more security so I put centos5.8 on a separate computer.
I can pull files to/from the windows boxes and Centos 5.8
What I need to know is how to get these web sites to show on the internet please.
AND/OR if anyone knows the
1.basic setup needed to run a Linux web-server I think way too much software is installed. Granted I do not know what most of it is and internet research for 258 programs is mind numbing at best.
2. when your web pages show on local-host but not on the internet what is the most likely reason. Or is there a step by step resource you can follow to trouble shoot the reason?
;)I did add to IPTABLES.conf
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 80 -j ACCEPT
-A RH-Firewall-1-INPUT -m state --state NEW -p tcp --dport 443 -j ACCEPT
the boot log says it can't find the command?
:scratch: nslookup 78ez.com
:newbie: yet I have the dns but do not know how to set them up
184.108.40.206 78hosting.com ## Name servers 220.127.116.11 - 18.104.22.168
22.214.171.124 couch-potato-sales.com ##Name servers ns57.worldnic.com 126.96.36.199 ns58.worldnic.com 188.8.131.52
Domain servers in listed order:
AUTHNS1.MPLS.QWEST.NET 184.108.40.206 220.127.116.11 63.224.0/12
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : gateway.2wire.net
Link-local IPv6 Address . . . . . : fe80::258f:1440:3eab:cf8a%11
IPv4 Address. . . . . . . . . . . : 192.168.0.64
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
Tunnel adapter isatap.gateway.2wire.net:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : gateway.2wire.net
Tunnel adapter Teredo Tunneling Pseudo-Interface:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : 2001:0:4137:9e76:1c8e:f02:b45f:6e81
Link-local IPv6 Address . . . . . : fe80::1c8e:f02:b45f:6e81%12
Default Gateway . . . . . . . . . : ::
:scratch: Hosts file
127.0.0.1 www.couch-potato-sales.com www localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6
18.104.22.168 www.78ezhosting.com## Name servers 22.214.171.124 - 126.96.36.199
188.8.131.52 sub.78ez.com # Older PHP server
184.108.40.206 www.couch-potato-sales.com##Name servers ns57.worldnic.com 220.127.116.11 ns58.worldnic.com 18.104.22.168
Reading another post I found this information is valuable.
# NVIDIA Corporation MCP61 Ethernet
[root@www ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 20:CF:30:6F:05:52
inet addr:192.168.0.65 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:52543 errors:0 dropped:0 overruns:0 frame:0
TX packets:30538 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:63597339 (60.6 MiB) TX bytes:2718484 (2.5 MiB)
Interrupt:50 Base address:0xa000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3803 errors:0 dropped:0 overruns:0 frame:0
TX packets:3803 errors:0 dropped:0 overruns:0 carrier:0
RX bytes:3804455 (3.6 MiB) TX bytes:3804455 (3.6 MiB)
APACHE short Config
From what I understand, you have a web server with the private (non-routeable) IP address 192.168.0.65, and you wish this server to serve web pages for three different domains, and for these sites to be available from the Internet.
This is what you need to do:
1. Run nslookup www.yourdomain.com authoritative.dns.server
This command works on both Linux and Windows. "www.yourdomain.com" should obviously be replaced with the name you wish to test, while "authoritative.dns.server" should be the name or IP address of the DNS server responsible for that domain. (You can find the IP address of that server with nslookup -q=NS domain.name - note that the "www" part should not be included, just the domain.)
The command should return the public IP address of your server (or the server/router doing the port forwarding). It should NOT return a private IP address.
2. Test the availability of the HTTP/HTTPS service (port 80 and 443 respectively) using an external service like ShieldsUP!
If run from the web server, the test should report ports 80 and 443 as open. If not, your server can't be accessed from the Internet.
If your server is to have a private IP (as it has now), you could enter that IP address or just leave the asterisk.
BTW, you have another virtual host serving pages from the /var/www/html directory. Unless you specifically want it for some reason, it probably isn't a great idea to have one site serving pages from a subdirectory of another site.
|All times are GMT -5. The time now is 02:38 AM.|