I need to manage some website with ISPConfig(setup redirect)

Discussion in 'Installation/Configuration' started by voltron81, Apr 27, 2010.

  1. voltron81

    voltron81 New Member

    Hi to everybody.
    I'm using ISPConfig 3.0.1.6 since october just to manage my mailserver and I'm more than happy.

    Now I would like to manage also few domains that basically needs to be redirect to another website.

    Now this are the steps that I hope I've to do:
    1) setup a DNS record for the domain(just the MX record www?)
    2) change in the hosting webpage the DNS
    3) In ISPConfig setup in Sites->Website the new website
    4) In Redirect I need to write the destination website (Redirect Type?)

    That's it?
    Am I wrong in something?

    Thanks
    Michele
     
  2. voltron81

    voltron81 New Member

  3. till

    till Super Moderator Staff Member ISPConfig Developer

    Select redirect type "no flag" and then enter the URL incl. http:// in the redirect path field.
     
  4. voltron81

    voltron81 New Member

    Hi Till,
    thanks for your reply.
    Now if I try to surf on the website, I can see the Apache standard Index...

    I can see that it has created the file /etc/apache2/sites-enabled/seatel4006.com.vhost and in that file there is
    Code:
    RewriteEngine on
        RewriteCond %{HTTP_HOST}   ^website [NC]
        RewriteRule   ^/(.*)$ http://www.redirectwebsite
    
    So I guess it's an Apache configuration issue...
    Do I need to change something in my Apache configuration?

    Thanks
    Michele
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Try to select the IP address in the webiste settings instead of *. If the ip is not listed yet, add it under system > server IP
     
  6. voltron81

    voltron81 New Member

    Hi Till,
    I added the server IP under system > server IP
    But now also for roundcube is showing the ISPConfig welcome message...
    Is it because at the moment I've setup all the domains manually in /etc/apache2/sites-enabled/000-default ???

    Thanks
    Michele
     
  7. voltron81

    voltron81 New Member

    Nobody?

    I really need to manage some website with ISPConfig since till now I was editing the apache module manually...
    But at the moment if I use ISPConfig, as I said before, I'll have the welcome message of ISPConfig also for roundcube...
    Do I need to setup mail.domain.com as a roundcube page in ISPConfig?
    If yes, in which way? I guess in the subdomain sector, writing as Redirect Path the path of roundcube (/var/www/roundcube). Redirect type???
    What about the apache file that I was editing manually?

    Thanks
    Michele
     
    Last edited: May 19, 2010

Share This Page