![]() |
ISPConfig & Nameserver
Hi All,
Sorry I am new to this, and could do with a quick explanation of how nameservers work. OK a little about the system. I followed the ISPConfig perfect install on Debian, and found no problem a great tutorial. My setup. Debian IP Address - 192.168.0.3 this is static from my router. Router IP address is dynamic. I have setup a forwarding using noip.com Now my questions regard pointing a domain address to one of the webs? 1: - Nameserver - do i need to set this up locally? if so is 192.168.0.3 a valid ip address for the nameserver? 2: - If i do need to set one up locally what should the name be and does this need registering anywhere else? For example how will 123reg.com now where my nameserver address comes from? 3: - I already have a domain name with an existing host, how do I transfer that name across to my server? As you can probably tell I have no idea how nameservers work, for example if I point towards a local nameserver how does it now which domains webpage to open? Any help for this complete noob would be gratefully received. Or any direction towards good tutorials. Thanks Steve |
Sorry just realised I have put this in the wrong section, can someone please move it to ISPConfig Forum
Thanks Steve |
Hi Steven
I will try to explain how ISPConfig works on dynamic IP address. First of all you MUST have nameservers with static IP address. There is no way around it. And no, internal IP address is not enough for nameserver to work properly. You need static external IP address. If you can't get static external IP address from you internet provider, you have to set domain servers with some redirection service (such as no-ip.com) and use their nameservers for your domain. What to do: a) you have to set nameservers in your 123-reg account to nameservers given to you by no-ip.com (I have 123-reg account as well if you need help with that, give me a shout and I'll help you). b) you have to set your dns entries in your account with no-ip.com and set their service to update your router IP address automaticaly (I do not have that account so I acn't helpyou with that but they will have surely some info on their website) c) you should not set dns records in ISPConfig d) when creating domain in ISPConfig, you have to set your IP address to 192.168.0.3, your nameservers on no-ip.com, ISPConfig on your server and your router will make sure that relevant website will be displayed Best of all is to get static address from your internet provider if this is possible. |
Hi,
Thanks for ypour reply. This is what I have done since. NoIP forwards the domain mydomain.servehttp.com to my dynamic ip. I have set up in 123Reg to forward my domain name mydomain.co.uk to mydomain.servehttp.com that all works fine. I have now setup ISPConfig with the site mydomian.co.uk, but now when I type in www.mydomain.co.uk I get the sharedip page. Is there a way around this? Thanks Steve |
What's in Vhosts_ispconfig.conf, and what's the output of
Code:
ifconfig |
Hi Falko,
The if config returned the following. Code:
eth0 Link encap:Ethernet HWaddr 00:14:2A:EF:4C:6FCode:
###################################Steve |
Looks ok. Does mydomain.co.uk point to your router's public IP address? You can check that with
Code:
dig mydomain.co.uk |
Hi Falko,
That dig returned some information, but where do I compare that information to? You mentioned my routers public IP Address? where is this I have a belkin router. These are the headings I have in the control panel of the router. Wan IP, Default Gateway, DNS Address, IP Address Thanks Steve |
The WAN IP is your public IP address.
|
Hi Falko,
Thanks for all your help so far and your patience. No they do not match. This is the output from dig. Code:
; <<>> DiG 9.3.4-P1.1 <<>> www.f-football.co.ukChecked the 194.154.164.82 and that is where my domain name is regeistered ie www.123-reg.co.uk site. Just to reiterate what I have setup in case I have misled. 1. Registered with NOIP who allow me to redirect www.mydomain.servehttp.com to my dynamic IP address. 2. Bought a domain name from 123-reg.co.uk and forwarded/redirected it to www.mydomain.servehttp.com Thanks Steve |
| All times are GMT +2. The time now is 02:13. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.