View Full Version : webserver, dyndns (dynamic) and airport express.
skeetone
09-11-2004, 05:12 AM
Hi all,
I got my ibook now connected to the internet with airport express, my g-friend has an windows laptop...both perfectly on the internet.
When I just wanted to see if my dyndns was still working it didn't.
It got my internal IP-adress but it should be my external one..(I think).
Is there a way to get this to work?
Maybe by portforwarding or something?
I have no idea really how to fix this, but i need my site because i'm organising parties through my site that I run from my own computer.
tnx people!
skeetone
09-14-2004, 03:53 AM
hmz....is this such a stupid question that nobody will even bother answering,
Did I ask it in such a way that it doesn't make any sense,
or did nobody try this yet?
=)
l8erz.
stetner
09-14-2004, 05:14 AM
When I just wanted to see if my dyndns was still working it didn't.
It got my internal IP-adress but it should be my external one..(I think).
What do you mean by this? Did you try to go to your web site from the machine itself? Did you try to 'ping' it? DNS lookup?
Without knowing exactly what is failing it is pretty hard to make suggestions....
Try to outline exactly what you are trying, and provide the exact output if possible, and they say what you expected to see.
mac_man_luke
09-14-2004, 06:38 AM
You need to get the external address from the airport express if you are using it as a router and then set the ape to forward port 80 to you internal IP address
skeetone
09-15-2004, 05:30 AM
Well..I get an outgoing IP address from my ntl modem from ntl. Which is something like 80.240.x.x (don't know the last few at the moment). But since I use the airport express in between the modem and my computer I have an IP now like 10.0.1.x. This is also the ip that DNSUpdate gives me now.
So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.
So I only need to forward port 80 to my computer (only tcp??) and then it should work?
tnx m8's if you need more info plz let me know.
cya.
mac_man_luke
09-15-2004, 06:04 AM
the way it works is that the airport express gets the ip that you computer used to get and then assigns every other computer on you network a private IP.
So you need to just falward port 80 to your private ip, im not sure how you do it with an airport express as i only have ever used netgear and linksys routers
stetner
09-15-2004, 08:20 AM
So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.
So I only need to forward port 80 to my computer (only tcp??) and then it should work?
OK$ dig www.exitz.kicks-ass.net
; <<>> DiG 9.2.2 <<>> www.exitz.kicks-ass.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15450
;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0
;; QUESTION SECTION:
;www.exitz.kicks-ass.net. IN A
;; AUTHORITY SECTION:
kicks-ass.net. 1771 IN SOA ns1.dyndns.org. hostmaster.dyndns.org. 2015130994 10800 1800 604800 1800
;; Query time: 36 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Sep 15 23:10:32 2004
;; MSG SIZE rcvd: 102
$ dig exitz.kicks-ass.net
; <<>> DiG 9.2.2 <<>> exitz.kicks-ass.net
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 30391
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 5, ADDITIONAL: 5
;; QUESTION SECTION:
;exitz.kicks-ass.net. IN A
;; ANSWER SECTION:
exitz.kicks-ass.net. 60 IN A 10.0.1.2
;; AUTHORITY SECTION:
kicks-ass.net. 86400 IN NS ns2.dyndns.org.
kicks-ass.net. 86400 IN NS ns3.dyndns.org.
kicks-ass.net. 86400 IN NS ns4.dyndns.org.
kicks-ass.net. 86400 IN NS ns5.dyndns.org.
kicks-ass.net. 86400 IN NS ns1.dyndns.org.
;; ADDITIONAL SECTION:
ns1.dyndns.org. 86367 IN A 63.208.196.90
ns2.dyndns.org. 29241 IN A 209.69.32.137
ns3.dyndns.org. 29241 IN A 63.209.15.210
ns4.dyndns.org. 29241 IN A 213.155.150.205
ns5.dyndns.org. 29241 IN A 63.208.196.91
;; Query time: 551 msec
;; SERVER: 192.168.0.1#53(192.168.0.1)
;; WHEN: Wed Sep 15 23:11:00 2004
;; MSG SIZE rcvd: 233
You have no DNS entry for 'www.exitz.kicks-ass.net' (no 'IN A' answer from the first dig command above), and somehow the host that does show up, 'exitz.kicks-ass.net' points to a '10.x.x.x' ip address (see second dig command above), which is an 'internal' IP address and will not get routed over the internet.
If you get the dyndns name servers to point to your public IP, 80.240.x.x and add an alias to that IP for the www host, then people should be able to surf to you IF you have your router forward port 80 to the machine you have your web pages set up on.
edalzell
09-16-2004, 04:45 PM
Well..I get an outgoing IP address from my ntl modem from ntl. Which is something like 80.240.x.x (don't know the last few at the moment). But since I use the airport express in between the modem and my computer I have an IP now like 10.0.1.x. This is also the ip that DNSUpdate gives me now.
So when I try to surf to my site through www.exitz.kicks-ass.net (which is my site) then it can't find it.
So I only need to forward port 80 to my computer (only tcp??) and then it should work?
tnx m8's if you need more info plz let me know.
cya.
Right, you need to set DNSUpdate host information to External. That way it will use the IP address of your Airport. Then you need to port forward port 80 from your Airport to your internal address.
You need to set up a static IP address on your laptop. I have my Network setting set to DHCP with Manual. Then give it a static IP address on the same subnet as the Airport, but outside the DHCP range.
Any of that make sense?
mac_man_luke
09-16-2004, 09:38 PM
I know netgears and linksys's have a dnsUpdate client, but it dont think the express does, and the client you have on your computer probhably cant even get out through the firewall
skeetone
09-18-2004, 03:54 AM
There is some sort of port forwarding in the airport express (airport admin utility) but that didn't work =(
Maybe I did something wrong..
I don't have my firewall on at the moment (the one in my ibook)...
tnx for all the help people!!
Maybe I should just contact DnsUpdate themselves or something...
tnx anyways and any extra help is still appreciated!! =)
l8erz!!
trutane
02-02-2005, 01:30 AM
I have a similar setup and I was able to get things to work. Here are some details that might help.
First, the setup:
1) Host name registered at DynDNS.org for Dynamic DNS service.
2) Internet connection routed via Airport shared by local clients using DHCP.
3) Using DNSUpdate (www.dnsupdate.org) to update my IP address at DynDNS.org.
Putting it together:
* Start web server (System Prefs->Sharing-> Services, Personal Web Sharing). This also lists your machine's local network address (e.g., 10.0.1.2).
* In the Airport Admin Utility "Port Mapping" tab, add an entry like this:
Public Port=80
Private IP Address=10.0.1.2
Private Port=80
* In DNSUpdate, open File->Edit Users and (if you haven't already done this) add a user your_user_name@dyndns.org, selecting DynDNS.org as the service.
* Click Add Host to add your host name for this user if you haven't already. If so, click Edit Host. In the add/edit host dialog, the Interface should be set to "External" and Host Type should be "dyndns". The Default interface will use the local address (10.0.1.2) -- not what you want. (If you're using the DynDNS Custom DNS service, set Host Type to "custom").
* Click the "Active" checkbox for this host. If something is wrong, the checkbox will uncheck itself. If so, doublecheck all your settings.
You should now be good to go. The DNSUpdate Monitor window should now show your Registered IP as the external IP, not the 10.0.x.x internal one.
You can also confirm your Address in the /Library/Preferences/DNSUpdate/Users/your_user_name@DynDNS.org.duuser file, which is automatically updated by DNSUpdate.
HTH.
skeetone
02-09-2005, 10:25 AM
tnx m8 it worked! =))
Sorry for the late reply, kinda forgot this thread =))
But got my webserver online again!!!
very much appreciated!
dave.
skeetone
04-07-2007, 02:02 PM
just one other question.
Is it possible to also configure email addresses with @domain1.com and @domain2.com when I got the domain names and the server all working with vhosts?
tnx again people! =)
dav.
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.