Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm trying to move all my websites to a VPS that I hired.
(CentOS Linux 5.4)
To create my DNS server I'm using co.cc addresses (free domains) for test until I get a correct configuration.
What I am trying to do is this:
I create in co.cc site the domain aaa.co.cc and configure the ZONE RECORD:
aaa.co.cc A 22.214.171.124
ns1.aaa.co.cc A 126.96.36.199
ns2.aaa.co.cc A 188.8.131.52
(names and ips showed here are fictitious, of course)
Also I create bbb.co.cc domain and configure the Service Type as "name server DNS" to:
In my VPS server configure BIND:
Create MASTER ZONE aaa.co.cc:
aaa.co.cc. A 184.108.40.206
ns1.aaa.co.cc. A 220.127.116.11
ns2.aaa.co.cc. A 18.104.22.168
aaa.co.cc. NS Default ns1.aaa.co.cc.
Create MASTER ZONE bbb.co.cc:
bbb.co.cc A 22.214.171.124
bbb.co.cc NS Default ns1.aaa.co.cc.
And I create in my Apache 2 Virtual Hosts, one for aaa.co.cc and another for bbb.co.cc. Each with its path and a test index.html file in each home.
I also open port 53 for TCP and UDP on firewall.
Obviously I can "dig" to aaa.co.cc and all is right, but when I dig bbb.co.cc it says:
;; Connection timed out, no servers could be reached
When I dig @localhost everything seems to be ok...
Am I making a big mistake?
I already know that ns1 and ns2 have the same IP, but I want to see if my idea works before "buying" another IP.
Any idea for me?
Thank you very much for your patience and sorry for my accent.