Redirecting a domain to external website?

Discussion in 'General' started by snowfly, Mar 1, 2012.

  1. snowfly

    snowfly Member

    Is it possible with ISPConfig 3 to redirect a domain to an external website (that isn't setup in ISPConfig).

    I can only see a way to setup Alias domains for existing websites in ISPconfig, not external websites.

    On an old server system we could do this manually by creating apache virtualhost conf files like this:
    <VirtualHost *:80>
    ServerName hosted-domain.abc
    Redirect / http://www.external-website.abc
    </VirtualHost>

    Can ISPConfig 3 manage this?
    This is for scenario's where we have clients who manage multiple domains & websites hosted with us, but perhaps 1 or 2 of those domains point to external sites not hosted by us.
     
  2. till

    till Super Moderator

    The snippet you posted above is the same as if you do theis in ispconfig:

    1) Create a new website hosted-domain.abc
    2) Enter "http://www.external-website.abc" in the redirect path field on the redirect tab and selecet redirect type "no flag".
     

Share This Page