Hi, I should mention that my server is behind the router and running in vitural machine. My machine IP: 192.168.1.21(internal IP) My external IP: 1.1.1.1(example) Domain: abc.com DNS server: ns1.abc.com, ns2.abc.com After I used the internal IP for installation, what is the following steps to set up my external IP to my machine that outside people can visit my websites? Is it directly setup the ns records in the DNS setting page in control panel? I would like to use ns1.abc.com and ns2.abc.com in local bind server to resolve my domain(abc.com). Any solution? Thanks.
First, you must configure your router to forward all needed ports (like 80 for http) to your ISPConfig server. Then you must create DNS records that point to your public IP address. If you have a dynamic IP, I suggest you get a hostname from dyndns.org and let your DNS records point to the hostname using CNAME records. The records must be created on the authoritative nameservers for your domains. If you want to use your own nameservers, take a look at http://www.howtoforge.com/how-to-ru...and-secondary-with-ispconfig-3-debian-squeeze If you want to host records for abc.com on ns1.abc.com and ns2.abc.com, you also need a glue record: http://en.wikipedia.org/wiki/Domain_Name_System#Circular_dependencies_and_glue_records
Hi falko, Thank you for your help. And I still have some further question to ask. I would like to ask is that the right steps as following? Code: 1. Follow the steps of "How To Run Your Own DNS Servers (Primary And Secondary) With ISPConfig 3 (Debian Squeeze)" to create two sub-domain: ns1.abc.com, ns2.abc.com 2. Create a glue record to register ns1.abc.com, ns2.abc.com in my domain service provider 3. Finished. Another question is what is the different of direct point to my public IP address in domain service provider and use our own nameservers? Thank you very much.
Yes, that should work. The first option means less trouble (because you don't have to run your own nameservers), but less power. The second option means you have more power over your DNS records.