[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] non-virtual host help NEWBIE <:*)



I have done this without hacking the httpd.conf file and doing the
redirections that Kris talked about.  But, I did this on a RaQ2, so this may
only work on a RaQ2.  When you add a new domain, it asks you for the host
and the domain name in two separate fields.  You can make the host be the
username (username) and set the domain name to be the domain that will
"parent" this sub-domain (chapelhillarts.com).  The result will be a url for
the server for http://username.chapelhillarts.com.  The only thing to
remember on this is that you must turn of "Accept e-mail for this domain."
The server will automatically turn if off for you if you leave it on.  You
will also have to do an A or CNAME like Kris mentioned.

Like I said, this worked for me on a RaQ2.  I hope this helps.

Michael Combe

-----Original Message-----
From: cobalt-users-admin@xxxxxxxxxxxxxxx
[mailto:cobalt-users-admin@xxxxxxxxxxxxxxx]On Behalf Of Kris Dahl
Sent: Wednesday, April 19, 2000 6:01 PM
To: cobalt-users@xxxxxxxxxxxxxxx
Subject: Re: [cobalt-users] non-virtual host help NEWBIE <:*)


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


_______________________________________________
cobalt-users mailing list
cobalt-users@xxxxxxxxxxxxxxx
To Subscribe or Unsubscribe, please go to:
http://list.cobalt.com/mailman/listinfo/cobalt-users