#1  
Old 18th July 2007, 17:12
Rocky Rocky is offline
Senior Member
 
Join Date: Oct 2005
Posts: 553
Thanks: 14
Thanked 49 Times in 48 Posts
Default Help - 301 Permanent Redirect

Guys,

This is my scenerio. I have 2 domain names, www.domainA.com and www.domainB.com. I want to use www.domainB.com as my primary domain name. I need google to crawl this domain as my primary domain name.

I've read that I can use a 301 permanent redirect to accomplish this. Below is the syntax that i came up with:

Redirect 301 /old/old.html http://www.you.com/new.html

I need some guidance.
Do I need to create 2 sites in ISPConfig, one for www.domainA.com and one for http://www.domainB.com first?

After this, is it just a matter of creating a .htaccess file with the above content and drop it into www.domainA.com root?

Please let me know what you guys suggest. I really have to get this working properly.

Thanks,

UPDATE:

I answered my own question. Sorry guys.
__________________
Home of the SpamSnake

Last edited by Rocky; 18th July 2007 at 17:45.
Reply With Quote
Sponsored Links
  #2  
Old 19th July 2007, 14:50
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

If www.domainA.com and www.domainB.com should hold exactly the same contents, you can create www.domainB.com as a Co-Domain of the www.domainA.com web site.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
www.domain.com/folder redirect to www.domain.com/users/webNN_XYZ ADM General 1 20th June 2007 08:11
Redirect question {SERVERNAME} for webmail Herbert Installation/Configuration 15 15th January 2007 14:05
Apache 301 redirect - file names with spaces hairydog2 General 2 8th January 2007 00:29
Upgrade to 2.2.6 puts # Redirect # NOT SUPPORTED ppettigrew Installation/Configuration 3 29th September 2006 10:52
Can you advice for Redirect and web home name? datayoung Installation/Configuration 6 13th August 2006 19:44


All times are GMT +2. The time now is 04:33.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.