BIND setup

Thread Tools Search this Thread
Special Forums IP Networking BIND setup
# 1  
Old 07-23-2001
Hammer & Screwdriver BIND setup

What would be the best setup for hosting 3 different domains, all 3 using full features (email, ftp, etc) on a solaris8 server with spark. (BIND8)
Should I dedicate an IP for each domain ?
Or can I use ns IP only in such a way that I don't need to reserve another IP.
In short, can I use 1 IP for 3 domains. Is is a smart choice ?

Do you know a good source of infos for this matter ?

Thanks !
# 2  
Old 07-24-2001
Depends what you mean by "hosting" - if web hosting is all that is needed for each domain you can keep one IP and virtually host the remaining domains under the one IP address.

If you want to balance the load (web traffic, mail traffic, ftp logins etc) then going with three IP addresses would be better, if the solaris machine is the nameserver for each of these domains simply create one zonefile for each domain with the relevant records (www, MX etc).

IP addresses nowadays are not easy to come by so using one to host a number of domains is quite common, it's all about assessing the traffic you are likely to get to a certain domain and playing that against the viability of assigning it it's own IP address.

# 3  
Old 07-28-2001
Sometimes hosting multiple domains with virtual host tag of web server creates problem with single ip. So it is safer to use virtual host by address instead of name. However, Apache web server does give the oppertunity to host multiple web sites on the same machine through virtual hosts in two ways
By name

For both the cases your name service has to run perfectly well. So first of all concentrate more on the name service, nslookup is the bets tool for checking it out. You can even run all your services like, Web, Name, Mail, FTP and blah blah on the same computer. But take utmost care to name service as this may create hazards in your network traffic. Use route command to see if all your networkable devices are connected to your computer properly.

If you are using "by name" option, then create a CNAME for your second site. This CNAME has to be defined in your zone files. You should use one ip address and have a name like
The CNAME will give another name to the same computer like So now the following two sites can be accessed at the same computer
You can put two different document roots to the two sites and have logically two different sites hosted in the same computer at one ip. I am not sure if you can host a site of a different domain this way.
I am using Linux 6.2 and apache web server. I have hosted two different webs of totally two different domains. However, this hosting has been done by using "virtual hosting by ip". So I have used two ips for the same NIC of the same machine. Of course, I know this is not the right solution as the ips are going to exhaust soon and I have to host lot more. So "virtual hosting by name" could be the best solution.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users


Hi All I need to do bind of exiting filesystem to new storage allocated mount --bind /prod/OpenCSS /var/lib/test echo "/prod/OpenCSS /var/lib/pgsql bind bind 0 0" >> /etc/fstab will this command just work ? (2 Replies)
Discussion started by: anil529
2 Replies

2. UNIX for Dummies Questions & Answers

Can't bind to IP

When you get the message can't bind to ip already in use. is there a command to search to see everything that is using that IP? I've already check the host and hostname files (2 Replies)
Discussion started by: mchelle_99
2 Replies

3. Red Hat

BIND configuration

I have problems with a simple BIND configuration in CentOS. I have a static public IP and I recently bought a domain name I just want that points to (Apache Web Server). This is how my named.conf file looks: options { directory "/var/named"; }; ... (0 Replies)
Discussion started by: pasadia
0 Replies

4. UNIX for Advanced & Expert Users

DNS Bind

Hello, I have a question about dns file zone. Every zone file begins like: @ 86400 IN SOA ( It means that name server ns1 is responsible for this zone. At the ending I can add the records like IN A So it will... (2 Replies)
Discussion started by: mirusnet
2 Replies

5. Red Hat

NFS - IP bind

Hello, Our production linux server have multiple network interface. Recently we installed and started NFS. Now the client server cannot mount to the server running NFS. Later it was discovered that the port being used for NFS is only bound to one IP address, which is not the IP address I... (0 Replies)
Discussion started by: hemangjani
0 Replies

6. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

7. IP Networking

BIND question

Suppose you had a bunch of domains registered with names following the scheme, etc. These domains are all for virutal webhosting, and will have the same web servers with the same IPs on all of them. The question is, because they're 2nd level domains, is... (3 Replies)
Discussion started by: vertigo23
3 Replies

8. Cybersecurity

bind version

How do I find out my current version of BIND? Dhall1973:D (1 Reply)
Discussion started by: dhall1973
1 Replies

9. IP Networking

bind() error

Hello. I am havig problems with this program. It is a server supposed to get 2 integers from client, calculate a sum and send result back to client. I am getting a bind() error when attempting to execute it. Any help appreciated #include <stdio.h> #include <sys/types.h> #include... (2 Replies)
Discussion started by: Virtuosso
2 Replies
Login or Register to Ask a Question