The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Email Server Could not be Found

Discussion in 'E-mail Discussions' started by elzeeyed, Sep 14, 2006.

  1. elzeeyed

    elzeeyed Registered

    Joined:
    Sep 14, 2006
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi

    I just had my new domain and set up a few email accounts
    set up Outlook and everything was fine/ Sending and Receiving

    Until...

    I added a subdomain with the name of (mail.mydomain.com)
    Then realized that it might contradict with the mail server domain which is the same name
    So I have deleted the subdomain to avoid the problem

    now I could not find the mail server

    Outlook returns this error message
    "The Server Name you entered can not be found on the network"

    When running tracert (c:\tracert mail.mydomain.com) it returns
    Unable to resolve target system name mail.mydomain.com

    How can I return it to what it used to be
    I don't have a backup for my settings

    Thank you
     
  2. rsaylor

    rsaylor Well-Known Member

    Joined:
    Mar 27, 2003
    Messages:
    160
    Likes Received:
    1
    Trophy Points:
    18
    you should modify the zone file for said domain to add mail back

    ssh:

    cd /var/named
    vi domain.com.db
    press INS
    add the following:
    mail 14400 IN A youripaddress

    save and exit
    (note: you should also update the serial number but it should take anyhow)
    to save press the following

    ESC :wq
    then restart named
    /scripts/restartserv named

    mail.domain.com then should start to work
     
Loading...

Share This Page