directing a webspace to another server?

This is a discussion on directing a webspace to another server? within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi, i like to redirect a domain via httpd.conf to anthother server and there to a special directory. Is ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-06-2004
Wilhelm Kutting
 
Posts: n/a
Default directing a webspace to another server?

Hi,
i like to redirect a domain via httpd.conf to anthother server and there to
a special directory.
Is this possible or do i have to first got to the local dir and redirect
from there i.e. with a header-redirect


  #2 (permalink)  
Old 04-06-2004
Davide Bianchi
 
Posts: n/a
Default Re: directing a webspace to another server?

Wilhelm Kutting <wkutting@gmx.de> wrote:
> i like to redirect a domain via httpd.conf to anthother server and there to
> a special directory.


<VirtualHost *>
ServerName yourdomain.com
RedirectPermanent / http://whatever.org/something
</VirtualHost>

Davide

--
| At no time is freedom of speech more precious than when a man hits his
| thumb with a hammer. -- Marshall Lumsden
|
|
  #3 (permalink)  
Old 04-06-2004
Richard Antony Burton
 
Posts: n/a
Default Re: directing a webspace to another server?


"Davide Bianchi" <davideyeahsure@onlyforfun.net> wrote in message
news:c4tp6p$2lfust$1@ID-18487.news.uni-berlin.de...
> Wilhelm Kutting <wkutting@gmx.de> wrote:
> > i like to redirect a domain via httpd.conf to anthother server and there to
> > a special directory.

>
> <VirtualHost *>
> ServerName yourdomain.com
> RedirectPermanent / http://whatever.org/something
> </VirtualHost>


Or if you want to do it transparently, or the second server is not directly
accessable to the client, you can use:

<VirtualHost *>
ServerName yourdomain.com
ProxyPass / http://server.local/something
</VirtualHost>


 


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

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 06:17 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0