[plug] Apache Server Alias

skribe productions skribeproductions at gmail.com
Wed May 7 17:07:31 WST 2008


On Wed, May 7, 2008 at 2:24 PM, Steve Baker <steve at iinet.net.au> wrote:

>  In that case:
>
>  You need to create 'virtual hosts' or vhosts under your apache
> configuration.  Under each vhost put in the ServerName and any other
> ServerAliases that you want that vhost to respond to.

Yes, I have name-based vhosts set up.

>  Using the configuration below, the second vhost will use the /var/media
> directory and will be picked up by apache when any of 'media',
> 'media.myname.com' or 'othername.myname.com' are used in the browser.  The
> first vhost should pick up any other names that route to your webserver.

I don't want it routed to my webserver.  It's already doing that.  I
want media.myname.com  routed to the foreign host site.

skribe



More information about the plug mailing list