Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: [SOLVED] Installing on hosting dedicated server

Hybrid View

  1. #1
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default [SOLVED] Installing on hosting dedicated server

    Hello,

    My enterprise has rented a dedicated server to an external hosting enterprise.

    The machine hostname is (for exemple): enterprise.dedi.hosting.net, however I'm trying to install zimbra for our domain enterprise.com. Must I change the hostname machine?

    If I don't change it, I can't retrieve webpages entering either enterprise.dedi.hosting.net:81 neither enterprise.com:81.

    We installed apache, and then I use 81 port for zimbra to avoid port conflicts.

    Thanks

  2. #2
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    You can have the hostname set to enterprise.dedi.hosting.net as long as a A and MX record is present in DNS. You can then set the MX record for enterprise.com to point to the hostname enterprise.dedi.hosting.net.

  3. #3
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    Thanks uxbod.

    I've this in db.enterprise for bind9 configuration, following your instructions:

    ;
    ; BIND data file for local loopback interface
    ;
    $TTL 604800
    @ IN SOA enterprise.com. root.enterprise.com. (
    1 ; Serial
    604800 ; Refresh
    86400 ; Retry
    2419200 ; Expire
    604800 ) ; Negative Cache TTL
    ;
    @ IN MX enterprise.dedi.hosting.net
    @ IN A 127.0.0.1


    And a declared zone taking this file (db.enterprise). Is this sufficient for access to zimbra?

  4. #4
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    Will I need to modify my /etc/hosts file? May someone help me, please? Thanks!

  5. #5
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    The BIND entry you have created is for the localhost loopback address. Has your hosting provided given you a public or private IP address for your server ? I guess they will provide the DNS so they just need to setup a MX record for enterprise.com that points to enterprise.dedi.hosting.net.

    Really need a little bit more information to help so could you post the following please
    Code:
    cat /etc/hosts
    cat /etc/resolv.conf
    dig enterprise.dedi.hosting.net
    dig enterprise.com mx
    host `hostname` <- note backticks and not double quotes

  6. #6
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    obertic.dedi.acens.net is the server hostname
    obertic.com is the domain that I want to get working for

    cat /etc/hosts

    217.116.20.173 obertic.dedi.acens.net

    cat /etc/resolv.conf

    search acens.net
    nameserver 127.0.0.1
    nameserver 217.116.0.178
    nameserver 217.116.0.179

    dig enterprise.dedi.hosting.net =>
    dig obertic.dedi.acens.net


    ; <<>> DiG 9.3.4 <<>> obertic.dedi.acens.net
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 42693
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 1, ADDITIONAL: 0

    ;; QUESTION SECTION:
    ;obertic.dedi.acens.net. IN A

    ;; AUTHORITY SECTION:
    acens.net. 7200 IN SOA ns1.acens.net. hostmaster.acens.net. 2007112829 14400 3600 604800 7200

    ;; Query time: 24 msec
    ;; SERVER: 217.116.0.178#53(217.116.0.178)
    ;; WHEN: Thu Jun 12 10:09:09 2008
    ;; MSG SIZE rcvd: 91


    dig enterprise.com mx
    dig obertic.com mx

    ; <<>> DiG 9.3.4 <<>> obertic.com mx
    ;; global options: printcmd
    ;; Got answer:
    ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 53601
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 3

    ;; QUESTION SECTION:
    ;obertic.com. IN MX

    ;; ANSWER SECTION:
    obertic.com. 12234 IN MX 10 smtp.obertic.com.

    ;; AUTHORITY SECTION:
    obertic.com. 82635 IN NS ns4.acens.net.
    obertic.com. 82635 IN NS ns3.acens.net.

    ;; ADDITIONAL SECTION:
    smtp.obertic.com. 12234 IN A 217.116.20.173
    ns3.acens.net. 2484 IN A 217.116.0.192
    ns4.acens.net. 2484 IN A 217.116.0.149

    ;; Query time: 1 msec
    ;; SERVER: 217.116.0.178#53(217.116.0.178)
    ;; WHEN: Thu Jun 12 10:10:04 2008
    ;; MSG SIZE rcvd: 143

    host obertic.dedi.acens.net

    Host obertic.dedi.acens.net not found: 3(NXDOMAIN)

    (Because of Zimbra is not working, now I've postfix on. But when I install zimbra, I stop postfix, couriertcpd, and amavisd)

    Thanks uxbod
    Last edited by ttortosa; 06-12-2008 at 02:14 AM.

  7. #7
    Join Date
    Nov 2006
    Location
    UK
    Posts
    8,017
    Rep Power
    25

    Default

    Okay, thanks for that. All that needs to be done then is for your hosting company to change the MX record for obertic.com to the following
    Code:
    IN MX 10 obertic.dedi.acens.net.
    you will also need to remove nameserver 127.0.0.1 from your resolv.conf. Any resolution should now be performed by your hosting providers DNS and email for obertic.com should be routed to your ZCS server. Ensure ZCS is installed and working before switching the MX record. You should also ask your hosting provider if they will setup a secondary MTA for your domain, with a lower priority MX, incase your server fails. That way you shall not loose any email.

  8. #8
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    Thanks, thanks, and thousands of thanks!

    Now I've working properly zimbra and I can send emails, but not receive, surely because our provider still not changed the mx record.

    Thanks

  9. #9
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    This is the message that returns when I send messages to info@obertic.com

    This is the mail system at host obertic.dedi.acens.net.

    I'm sorry to have to inform you that your message could not
    be delivered to one or more recipients. It's attached below.

    For further assistance, please send mail to postmaster.

    If you do so, please include this problem report. You can
    delete your own text from the attached returned message.

    The mail system

    : Host or domain name not found. Name service error for
    name=obertic.dedi.acens.net type=A: Host not found

    Is this because It is necessary to change the MX record?

    Thanks

  10. #10
    Join Date
    Apr 2008
    Location
    Spain
    Posts
    55
    Rep Power
    7

    Default

    I can change the mx record from hosting panel, and I've this dns:

    obertic.com MX 10 obertic.dedi.acens.net.
    obertic.com A 217.116.20.173
    obertic.com NS ns3.acens.net.
    obertic.com NS ns4.acens.net.
    pop3.obertic.com A 217.116.20.173
    smtp.obertic.com A 217.116.20.173
    webmail.obertic.com A 217.116.20.173
    Občrtic - Open Solutions A 217.116.20.173

    I've changed the first line where third column was smtp.obertic.com, but still not receive mails

Similar Threads

  1. initializing ldap...FAILED(256)ERROR
    By manjunath in forum Installation
    Replies: 39
    Last Post: 06-07-2013, 11:27 AM
  2. Error after installation
    By robsontuxlinux in forum Installation
    Replies: 13
    Last Post: 09-11-2008, 10:48 PM
  3. Replies: 3
    Last Post: 03-05-2008, 06:18 PM
  4. Installing second mail server
    By joeleo in forum Installation
    Replies: 1
    Last Post: 10-30-2007, 04:44 AM
  5. segfault installing mailbox server
    By maumar in forum Administrators
    Replies: 2
    Last Post: 08-22-2007, 06:42 AM

Posting Permissions

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