Forum Moderators: phranque
Port 69
ServerName taxii.mine.nu
taxii.mine.nu is the dns address registered at dyndns.org
because im using a router, im very confused on which ip to use when setting up the dns address...
Network Connection Details [img30.photobucket.com]
...i wish i knew what i was doing.
In the apache configuration you need to specify your local ip address (for example 192.168.0.1) for the BindAddress, the port can be anything (in the case if you can turn the port in your incomming requests on your router to something else), so i sugegst you to use the default one.
An alternative is that you don't specify BindAddress nor Listen, only Port, then apache will be listening on every ip address on the given port. The ServerName (if you really want to configure one) can be the hostname you are about to use on the internet and which is pinting to your server, but it is rather useless to configure any if you want to host only one site.
In your router you need to open the port 69 (by the way I don't recommend using such a low port, I'd use 8080 or 8000 instead) and forward it to the ip address of your apache (the 192.168.x.x liek ip address), and if you configured the apache to listen on the default port, then you need to configure that also on the router (if you can; otherwise change the port on the apache to 69 or whatever you decided to use).
In the dns records (I really don't know how it is working with dyndns, so don't ask specific questions) you must have the ip address of your internet connection defined (should not be 127.0.0.1, 10.x.x.x, 172.16.x.x or 192.168.x.x but can be anything else). Additionally you can create CNAME (cannocial name) records in the zones (domain name records) which refers to a hostname, not to an ip address, so you can have it pointing to any dynamically updated hostname (like dyndns).
+ apache is set to port 8080
+ dyndns is set up to the ip addy of my internet connection.
+ port 8080 is being forwarded through my router:
In.Ports: 8080-8080
Destination IP: 192.168.2.1
Destination Port: 8080-8080
i got a friend to test out [taxii.mine.nu...]
PAGE CONNOT BE DISPLAYED
so i thought maybe [taxii.mine.nu:8080...]
still nothing
i try it, and i get the popup for username and password to enter the configuration pages for my router.
bleh.
::frustraited:
Try to connect to the webpage from the hosting machine, on port 8080. Generally this is localhost:8080.
Next try to connect to it from another machine on your LAN, if you can't do this you can try using the local LAN ip, but it there is a firewall problem on the hosting machine, you won't be able to debug this properly without this step.
If both of these steps work, make sure you have your WAN ip address correct in dyndns. You can check it by going to [whatsmyip.org...]
This will report your WAN ip address.
Now try to ping your domain name, even if you don't have pings going through, it should still show the ip address it's trying to ping. That IP should match your WAN ip.
If all this works, then re-check the port forwarding, make sure it's really mapping port 8080 to the correct LAN ip address.
Good luck.