DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Linux Servers and Apache (http://www.daniweb.com/forums/forum33.html)
-   -   centos apache set up problem (http://www.daniweb.com/forums/thread201718.html)

shadiadiph Jul 4th, 2009 9:33 pm
centos apache set up problem
 
Sorry i have'nt got a clue what i am doing i just bought a webserver and and can't get it to work.

I have a dynamic dns set up with my static ip address.
In the nat on my roter i have set up name1 as port 80 with my staticipaddress and name2 443 with my static ip address i also enabled the dynamic dns on my router with username password etc but cannot access my server from outside right now i get error http 2144 i am using a tp link td w8910g router i tried using the same setting as mention above with ip address 127.0.0.1 but had the same problem i am running centos 5 i don't know what to do next if i try to access my static ip address directly it takes me to my router admin page so i guess it is probably my router that is set up incorrectly??? sorry again i am clueless???

DimaYasny Jul 5th, 2009 7:07 am
Re: centos apache set up problem
 
1st: portforward.com to set up port forwarding properly
2nd: when you access your external address from the internal network, you will hit the router, not the servers. Try using another PC connected to another ISP link to test

shadiadiph Jul 5th, 2009 8:00 pm
Re: centos apache set up problem
 
Quote:

Originally Posted by DimaYasny (Post 908748)
1st: portforward.com to set up port forwarding properly
2nd: when you access your external address from the internal network, you will hit the router, not the servers. Try using another PC connected to another ISP link to test

I already did what portfrward recommended for my router also I have been trying to access it from another isp it doesn't work when i go to my static ip or dynamic dns it points to my router fine i haven't altered anything in apache it is set up to listen to port 80 I did not install apache it came already installed with centos 5 I have changed noting no usernames or anything any ideas if i type httpd in the terminal it says cannot bind to port 0.0.0.0:80
i also shut down all other applicaions that might have been trying to use port 80 such as firefox and had the same problem when i run localhost or 127.0.0.1 it displays the apache default page fine

shadiadiph Jul 5th, 2009 11:21 pm
Re: centos apache set up problem
 
ok no problem i got it working now

DimaYasny Jul 6th, 2009 2:36 am
Re: centos apache set up problem
 
you had iptables working, haven't you?


All times are GMT -4. The time now is 1:46 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC