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

RE: [cobalt-users] User's own domain



> I have a domain, say www.abc.com on a raq4.
> A kind user of this domain, has registered his personal
> domain, say xyz.com. He would love to have www.xyz.com
> display the contents of www.abc.com/~user I would like to
> make this for him, but how can I do that? I have looked in
> the rewrite rules of apache (I think the solution is in
> there, but I'm unsuccessfull in that). Thanks.
>

Just make a virtual host container in httpd.conf so the root directory
is /home/sites/site#/users/user

Or, if you prefer to not modify the httpd.conf and just want to redirect xyz.com to abc.com/~user you can put this in for the HTML in the index page of xyz.com

<meta http-equiv="refresh" content="0;url=http://www.abc.com/~user";>

(as per COMPUTICA's input last week)

This method worked great for me when setting up some of my user's sites. It can be done by the user, no need to admin into the box. But, the users will see the name abc.com/~user in the address line of their browser after it redirects, not sure what Dan's method does, haven't tried that one as yet. If it still show xyz.com that is an advantage as no one will know the true location of the page being displayed.

Jale