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.

3-level domains and the mail.

Discussion in 'E-mail Discussions' started by kardukov, Nov 14, 2003.

  1. kardukov

    kardukov Active Member

    Joined:
    Sep 15, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Russian Federation
    Hello.

    I.

    I create for my customer temporary 3-level domain

    'customer_domain.myhosting.com'

    Becouse 2-level domain

    'customer_domain.com'

    will be registered later.

    II.

    I create in cPanel 2-level domain 'customer_domain.com'. Of course, it'a unavaialbe in Internet (DNS zone not delegated).

    And manually edit httpd.conf, so now customer_domain.myhosting.com and customer_domain.com have the same DocumentRoot, etc ...

    III.

    So, now customer enter to cPanel https://myhosting.com:2083, enter username/password and can work with his site. He can create Mysql Db, have access via FTP.

    But then he create mail, it looks like admin@customer_domain.com. Of course, domain 'customer_domain.com' isn't delegated, so it's impossible to write a letter to this address.

    How can I give a mail to 3-level domains????????
     
  2. asmithjr

    asmithjr Well-Known Member

    Joined:
    Jun 13, 2003
    Messages:
    475
    Likes Received:
    1
    Trophy Points:
    18
    3rd level emails

    Take a look at the /etc/valiases/domain.com (substituting your domain) if you want to forward that email to the main user.

    You will need one for the main domain, which you should have and another for the subdomain.

    Not sure in your case if this will work but this is the way I understand cPanel is doing this.

    NOTE: This is if you are going to forward that email to the main user.
     
Loading...

Share This Page