[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SORRY - Re[2]: [cobalt-users] domain forwarding, or is that different - Raq3i
- Subject: SORRY - Re[2]: [cobalt-users] domain forwarding, or is that different - Raq3i
- From: jale@xxxxxxxxxx
- Date: Fri Nov 8 14:03:01 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
----
msg preface - sorry for that other message; I included what I put in my
index.html file and it made an html email to the list, I wondered if it
would do that, but I thought not, my apologies - you'll see below what did
that :)
--------------------------------------------------
You are an awesome group :)
Here are different things I did to try different methods
You can create a single HTML page with a META REFRESH within the
header, but that would be a waste of one of the 250 (or whatever)
sites a Cobalt limits you too.....
I don't have near that many sites, so I'm fine with creating more.
To make domain1.com forward to domain.com, use the following file as
the main file within the account for domain1.com
<meta http-equiv="refresh" content="0;url=http://www.domain.com">
(here was my HTML screw up to the list - I'll doctor it so it doesn't do it
again ... for HTML beginners, you can use this for your entire index.html
file; just remove all the * I put in to save the list. I put in a bunch so
I wouldn't mess up again)
My entire index.html file:
<*HT*ML*>
<*HE*AD*>
<me*ta ht*tp-equiv="refresh" con*tent="0;url=ht*tp://ww*w.dom*ain.co*m*">
<*/HE*AD*>
<*/HT*ML*>
Worked like a charm - once I fixed the entry to have my domain name, it
took me 10 seconds to figure out why I got to domain.com :)
I am using this method for a number of sites that I have to set up anyway,
that is, I have sites that have no web site and I want to point them to
another, but I need email on the domain, so I have dns and the site setup,
this solves that type of site.
CNAME: I set this up for sites that have no domain or dns entries, no
email, etc., just a pointer to the other site. PROBLEM: when I go to the
domain, I am getting redirected to the correct IP, but the wrong domain on
that IP.
I'd prefer to not edit my httpd.conf as much as possible, so I'm going with
the meta tag, it seems to be work great and it is certainly easy to set up;
also, it gives me great flexibility to redirect to anyplace I want, and
change it anytime very easily.
THANKS!!!!!!!!!! All this input has been great, and from the posts, it
sounds like it is good for others as well. thanks for not just telling to
READ THE ARCHIVES ... as my original question stated, I was willing to do
that, I wasn't sure exactly what I was searching for :)
Have a great weekend,
Jale