LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-10-2012, 04:52 AM   #1
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Rep: Reputation: Disabled
Hosting Multiple Domains on one IP Address in Bind DNS


Hi

i Have a public ipaddress xx.xx.xx.xx. i had made the ISP provider to point out my domain to the ipaddress which i have and i have configured dns.
I have also have another registered domain name .whether its possible to have two registered domain name to point out to same ipaddress.


Thanks&Regards
jayakumar

Last edited by jayakumar01; 01-10-2012 at 04:56 AM.
 
Old 01-10-2012, 05:03 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
Absolutely. Any number of DNS A records can point to the same IP. Assuming you are actually refering to Apache to provide the domain, you'd just set up VirtualHosts to serve each domain independently. Please refer to stadnard documentation for help with VirtualHosts, and ask back if you have specific issue.s
 
Old 01-10-2012, 05:04 AM   #3
cormanstnl
Member
 
Registered: Jul 2007
Posts: 31

Rep: Reputation: 0
IMHO, I think that is possible
 
Old 01-10-2012, 05:46 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
Quote:
Originally Posted by cormanstnl View Post
IMHO, I think that is possible
Not really a question of opinions
 
Old 01-10-2012, 06:10 AM   #5
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
Hi
i Had configured a single domain name in single ipaddress.


[root@host2 ~]# hostname
bmw.etl.com
[root@host2 ~]# ping bmw.etl.com
PING bmw.etl.com (10.200.0.225) 56(84) bytes of data.
64 bytes from bmw.etl.com (10.200.0.225): icmp_seq=1 ttl=64 time=0.037 ms

--- bmw.etl.com ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 0.037/0.037/0.037/0.000 ms
[root@host2 ~]# dig bmw.etl.com

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> bmw.etl.com
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 38871
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 1, ADDITIONAL: 0

;; QUESTION SECTION:
;bmw.etl.com. IN A

;; ANSWER SECTION:
bmw.etl.com. 86400 IN A 10.200.0.225

;; AUTHORITY SECTION:
etl.com. 86400 IN NS bmw.etl.com.

;; Query time: 1 msec
;; SERVER: 10.200.0.225#53(10.200.0.225)
;; WHEN: Tue Jan 10 17:09:19 2012
;; MSG SIZE rcvd: 59

[root@host2 ~]# nslookup bmw.etl.com
Server: 10.200.0.225
Address: 10.200.0.225#53

Name: bmw.etl.com
Address: 10.200.0.225

[root@host2 ~]# nslookup 10.200.0.225
Server: 10.200.0.225
Address: 10.200.0.225#53

225.0.200.10.in-addr.arpa name = bmw.etl.com.
 
Old 01-10-2012, 06:20 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982Reputation: 1982
why are you telling us that? Are you expecting us to comment on it? I will comment that that's an private IP. What does an ISP have to do with that?
 
Old 01-10-2012, 06:59 AM   #7
jayakumar01
Member
 
Registered: Nov 2011
Posts: 106

Original Poster
Rep: Reputation: Disabled
Hi
OK I Will try it with public ipaddress .

Thanks for ur reply
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BIND DNS - MX, TXT and SPF records when hosting multiple domains on same machine? icebrian Linux - Networking 3 05-02-2011 08:21 AM
Bind configuration for multiple sub-domains on multiple sites JF1980 Linux - Networking 3 08-31-2006 01:28 PM
Apache: hosting multiple domains fturcic Linux - Software 1 02-15-2005 05:39 PM
Hosting multiple domains Imanerd Linux - Networking 2 01-04-2005 08:10 PM
Bind/DNS with multiple domains, one IP dmarkow Linux - Networking 1 12-18-2003 12:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:46 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration