?
Solved

Need help getting my server online

Posted on 2005-03-18
15
Medium Priority
?
152 Views
Last Modified: 2010-04-20
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.
0
Comment
Question by:dEcOr
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 6
15 Comments
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13574215
do you see the reuest from internet in your servers access_log or error_log?
if not you have a firewall/routing problem
0
 

Author Comment

by:dEcOr
ID: 13574442
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13574463
most likely a NATting problem at firewall or router
0
Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

 

Author Comment

by:dEcOr
ID: 13574522
NATting? what is that and how can i fix it?
i am very quite new to this.
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13575199
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
 

Author Comment

by:dEcOr
ID: 13576351
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
 

Author Comment

by:dEcOr
ID: 13576457
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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13576478
>  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
 

Author Comment

by:dEcOr
ID: 13581288
"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
 
LVL 51

Expert Comment

by:ahoffmann
ID: 13581570
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
 

Author Comment

by:dEcOr
ID: 13581818
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
 

Author Comment

by:dEcOr
ID: 13586223
sorry, but where do i type that?
0
 
LVL 51

Accepted Solution

by:
ahoffmann earned 400 total points
ID: 13636733
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

Featured Post

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
What You Need to Know when Searching for a Webhost Provider
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question