Koozali.org: home of the SME Server

nameserver help, please

Offline del

  • *
  • 765
  • +0/-0
nameserver help, please
« on: February 12, 2004, 02:50:58 AM »
Hi All,

I have a domain registered and would like to host it on my SME Server v5.6 but I am a bit confused about nameservers, My registrar needs me to enter my nameservers, they require at least 2 but there is an entry for a third. What do you need to enter here? I am using a cable modem. Any help would be appreciated.

Regards,
Del
 :-?
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

CH Cheah

nameserver help, please
« Reply #1 on: February 12, 2004, 04:55:48 AM »
Did your cable provider assign you with a fixed IP ?

Offline del

  • *
  • 765
  • +0/-0
nameserver help, please
« Reply #2 on: February 12, 2004, 05:02:51 AM »
No, it is dynamic. I set up an account with dyndns.org and can see my server with my .homelinux.com address, but the cable company have not changed my IP address for about 6 months and so I have to log onto dyndns every 30 days to renew it and when they last changed it it wasn't updated by sme (or dyndns?) I have entered all the details in the SME Server configuration for my dyndns account. Thanks.
Regards,
Del
 :-(
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

loveless

nameserver help, please
« Reply #3 on: February 12, 2004, 05:03:54 AM »
By default, the SME Server won't let you host external DNS (without Mitel's ServiceLink product)... which is what you're trying to do.  

Most users use a Dynamic DNS Service like easydns.com or dyndns.com, or a few others.  This way, if your server gets a new IP from your provider, it can be configured to auto-update the DNS service with the correct new IP of your server.

Then you just use their DNS Servers and create/register as many domains as you like.  Direct them all to your server.

Then, on your server you'll need to create a Virtual Domain for each of your domains.  And redirect the web content to the appropriate location, either to an IBay, or use ProxyPass to forward requests to an internal server.

Hope that helps.

Offline del

  • *
  • 765
  • +0/-0
nameserver help, please
« Reply #4 on: February 13, 2004, 01:45:45 AM »
OK, I think I get it now, is there a howto to set this up so that my ip address is automatically updated when it changes? Do I need to install any thing on the server or can I do it in the configuration. Assuming that I sign up with dyndns or easydns. I am sorry if these are idiot questions but as far as this side goes I am a novice.
Regards,
Del :hammer:
If at first you don't succeed, then sky-diving is not for you!
"Life is like a coin. You can spend it anyway you wish, but you can only spend it once." --Author Unknown

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
nameserver
« Reply #5 on: February 13, 2004, 05:33:23 AM »
Here is a little how-to get it to work

 a) Set your dyndns server to dyndns.org in the config and enter your username and password etc. (I assume you have already done this).
b) Log in as root and "cd /sbin/e-smith/dynamic-dns"c) backup your dyndns.org script "cp -p dyndns.org dyndns.org.bak"
c) edit the dyndns.org script, replace the $DOMAIN in the wget command with your domain name (ie. diatechnik.dyndns.org).
d) save and exit the editor
e) restart networking "service network restart"
f) Check the system log to see if your update succeeded
One other thing, make sure you have set diatechnik.dyndns.org as a virtual domain or your machine will not accept any traffic for it.

I found this on the e-smith forums before the change and have had to use it a few times. It does work



Bob
If you think you know whats going on, you obviously have no idea whats going on!

Anonymous

nameserver help, please
« Reply #6 on: May 12, 2004, 12:09:28 PM »
just wondering,  is this how the hostnames and addresses should look?

www.mydomain.homelinux.com    Local    Local    192.168.1.1    


I have dyndns.org set up 100% correctly as far as i can see, with my Primary domain as:

"mydomain.homelinux.com"  --redirected webcontent to a different i-bay with '"Entire Internet"  no password required' option.

But, nobody ever seems to be able to access it outside my network.  I tried https:// aswell, but that doesn't work either.


I'm sure it couldn't have been this hard for most of you:P... what am i missing here?

Thanks.