LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-14-2004, 12:46 AM   #1
mardanian
Member
 
Registered: Mar 2004
Distribution: Fedora
Posts: 254

Rep: Reputation: 30
apache redirecting


i have apache installed, now wana use apache to redirect to a site which is hosted on another server for example i want

1) my acutall site is www.foo.com (on another foriegn server)
2) now I want if someone type www.abc.com it should open www.foo.com

anyone any idea
 
Old 04-14-2004, 06:17 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
well the most ideal way is to gain access to the dns entry and cname link the domain to the other, but this does not give you a new dns name.
So you can do a simple http redirect by putting this into a file called index.html
<meta http-equiv="refresh" content="0; URL=http://new.domain.name.com/">

seams to redirect me in less then a second

then simple put this in the http root of the server you want to redirect
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem Redirecting in Apache kaplan71 Linux - Software 0 09-09-2004 02:52 PM
Apache redirecting to IP address di11rod Linux - Software 6 06-03-2004 06:18 PM
redirecting stderr nodger Programming 2 03-11-2004 10:58 AM
Redirecting Half_Elf Linux - Networking 2 09-04-2002 10:51 PM
about port redirecting cmardhekar Linux - Newbie 1 09-13-2001 07:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration