Koozali.org: home of the SME Server

Getting closer... (website and domain)

Storm Dragon

Getting closer... (website and domain)
« on: February 17, 2003, 02:11:56 AM »
Thank you to all who've helped me so far! I'm getting closer to getting this thing to work!

Okay, so I've got a domain from GoDaddy (www.stormdragonproductions.com) and now I need to set it up.

Port 80 is filtered by my ISP, so I've installed Port Forwarding on SME 5.6 and told it to forward port 8080 to 192.168.0.1 (my E-Smith box itself) at port 80. I also installed Port Opening and opened up 8080.

Now, if I understand correctly, I need to tell www.stormdragonproductions.com to point to my external IP on port 8080 (I currently have 24.203.107.112 but I use DynDNS due to dynamic IP from my ISP, at thedragonslairis.mine.nu)

Am I on the right track?

Storm Dragon

Re: Getting closer... (website and domain)
« Reply #1 on: February 17, 2003, 05:40:31 AM »
uhh... never mind port 8080, that too is blocked. I've successfully opened up 7080 tho, so now http://thedragonslairis.mine.nu:7080 gets to the page, so I need to set up GoDaddy!

Yay!

...now if only they replied to my emails

Jáder Marasca

Re: Getting closer... (website and domain)
« Reply #2 on: February 18, 2003, 01:03:54 AM »
> uhh... never mind port 8080, that too is blocked. I've
> successfully opened up 7080 tho, so now
> http://thedragonslairis.mine.nu:7080 gets to the page, so I
> need to set up GoDaddy!

On Godaddy create a webforwarder to www.stormdragon.com pointing to http://server.stormdragon.com:7080 and Voila! It´s working!

I have a lot of this ! But I´m using port 82 (just a blind guess!)

Jáder

Storm Dragon

Re: Getting closer... (website and domain)
« Reply #3 on: February 18, 2003, 06:38:02 AM »
OK, so let's see if I get this straight...

I've bought www.stormdragonproductions.com.
I make it point to "http://server.stormdragonproductions.com:7080"?

I thought I would have to forward it to the redirector I've created
at DynDNS.org, hence the forward to thedragonslairis.mine.nu:7080...
Gah! My brain!... :S

Jáder Marasca

Re: Getting closer... (website and domain)
« Reply #4 on: February 18, 2003, 01:34:48 PM »
> I've bought www.stormdragonproductions.com.

NO! You have bought stordragonproductions.com (a very long domain!).
anything before this is your decision. Including WWW!

So create an account on dyndns (I prefer ZoneEdit) and inform those DNS server to your registrar.

> I make it point to "http://server.stormdragonproductions.com:7080"?

On Zoneedit create :
 * an host type A with  register: server.storm...  and give it an ip: 1.1.1.1
 * a webforward www and point it to http://server.storm... :7080

On dyndns you should create:
  * an host type A : server.storm...
  * another host WWW as offline and point it to http://server.storm...:7080

So now everything you need it´s put a program to update host SERVER on  dyndns or zoneedit (because www is a forward to server a specified port!)

I hope this help you !

Jáder


>
> I thought I would have to forward it to the redirector I've
> created
> at DynDNS.org, hence the forward to
> thedragonslairis.mine.nu:7080...
> Gah! My brain!... :S

Storm Dragon

Re: Getting closer... (website and domain)
« Reply #5 on: February 18, 2003, 03:33:51 PM »
Yes... yes it does :)

Storm Dragon

Re: Getting closer... (website and domain)
« Reply #6 on: February 18, 2003, 04:55:40 PM »
What do you use to update the info on ZoneEdit, and how do you install/run it? I was using SME's built-in service to relay info to DynDNS before, but I like ZoneEdit much better now :)

Jáder Marasca

Re: Getting closer... (website and domain)
« Reply #7 on: February 18, 2003, 05:37:04 PM »
> What do you use to update the info on ZoneEdit, and how do
> you install/run it? I was using SME's built-in service to
> relay info to DynDNS before, but I like ZoneEdit much better
> now :)

I setup my SME server as server-only (because I put a firewall in front of it!). So I use ddclient (download it from dyndns site!)

Or leave my firewall update it!

Jáder

Des Dougan

Re: Getting closer... (website and domain)
« Reply #8 on: February 19, 2003, 06:08:35 AM »
Edit /sbin/e-smith/dynamic-dns/custom with your domain details as follows:

#!/bin/sh
# Description: Put your description here

#------------------------------------------------------------
# Custom dynamic DNS update handler.
#------------------------------------------------------------

IPADDR=$1
USERID=$2
PASSWD=$3
DOMAIN=$4

#------------------------------------------------------------
# Your handler starts here.
#------------------------------------------------------------

wget -O - --http-user=$USERID --http-passwd=$PASSWD 'http://dynamic.zoneedit.com/auth/dynamic.html?host=ww2.douganconsul
ting.com'
wget -O - --http-user=$USERID --http-passwd=$PASSWD 'http://dynamic.zoneedit.com/auth/dynamic.html?host=mail.douganconsu
lting.com'
#------------------------------------------------------------
# Your handler ends here.
#------------------------------------------------------------

exit 0


The "ww2" is because I also have the default port redirected as my ISP also blocks port 80.

Des Dougan

Cas

Re: Getting closer... (website and domain)
« Reply #9 on: May 04, 2003, 04:53:11 PM »
I have done all this and still get the message :
Can't exec "/sbin/e-smith/dynamic-dns/custom": No such file or directory at /etc/e-smith/events/actions/update-dns line 52

What am I doing wrong ?

Thanks,

Cas