I don't mind looking into that, but I would rather keep as much of it on my server as possible, so if in the future I want to separate the two sites, I can do so quickly.
Main Topics
Browse All TopicsI have two domains dealing with the same organization, and I would like one to forward to the other one, permanently (301 HTTP response). I have this figured out with Apache (attached as code). I also have a snippet of my lighttpd.conf file that allows both domains to be mirrored, but I don't want this.
I appreciate any help you guys may have.
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
It's still very simple, but located one step earlier in the DNS process:
using the registrar redirection means associate your domain DNS A-record to your registrar redirection server (automatically done)
Once you want to separate the 2 domains, you simply re-associate your server IP with your domain name.
Advantage is that during the redirection period, your server never receive useless hits (to be processed as redirection). I use this to redirect domain.tld toward www.domain.tld without tweaking the HTACCESS file.
The following solved my problem:
$HTTP["host"] =~ "^(www\.)?waterfortheoppre
url.redirect = (
"^/(.*)$" => "http://www.wfto.cc/$1",
)
}
Also, make double sure mod_redirect is enabled in your lighttpd.conf
Business Accounts
Answer for Membership
by: NeoDiffusionPosted on 2009-05-26 at 09:14:01ID: 24474681
I've a simple suggestion: do it at domain level using redirection service offered by most registrars.
Don't forget to set the redirection as "visible" to avoid cloaking.
Rgds,
Werner.