help setting up an xampp server
Hello, I'm trying to set up my first server and these are the components I have set up so far: XAMPP, under System>Administration>Network Tools when I preform a port scan port 80 comes back open to www, a domain name hosted with dyndns.com, and my wireless router connecting to dyndns.com. When I try to connect to the domain they gave me the browser times out before anything loads. What am I missing?/What can I double check? Thanks to all in advance. Dan
Re: server newb needs help
Quote:
Originally Posted by
woodsonoversoul
Hello, I'm trying to set up my first server and these are the components I have set up so far: XAMPP, under System>Administration>Network Tools when I preform a port scan port 80 comes back open to www, a domain name hosted with dyndns.com, and my wireless router connecting to dyndns.com. When I try to connect to the domain they gave me the browser times out before anything loads. What am I missing?/What can I double check? Thanks to all in advance. Dan
Go into the router settings, and set up port forwarding for port 80 to your server. If your router allows for a DMZ host, all the better, as that will automatically forward all ports to your server. Take a look here.
Re: server newb needs help
Quote:
Originally Posted by
talsemgeest
Go into the router settings, and set up port forwarding for port 80 to your server. If your router allows for a DMZ host, all the better, as that will automatically forward all ports to your server. Take a look
here.
From my router:
Quote:
The Port Forwarding feature is more secure because it only opens the ports you want to have opened, while DMZ hosting opens all the ports of one computer, exposing the computer so the Internet can see it.
So while DMZ has it's advantages, forwarding all of your ports is not always the best idea.
Re: server newb needs help
Quote:
Originally Posted by
TuckLive
From my router:
So while DMZ has it's advantages, forwarding all of your ports is not always the best idea.
It is brilliant if all you are doing is hosting a web site, but if you want ssh, web administration, https, ftp, vmware server... you would have to set up a port forwarding rule for each. And, as long as you keep your computer up to date there is nothing to worry about.
Re: server newb needs help
I am trying to set up a server for a single website. I believe I already have the port forwarded. When I go to my router's admin page and it's port forwarding options I see this set as the only port forwarded...
# Service Name Start Port End Port Server IP Address
1 HTTP 80 80 192.168.*.*
Re: server newb needs help
So my router says it is forwarded. Is there a way to check?
Re: server newb needs help
A few simple steps can help troubleshoot:
- From a second local machine on the network enter the local ip address of the server in the web browser to see if apache is working locally?
- Is dynDns forwarding to your ISP (external) ip address? You should be able to compare it with your external ip from your router page or canyouseeme.org
- Try accessing your web address from a machine outside your LAN to see if it is an issue with NAT redirection.
- Enter your external ip address directly in the browser window locallay and outside the LAN to see if it is a DNS issue.
Re: server newb needs help
Thanks volkswagner. In response to your first point, which ip address do I use, My Internet Port IP Address, My Internet Port Domain Name Server Addresses (my router list two), or my LAN port IP Address?
Re: server newb needs help
Quote:
Originally Posted by
woodsonoversoul
Thanks volkswagner. In response to your first point, which ip address do I use, My Internet Port IP Address, My Internet Port Domain Name Server Addresses (my router list two), or my LAN port IP Address?
That would be your LAN port ip address.
Re: server newb needs help
Quote:
Originally Posted by
talsemgeest
It is brilliant if all you are doing is hosting a web site, but if you want ssh, web administration, https, ftp, vmware server... you would have to set up a port forwarding rule for each. And, as long as you keep your computer up to date there is nothing to worry about.
Its still better to only forward the ports you actually need, all it would take is a a security vonribility in one of the servers running and you could be compromised. Always open as few ports as possible.
Run one of the online port scanners like the one at GRC https://www.grc.com/x/ne.dll?bh0bkyd2, click on the proceed button then common ports, this will show your public IP(try accessing your site with this) and your open ports, 80 should show up as being open.