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

Re: [cobalt-users] Cloaking



> The end result would be:
>
> thesupermanmovie.com cloaked/redirects to mymaincomicsite.com/sumovie end
> user only sees-> thesupermanmovie.com
> thespidermanmovie.com cloaked/redirects to mymaincomicsite.com/spmovie
end
> user only sees-> thespidermannmovie.com
> thebatmanmovie.com cloaked/redirects to mymaincomicsite.com/bmmovie  end
> user only sees-> thebatmanmovie.com
>
> To be clear, the user NEVER sees mymaincomicbook.com/subdirectory, they
only
> see the contents of the directory and the browser displays the domain
names,
> thesupermanmovie.com thespidermanmovie.com and thebatmanmovie.com
>
> Is this in fact done in the httpd.conf file and are there any special
> instructions?

Yes, after you setup the domain in the GUI telnet into your box and find the
<VirtualHost> entry for each domain, ie thesupermanmovie.com, and change the
following line

                    DocumentRoot /home/sites/site13/web

Change it to whatever directory you want, for instance, if mycomicsite.com
is at "/home/sites/site1/web" then change the above line to:

                    DocumentRoot /home/sites/site1/web/sumovie

Then save the httpd.conf file and restart the webserver with:

/etc/rc.d/init.d/httpd restart

Not sure if this voids the warrenty, but all documentation says it does..
Call Cobalt and ask them, I did it anyways...  :) Hope this helps ya..

Jamie Martino
WebConnection.Net, Inc.