On Fri, Jan 25, 2008 at 07:21:27PM +1100, Voytek Eymont wrote: > how can I divert web/domain to a foreign server that I have no control over ? > > I have a domain.org.au, the web server pages for the domain now needs to > be served from anotherdomain.com on a remote server > > I've tried to set a CNAME > www CNAME anotherdomain.com > > but that serves blank page, I suspect, the page request arrives as > 'domain.org.au' and the remote server expects 'anotherdomain.com' ? > > I suspect if I can get the remote server to add 'domain.org.au' to their > web server, it will work...?? > > BUT, in case I can't do that, what options do I have ? what about a redirect ?
<VirtualHost *:80>
servername domain.org.au
DocumentRoot <some directory>
Redirectmatch "/(.*)" http://anotherdomain.org/$1
</VirtualHost>
>
> --
> Voytek
>
> --
> SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
> Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
>
--
"We got the best workforce in America�in the world."
- George W. Bush
12/02/2005
Washington, DC
signature.asc
Description: Digital signature
-- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
