0

I have made an apache webserver with xampp on windows 7 Ultimate. I have set DDNS and port forwarding on port 80 in my AT&T bg210 router. I can connect to the website on the LAN, but not on another network. BI know that WIN7 is end of life. I have tried disabling firewall in PC and router to no success.

Dave M
  • 4,494
  • 21
  • 30
  • 30
cappypi
  • 3
  • 1

2 Answers2

0

Can be a lot of things!

But to get you started, have you made sure that the port forwarding is setup correctly? So that it forwards the packages to the IP of your windows 7 machine?

It could also be that Apache isn't allowing requests from IP-addresses outside of the range of your LAN. (I'm not super familiar with Apache, but I know some other server software does this, like the PostgreSQL)

Are you sure that you have allowed incoming requests on port 80 on your router? And not outgoing requests?

Note: I wouldn't recommend that you run an old Windows 7 machine as an server on the internet. Since the support for it ended on January 14, 2020 as stated on Microsofts own website. Which would mean that not only are you running a server on an operating system that isn't meant to be run as a server. But you're also running it on an operating system that hasn't been patched for over one and a half year... Which would meant that you're opening a huge security hole in your network. And while you might argue that your not a big target for hackers, there are automated bots attacking randomly on the internet all the time. Which is why you have a firewall to begin with!

I would however recommend that you look into running your server on Linux! And if you don't have a spare machine to run it on at the moment I would recommend that you virtualize this machine through something like virtualbox. If you set this up correctly you will at least close down a lot of the security holes.

  • thanks for your answer. i have tried connecting with ip and no success. i will try geeking around somemore :) – cappypi Sep 01 '21 at 22:26
  • also, what distro is good for server? maybe lubuntu? – cappypi Sep 01 '21 at 22:27
  • @cappypi I've never used lubuntu so i can't say anything about that distro. But when i tried to access their webpage it got blocked by a "badware" filter in ublock... So apparently it has been seen as something crappy enough to make it to that list. Maybe you should look into that before choosing that distro! I'm using CentOS for my servers but I'm phasing that one out and moving to Rocky Linux atm since Redhat changed CentOS from downstream to upstream of RHEL. I've also seen alot of people use debian based distros for servers. But ubuntu is usually a good start if your not used to linux. – BitGen01100000 Sep 02 '21 at 06:26
0

Try whatmyip.com and get the public IP and use that IP to connect.

Dragan Kidovic
  • 147
  • 1
  • 2
  • 10