Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 25th May 2010, 14:47
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,775
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

You need a DNS A-record for mail.domain.com pointing to the IP address of the server. A record for just domain.com is not enough. You do not need any redirect as you added a vhost for this subdomain, if you added a redirect, then delete it.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
Sponsored Links
  #12  
Old 25th May 2010, 16:29
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

Yes sorry, I've already setup a DNS A record for mail.domain.com.
So at the end I've 2 DNS A records:
domain.com -> 123.456.789.012
mail.domain.com -> 123.456.789.012

Quote:
You do not need any redirect as you added a vhost for this subdomain, if you added a redirect, then delete it.
That's the point. I want now use the ISPConfig to manage domains, so I've cancel from 000-default apache file the lines for that domain...
Anyway even like that it's not working.
If I restart Apache, I've this warning message:
Code:
Restarting web server: apache2[Tue May 25 15:27:47 2010] [warn] NameVirtualHost 123.456.789.012:443 has no VirtualHosts
 ... waiting .[Tue May 25 15:27:49 2010] [warn] NameVirtualHost 123.456.789.012:443 has no VirtualHosts
thanks
Michele
Reply With Quote
  #13  
Old 25th May 2010, 16:36
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,775
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

You said that you created some kind of redirect. Please delete this redirect. Instead of a redirect, create a new website and enter mail.domain.com in the "domain" field of this website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #14  
Old 25th May 2010, 18:54
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
Default

The point is that I want to redirect who is going to www.domain.com to www.anotherdomain.com, but I want that mail.domain.com is going to the roundcube page...
Reply With Quote
  #15  
Old 25th May 2010, 19:38
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 35,775
Thanks: 821
Thanked 5,332 Times in 4,184 Posts
Default

domain.com and www.domian com are different (sub)domains, they have nothing to do with mail.domain.com. Just create a new website for mail.domain.com and make sure that you have nowhere a redirect for mail.domain.com pointing to another domain.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #16  
Old 26th May 2010, 10:50
voltron81 voltron81 is offline
Senior Member
 
Join Date: Sep 2009
Posts: 292
Thanks: 1
Thanked 4 Times in 3 Posts
 
Default

Ok so I was making confusion... I was thinking that mail.domain.com was a subdomain of domain.com.

Anyway now I've created another domain: mail.domain.com and copied in the folder /var/www/mail.seatel4004.com/web the roundcube files.
Now I can see the roundcube page, but I've a database error.

I tried to use the same database that was using before.
I tried also to create a database with ISPConfig (c0roundcube). I gave to it the privileges:
Code:
 GRANT ALL PRIVILEGES ON c0roundcube.* TO roundcube@localhost
    IDENTIFIED BY 'password';
and of course in /var/www/mail.domain.com/web/config/db.inc.php I've put the right user and password.

Well, I still have as error DATABASE ERROR: CONNECTION FAILED!

Am I wrong in something?

Thanks
Michele
Reply With Quote
Reply

Bookmarks

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Single RoundCube setup for multiple ISPConfig3 servers Hans Tips/Tricks/Mods 27 30th August 2010 21:45
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 19:47
Newb: Roundcube installation gone slightly awry... Slowhand Installation/Configuration 6 12th June 2009 10:43
Host and Domain problems in ISPConfig Installation script atjensen11 Installation/Configuration 1 31st January 2009 00:57


All times are GMT +2. The time now is 18:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.