LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices

Reply
 
LinkBack Search this Thread
Old 11-09-2009, 03:54 PM   #1
phoyt
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS5.6
Posts: 5

Rep: Reputation: 0
Hello. New old-timer with a URL-redirect question.


Hi all, My name is Pete.

Although trained 25 years as a Molecular Geneticist, I find myself running an Information technology center with several servers.

I relearned most of my Linux and Unix, but things are different now. My learning curve will be steep. Let me apologize for my really dumb questions in advance. At some point, things will click and I will be able to both ask good questions, and hopefully teach myself without asking for a helping hand. In the meantime, I have a lot of questions, some probably very simple.

For example, what's the best way to (no, what's the EASIEST way) to generate a website redirect on a LAMP server? Running CentOSv5 (GNU) on a Dell Poweredge 6650. We just needed to move a personal website from the business section of the server, to the personal section, and redirect calls for the old link, to the new link.

For example when my family clicks on "www.business.familylinks.com", they'll be redirected to "www.personal.familylinks.com". Can it be done with a simple link/alias?

Yes, I know this is the WELCOME forum, not a trouble-shooting forum. Yes I've searched also. Yes,I need some basics. I keep running up against little things that cost me a lot of time.

Pete

Last edited by phoyt; 11-09-2009 at 03:57 PM. Reason: spelling
 
Old 11-09-2009, 05:14 PM   #2
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
Really nothing to do with Linux, but it sounds like you want a 301 Redirect.

You can put an .htaccess file in the root of your www.business.familylinks.com containing

Code:
redirect 301 / http://www.personal.familylinks.com
 
Old 12-17-2009, 10:45 AM   #3
phoyt
LQ Newbie
 
Registered: Nov 2009
Distribution: CentOS5.6
Posts: 5

Original Poster
Rep: Reputation: 0
Just wanted to say "thanks".

More dumb questions later.
 
Old 12-17-2009, 11:14 AM   #4
pcunix
Member
 
Registered: Dec 2004
Location: MA
Distribution: Various
Posts: 149

Rep: Reputation: 23
Quote:
Originally Posted by phoyt View Post
Just wanted to say "thanks".

More dumb questions later.
There are always dumb answers, but really not many truly dumb questions :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
apache redirect url Radioactiveman Red Hat 1 07-29-2009 01:40 PM
URL redirect in apache maniannam Linux - Server 2 01-05-2009 01:03 AM
Redirect URL to localhost beachcomber Linux - Newbie 3 10-22-2007 08:39 AM
redirect url munna_dude Linux - Software 2 02-15-2007 12:18 AM
url redirect Present Linux - Networking 4 01-26-2007 09:08 AM


All times are GMT -5. The time now is 12:55 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration