Welcome, Guest. Please Login or Register.
August 26, 2025, 02:04:00 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  Domain Name Redirects « previous next »
Pages: [1] Reply Ignore Print
Author Topic: Domain Name Redirects  (Read 584 times)
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Domain Name Redirects
« on: March 07, 2002, 02:43:35 AM »
Reply with quote

I bought two domain names, one is .com and the other .org.  I want the .org to be the main one and like with SlashDot when you type in .com it automatically takes you to .org.  Is their a better way then a redirect page on the .com to do this?  Register.com does my DNS if that matters.
Logged

Jeff Lewis
Global Moderator
YaBB God
*****
Posts: 10149


I'm a llama!

WWW
Re:Domain Name Redirects
« Reply #1 on: March 07, 2002, 01:51:04 PM »
Reply with quote

Well in Apache you set it up so that the .com resolves to the .org directory on the server.  Don't know how to configure it but that's the basics ;)
Logged

Shaun
Wannabe Mod Writer
Sr. Member
****
Posts: 361


YaBB SE Rules.

Re:Domain Name Redirects
« Reply #2 on: March 07, 2002, 06:06:37 PM »
Reply with quote

I've registered five names with http://www.lowcostdomains.com and they provide free redirection with url masking.  Otherwise, can't you do it with a javascript redirect?  
Logged

This guy uses objects like women man!
KyleYankan
Jr. Member
**
Posts: 72


I'm a llama!

Re:Domain Name Redirects
« Reply #3 on: March 07, 2002, 08:27:05 PM »
Reply with quote

do one of these:<META HTTP-EQUIV="Refresh" Content="0"; URL=http://newwebsite.org">

Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Domain Name Redirects
« Reply #4 on: March 07, 2002, 08:33:56 PM »
Reply with quote

I have already set up virtual hosts in apache but the problem is then with cookies.  Cookies from the .org do not carry over to .com and vice versa.  I am hoping I could do something other than a meta refresh since it requires now two requests to the server in order to get to the right page.  Do you like lowcostdomains?  I am a little weary of places that offer so many things for not much money.
Logged

alexrolko
Guest
Re:Domain Name Redirects
« Reply #5 on: March 08, 2002, 04:19:43 AM »
Reply with quote

why then from both sites point the board to the .org domain all the time.
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Domain Name Redirects
« Reply #6 on: March 08, 2002, 04:31:11 AM »
Reply with quote

It is more than just the board, the entire site uses cookies.  Look at Slashdot.  The main site is http://www.slashdot.org but if you goto, http://www.slashdot.com you get taken to the .org.  That is the exact thing I want to replicate.  It seems to fats to be a meta refresh but take a look.
Logged

alexrolko
Guest
Re:Domain Name Redirects
« Reply #7 on: March 08, 2002, 04:34:54 AM »
Reply with quote

php a script with a header() function...


<?
header("Location: www.yoursite.org");
?>
Logged
David
Destroyer Dave
Global Moderator
YaBB God
*****
Posts: 5761


I'm not a llama!

WWW
Re:Domain Name Redirects
« Reply #8 on: March 08, 2002, 04:43:52 AM »
Reply with quote

Quote from: Alex Rolko on March 08, 2002, 04:34:54 AMphp a script with a header() function...


<?
header("Location: www.yoursite.org");
?>
I did this and it will work for now, it seems fast.  Thanks.
Logged

Shaun
Wannabe Mod Writer
Sr. Member
****
Posts: 361


YaBB SE Rules.

Re:Domain Name Redirects
« Reply #9 on: March 08, 2002, 05:04:57 AM »
Reply with quote

I just used javascript on these urls....

http://www.toyotacelicas.net
http://www.clubcelica.net

to redirect to http://www.nextcelica.net
Logged

This guy uses objects like women man!
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  Domain Name Redirects « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.076 seconds with 21 queries.