> now how can i set up my own web server with the
> above setup

You can get all the details about virtual hosting from
the apache site it self..

http://httpd.apache.org/docs/vhosts/index.html

To get web pages locally through http://www.mysite.com
ideally there should be an entry in a DNS server
pointing to you machines IP address. But in an
alternate way you can enter this in your machines
/etc/hosts file 

127.0.0.1 localhost www.mysite.com

So from now on when you type in the web browser it
will first check the /etc/hosts file and the browser
will check you local machine itself. This page can be
accessible only from the local machine and no where
else. This is good only for testing. All you have to
do in apache is making a virtual host entry pointing
to you web site. The virtual entry can look like this

<VirtualHost www.mysite.com>
    ServerAdmin [EMAIL PROTECTED]
    DocumentRoot /var/www/my_webite #Your web site
here
    ServerName www.mysite.com
    ErrorLog /var/log/apache/mysite_error.log
</VirtualHost>

>  
> the people from where i bought the domains told me
> that i hav to update 
> the CHILD NAME SERVER entry in the Control panel
> they provided

This I think means that you have brought your domain
name, now you have to make an entry saying that name
points to this IP address. Only then when you type
http://www.mysite.com from the internet it will come
and request your apache server.So this ideally means
make entries saying this is your IP address. My
organization has brought a few names and we can add as
many childs to it.  Only problem is after entering a
new child name it might take around a day to replicate
to other DNS servers.

> they also hav other entries of name servers in this
> control panel which i can 
> change .For this config to work how many Public IP's
> is the minimum i require

You will require only one IP for your single web page

> can i sell the space in my server for retail
> hosting?

you can but with that comes all the head ache of
maintaining the server and making sure its up all the
time. 

> in that case will i require more public IP's.

You may not need more IP&#347; but you can ask the
people to whom you sell your space to make the domain
entry in such a way that it point to your single IP
address. Then you can have multiple web sites on the
same server with the help of virtual hosting. You can
ask people to upload their web sites using FTP.

> what is the minimum investment to CoLocate a server
> and sell Space in retail

Colocating the server is a very good option. No head
aches of the server and its environments, The
colocaters will take care of the machine being up
24/7. Im not sure of the investment part. But HCL
gives good options.

PD


        
                
__________________________________ 
Celebrate Yahoo!'s 10th Birthday! 
Yahoo! Netrospective: 100 Moments of the Web 
http://birthday.yahoo.com/netrospective/

Reply via email to