[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] non-virtual host help NEWBIE <:*)
- Subject: Re: [cobalt-users] non-virtual host help NEWBIE <:*)
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Wed Apr 19 17:01:29 2000
on 4/19/00 4:28 PM, Christian Bonanno at cbonanno@xxxxxxxxx wrote:
> Cannot understand how to do this:
> My website is called chapelhillarts.com. I wish to give people
> yourname.chapelhillarts.com addresses for their web pages. I will
> have a few sites with their own IP but most will just point to
> http://www.chapelhillarts.com/~username/
>
> Does anyone have the steps I need to do this?
>
> For example; do I have to register that name on internic? I need
> silly questions like that answered.
Well essentially, you've got a couple of things you're going to need to do.
Create a record in the DNS for each user. You should be able to use a A or
CNAME record to point to the single IP that will be name-based virtual
hosting all this.
Then you create a virtual host record in apache to snag requests for
yourname.chapelhillarts.com and redirect it to /somewhere/on/the/filesystem
(which can be /home/sits/home/users/yourname/web, if you want).
This would require hacking the httpd.conf file on your own.
I would just take the approach that they are each their own site on the
rack. Setup the DNS and add a new site. Essentially the cobalt software
will set that all up for you. Should be pretty straightforward.
-k