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

Re: [cobalt-users] How do I redirect from one domain to another?



--- Kris Dahl <krislists@xxxxxxxxxxxxx> wrote:
> on 4/19/00 3:13 PM, Keith Laliberty at klaliberty@xxxxxxxxxxxxxxxx wrote:
> 
> > Any help would be great.
> 
> Well, you can do several things:
> 
> 1) Change the DNS records to point to the new domain:
Be careful if you're useing name-based hosting.

> 2) Change your virtual host settings
Add a "ServerAlias domain2.com" to the <VirtualHost ..> section for that site
in httpd.conf

> 3) Use apache rewrites
aaaaah :-)

> 4) Use an error 404 to redirect to the new site
I don't see how 404 will help.

> 5) Use a HTML page with a meta refresh that redirects to the new page
Sure.

> 6) Use a script that sends http header ("Location:
> http://www.newsite.com\n\n";)
Sure.

7) Create a .htaccess file in the old site that says
Redirect / http://www.domain2.com/

Paul

__________________________________________________
Do You Yahoo!?
Send online invitations with Yahoo! Invites.
http://invites.yahoo.com