Results 1 to 3 of 3

Thread: [SOLVED] virtual hosts problem

  1. #1
    dgoradia is offline Active Member
    Join Date
    Jun 2008
    Posts
    44
    Rep Power
    7

    Default [SOLVED] virtual hosts problem

    i have a mail server mail.domain.com
    and a domain: domain.com for email in my zimbra.

    I have added domain2.com and domain3.com under the domains section in the admin console.

    for domain.com i only have to use the username without the @domain.com to login to zimbra webmail.

    but for user@domain2.com and user@domain3.com i have to user the full email (username@domain2.com...)

    i've been trying to set this up with virtual hosts but it doesn't seem to work

    my dns configuration is as follows:
    Code:
    zone "domain.com" {
            type master;
            file "/etc/bind/db.domain.com";
    };
    
    zone "1.168.192.in-addr.arpa" {
            type master;
            file "/etc/bind/rev.1.168.192.in-addr.arpa";
    };
    
    zone "domain2.com" {
            type master;
            file "/etc/bind/db.domain2.com";
    };
    
    zone "domain3.com" {
            type master;
            file "/etc/bind/db.domain3.com";
    };
    would anyone be kind enough to help me out with this?

    btw. im running ubuntu server

    and if i cannot get this working, is there a way i can have a dropdown box on the login screen to choose the domain to login with?

    Thank You so much in advance for all your support!

  2. #2
    Bill Brock is offline Outstanding Member
    Join Date
    May 2007
    Location
    Oklahoma
    Posts
    703
    Rep Power
    9

    Default

    After adding the virtual host information in the Admin UI are you then accessing the mail server using the FQDN you setup in the virtual hosts configuration?

    ie. if Virtual host is set to mail.domain2.com, are you accessing using "http://mail.domain2.com" or "https://mail.domain2.com" ? no quotation marks of course

  3. #3
    dgoradia is offline Active Member
    Join Date
    Jun 2008
    Posts
    44
    Rep Power
    7

    Default

    thanks for your help sir

    it works now.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. virtual hosts
    By David_Mal in forum Installation
    Replies: 1
    Last Post: 07-01-2008, 11:34 AM
  2. Use of public service hostname and virtual hosts
    By jpenix in forum Administrators
    Replies: 0
    Last Post: 06-18-2008, 01:50 PM
  3. virtual domain login problem
    By wkruchas in forum Installation
    Replies: 0
    Last Post: 05-02-2007, 07:52 PM
  4. help needed - tomcat virtual hosts in server.xml
    By daneturner in forum Administrators
    Replies: 6
    Last Post: 04-19-2007, 10:10 AM
  5. Replies: 2
    Last Post: 09-02-2006, 07:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •