-   Linux - Networking (
-   -   Build Nameserver and Virtual Hosts (

bytebrowser 04-30-2004 08:28 AM

Build Nameserver and Virtual Hosts

I currently have a single website hosted on my Red Hat 9 server. I would like to take a couple of things further:

1. I would like to know how to setup multiple website on the one server

2. I would also like to setup a Name-server so that i don't have to get an external company to point the URL to my IP address.

I currently work in console (no GUI) but also have web-min when the console gets the better of me! I use apache 2, vs-ftp, postfix and mysql.

Any help would be appreciated. I have only joined the Linux world recently so I have not yet build up many skills.


----- RH9 Web Server Specs:-----

Dual Xeon 2.4Gb Processors
Tyan Tiger i7501R Motherboard
512 DDR RAM PC-2100 (2x256 Reg ECC)
2 x 80Gb SATA (Raid) HDD
1 x 80Gb IDE HDD

----- Why not go nuts :) -----

nixinbarrie 04-30-2004 09:09 AM

Hi bytebrowser,

I am not sure if your are using a static or dynamic ip address but you can use a dynamic dns client to automatically update your url to your ip address automatically all the time.

If you have registered your own domain name than I would recommend you to stop by and register with them. They will provide you with free domain name servers for up to five domain names I believe. After the five domain names than they start charging you. But it's a good start and I have never had any problems with them and they have excellent support.

Using's name servers and a dynamic dns client such as ddclient you will be completely good to go for up to five domain names.

If you are looking for free domain names to use and a dynamic dns client to use than I would recommend you to stop by at, register with them and than your can register as many free domain names with them as you wish. You can also grab a dynamic dns client from there as there are many to choose from for free.

As for setting up multiple web sites on your box as I have done so myself, which are called virtual hosts, just check out and read through redhat's documentation on Apache HTTP server configuration located at the following url:

Just read through it step by step and you should be good to go.

I hope this helps, and good luck.

Take care,


nixinbarrie 04-30-2004 09:12 AM

Hi bytebrowser,

Sorry about that. I didn't read the part that you wanted to setup your own name server. You will have to find a good tutorial on configuring Bind. If I find one for you than I will post a url back here for you.

Sorry about that.

Take care,


bytebrowser 04-30-2004 09:17 AM

Thanks Chris

I have a Static IP not a dynamic IP, i guess i should have included that in the first post.

Is Bind the module that takes care of Name-Servering? If so is it a hard program to work with and configure?


nixinbarrie 04-30-2004 09:45 AM

Hi bytebrowser,

Yes bind takes care of name serving. It basically is your name server. I wouldn't say that bind is easy to configure but that all depends who your talking to.

I just searched google and found a bunch of howto's. I found one web site that may be of use:

But don't quote me on that. I have not read through it.

I think there is actually one here at this forum somewhere.

Anyways, I hope this helps.

Take care,


bytebrowser 04-30-2004 10:02 AM

Hi Chris

That site was useful. It looks like i need to sort out some things in my head regarding a bit of the lingo, but nothing is meant to be simple!

Thanks for your help,


All times are GMT -5. The time now is 08:21 PM.