Overclock.net › Forums › Software, Programming and Coding › Networking & Security › web server/ftp server
New Posts  All Forums:Forum Nav:

web server/ftp server

post #1 of 6
Thread Starter 
I am having a problem setting a ftp server.
I already have the computer working as a web server, running apache and can access it from my network, but I am wanting to access it from the internet. I have already set up a dns domain with dyndns.com. Gave the computer a static IP address, and the dyndns.org is showing the correct IP the router is getting my ISP, and I have already forwarded port 80, default port, and gave it the IP address of the web server, but whenever I type the domain name in the address bar, but it doesn't work.
Any one have any suggestions or help?
Thanks
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
post #2 of 6
Try to use the ping command to ping your domain name. It should resolve your domain name to an ip address. Here is an example of what you should see:

Quote:
C:\\>ping whatever.dyndns.com
Pinging whatever.dyndns.com [xx.xx.xx.xx] with 32 bytes of data:
What you will then want to do is see if what IP address (if any) gets returned. If you don't get an IP address then there must be a problem with the dyndns name server. If you do get an IP address there are really two options of what you will see. Either you will see your internal ip (192.168.1.x, 192.168.0.x, 10.1.0.x are some common private ips). Or you will see the public (routeable) ip address that is likely the external interface to your router.

If you get the public ip address, type that number directly into your browser and see what happens. Some routers use NAT to rename internal ip addresses to external when moving out of the router, and external ip addresses to internal when coming in. Home routers can probably not properly route directly to your external ip. Since you are using port forwarding, it is highly unlikly that your router will do network address translation (NAT). What you need to do is ask a buddy to try your domain name from outside of your network and see if they get in. If dyndns is doing thier job, this should work. Once you verify that it isn't a routing/dns issue you just need to add an entry to your HOSTS file with the proper *internal* ip address for your domain name. The usual location of the hosts file is: C:\\WINDOWS\\system32\\drivers\\etc. Any system requiring a DNS lookup of a domain name will check this file first, so you can easily setup an alias.

Hopefully that makes sense, I had a really long day yesterday and only got a few hours of sleep after.

EDIT: I just realized that I assumed you were using windows. If you are using linux the process is pretty much identical except that the hosts file is located in /etc (usually).
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
Reply
post #3 of 6
try putting just the IP address in the address bar and see if that works, have you purchased a domain name for it?
Bravo
(13 items)
 
  
CPUMotherboardGraphicsRAM
X4 955 @ 3.6 Asus M479T 4870 1GB 8 GB DDR3 
Hard DriveOSPowerCase
160 GB Win 7 Antec 750w Antec 300 
  hide details  
Reply
Bravo
(13 items)
 
  
CPUMotherboardGraphicsRAM
X4 955 @ 3.6 Asus M479T 4870 1GB 8 GB DDR3 
Hard DriveOSPowerCase
160 GB Win 7 Antec 750w Antec 300 
  hide details  
Reply
post #4 of 6
Thread Starter 
Quote:
Originally Posted by BFRD View Post
Try to use the ping command to ping your domain name. It should resolve your domain name to an ip address. Here is an example of what you should see:



What you will then want to do is see if what IP address (if any) gets returned. If you don't get an IP address then there must be a problem with the dyndns name server. If you do get an IP address there are really two options of what you will see. Either you will see your internal ip (192.168.1.x, 192.168.0.x, 10.1.0.x are some common private ips). Or you will see the public (routeable) ip address that is likely the external interface to your router.

If you get the public ip address, type that number directly into your browser and see what happens. Some routers use NAT to rename internal ip addresses to external when moving out of the router, and external ip addresses to internal when coming in. Home routers can probably not properly route directly to your external ip. Since you are using port forwarding, it is highly unlikly that your router will do network address translation (NAT). What you need to do is ask a buddy to try your domain name from outside of your network and see if they get in. If dyndns is doing thier job, this should work. Once you verify that it isn't a routing/dns issue you just need to add an entry to your HOSTS file with the proper *internal* ip address for your domain name. The usual location of the hosts file is: C:\\WINDOWS\\system32\\drivers\\etc. Any system requiring a DNS lookup of a domain name will check this file first, so you can easily setup an alias.

Hopefully that makes sense, I had a really long day yesterday and only got a few hours of sleep after.

EDIT: I just realized that I assumed you were using windows. If you are using linux the process is pretty much identical except that the hosts file is located in /etc (usually).
I was following you until you got to the host file part.
I tried the ping with the domain name I picked and it shows an IP address, which could the the IP address of the router, which is normally 65.69.x.x. But of course I turned the computer off last night, and forgot to turn it on, so it timed out.

Quote:
try putting just the IP address in the address bar and see if that works, have you purchased a domain name for it?
I saw that you could do that, put the 192.168.x.x:80 to try to access it from outside the network. But like said, I forgot to turn it back on this morning.
But no I have not purchased a domain name for it. I guess if all else fails, that will be the next thing, since I can not setup an ftp till I get the domain name resolved.
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
post #5 of 6
You will not be able to access a 192.168.x.x address from outside of your network. That is a non-routeable (private) subnet. You need to get your webserver back up so we can see whats going on.

EDIT: PM your domain name and I will see what I can see from an external network.
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
Reply
post #6 of 6
Thread Starter 
Well I am currently at an external network, at work right now.
For some reason though its not associating my domain to the IP address of the computer. Might be something in the configuration of the apache server.
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
Mr. Folder
(16 items)
 
   
CPUMotherboardGraphicsRAM
i7 920@4021Mhz ASUS Rampage II Extreme EVGA GTX560 Ti 448 G.Skill 32 GB 
Hard DriveHard DriveCoolingOS
SATA Western Digital 500 GB Samsung 1TB Noctua NH-D14 Windows 7 Ultimate 64bit 
MonitorKeyboardPowerCase
Hanns-G 22" Logitech G105 Corsair 750 watt Lian Li PC-K62 
MouseAudio
Logitech MX1000 Laser Sound Blaster X-Fi Titanium 
CPUMotherboardGraphicsRAM
Intel i7 6700k Z170 Gaming-ITX/ac Intel(R) HD Graphics 530 G.Skill 16GB DDR4-2133 
Hard DriveHard DriveCoolingOS
Samsung PM830 256 SSD 3 x WD Black 4TB, 2 x WD Black 2TB CM Hyper 212 Windows 8.1 Pro 
Case
Fractal Design Node 304 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security
Overclock.net › Forums › Software, Programming and Coding › Networking & Security › web server/ftp server