Need help getting my server online

had installed the apachefriends server from xampp.org. I am trying to get my server online so that people can access my website externally(through the internet). however, i don't understand why it isnt working.

I am running on a SMC router. On my router administration page, there is a place that says Vritual Server. Over there, I enabled port 80 with it pointing to my LAN IP.
I can access my website with http://localhost as well as my own LAN IP. This means there shouldn't be any problem internally right? But when I ask my friend to try to access my website through my ISP IP(the IP from my ISP, not my LAN IP), he could not get in and get a Page cannot be displayed error.

My computer is running on Windows XP Professional. I even tried enabling my LAN IP as DMZ but it still didn't work.
What should I do to get my website availabe externally? I am pretty new to such things and would really need you guys to help me.
Thanks a lot.
dEcOrAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
ahoffmannConnect With a Mentor Commented:
oops XP, you still said in your question, sorry
there is no tcpdump, you need another sniffer like ethereal
But I'd check ther router first if it has the ability to dump the traffic comming in and going out
0
 
ahoffmannCommented:
do you see the reuest from internet in your servers access_log or error_log?
if not you have a firewall/routing problem
0
 
dEcOrAuthor Commented:
no, there are no logs in the files.
i have no firewall programme installed. I only have norton antivirus on my computer. as for my router, what problem could it be? is there anything wrong with my settings?
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
ahoffmannCommented:
most likely a NATting problem at firewall or router
0
 
dEcOrAuthor Commented:
NATting? what is that and how can i fix it?
i am very quite new to this.
0
 
ahoffmannCommented:
your SMC router needs to do it.
Means it has to forward all requests to the public IP on port 80 to the LAN-IP port 80 of your server.
This is called NAT (network address translation), or sometimes in special cases masquerading.
0
 
dEcOrAuthor Commented:
does that mean only my SMC router can do the work and I cannot do anything to make the router to forward all requests?
otherwise, what can i do to achieve that?
0
 
dEcOrAuthor Commented:
Another thing I don't understand is that I thought I had DMZ pointed to my LAN IP and there shouldn't be a problem with this NAT thing?
0
 
ahoffmannCommented:
>  does that mean only my SMC router can do the work ..
yes

> .. and I cannot do anything to make the router to forward all requests?
you can: enable NAT

> otherwise, what can i do to achieve that?
NAT, or giving your server a public IP which then needs to be routed too
0
 
dEcOrAuthor Commented:
"or giving your server a public IP which then needs to be routed too"
how do you do that?

because I believe that the Virtual Server option in my router admin page is the NAT. I had forwarded the port 80 to my LAN IP but it is still not working.
0
 
ahoffmannCommented:
assuming that you get a dyamic IP from your ISP, and that you get only one IP, your router is the best solution to manage access to internet.
If you want to have your server with that IP you need to unplug the router and use the server directly to connect to your ISP,  when this is done, the ISP tells your server which IP to use.

So you better first check your router docs how to do NAT.

> I had forwarded the port 80 to my LAN
did you check that the back is done also? Should be done by the router automatically, usually ..

To check if any traffic on port 80 reaches your server, simply start on your server:
   tcpdump -l -n port 80
0
 
dEcOrAuthor Commented:
where do i type tcpdump -l -n port 80?
i am running on windows xp pro. when i run apache, there is a dos window but i cannot type anything to that window.
0
 
dEcOrAuthor Commented:
sorry, but where do i type that?
0
All Courses

From novice to tech pro — start learning today.