Computer ForumsComputers  

Go Back   Computer Forums > PC Technology Zone > Linux, BSD, other *nixes & Open Source Software

Reply
 
LinkBack Thread Tools Display Modes
Old 02-10-2006, 02:15 AM   #1 (permalink)
Ultra Techie
 
RockyZ's Avatar
 
Join Date: Oct 2005
Posts: 907
Send a message via AIM to RockyZ
Default Accessing Apache Server

Spent about 15 minutes, got all my settings rights, got my apache server up and even got my website loaded into there. But the problem is that I cannot access my Apache server VIA the internet, I can onyl access it through lan.

Apache is in port 80, I typed my ip (67.170.196.238:80), and I couldn't access it. I know there must be something in my router that I haven't configured. I own a DI-604 (dlink) router. I tried enabling the Virtual Host thing for port 80, but I must have done something wrong. Im pretty sure I have used port 80 to host another type of fileserver before and it worked, please help!
__________________

e6300@2.8GHZ
G. Skill 4GB(2x2GB) DDR800
eVGA 8800GTS 320MB
super pi: 1m=20s
RockyZ is offline   Reply With Quote
Old 02-10-2006, 11:33 AM   #2 (permalink)
Ultra Techie
 
Join Date: Oct 2003
Posts: 544
Default

Not sure what virtual host is, it might be what i am about to describe...

You want to enable port forwarding. Set it up so that port 80 is forwarded to the IP address of the computer hosting the website.
fitzjj is offline   Reply With Quote
Old 02-10-2006, 11:36 AM   #3 (permalink)
Ultra Techie
 
Join Date: Oct 2003
Posts: 544
Default

One other thing: is it working? i just went to the IP address you have given and it is working fine. If from inside your network you enter the IP address 67.170.196.238 it will get confused and try to connect to your router. Port forwarding only forwards connections from the internet and not internal connections. To check it is working really you need to be using a computer outside of your network. - right now it is working.
fitzjj is offline   Reply With Quote
Old 02-10-2006, 07:47 PM   #4 (permalink)
Ultra Techie
 
RockyZ's Avatar
 
Join Date: Oct 2005
Posts: 907
Send a message via AIM to RockyZ
Default

Ahh, I got it working last night. The problem was that my router only supported port forwarding for one computer only. So basically I had to swith port forwarding for port 80 to my laptop. It's working fine right now. Thanks for the help!

Another question concerning Apache is, how do I set it up so I can upload files to it from a different place? Do I have to setup a FTP? If so, is there any guide for me to set it up?
__________________

e6300@2.8GHZ
G. Skill 4GB(2x2GB) DDR800
eVGA 8800GTS 320MB
super pi: 1m=20s
RockyZ is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:11 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0