Newsroom Update

Beginning in May, a special Today at Apple series titled “Made for Business” will offer small business owners and entrepreneurs free opportunities to learn how Apple products and services can support their growth and success. Learn more >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

301 Redirect

I have a number of sites hosted virtually on my OSX (10.4) server.

I wish to set up a redirect for one of the domains to point to a url on a different server, so when a user types in www.domaineone.com it loads www.domaintwo.com into their browser.

I understand that I have to set up a 301 redirect - but aint got a clue how to do this.

Anybody help?

MacBook Pro 15", iMac 24", G4 Dual 867, Mac OS X (10.4.10)

Posted on Aug 9, 2007 2:09 AM

Reply
1 reply

Aug 9, 2007 2:54 AM in response to Graeme Jervis2

You can't setup 301 redirects via Server Admin, only 302s

If a 302 is sufficient, use Server Admin -> Web -> Sites -> (your site) -> Aliases to setup a RedirectMatch to redirect /.* to the other site.

If you want a 301 you'll need to edit your site's configuration file directly to add the Redirect permanent keyword as covered in Apache's Rewrite documentation.

301 Redirect

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.