Register email address for cpanel main hostname

buddhist

Registered
Oct 2, 2005
2
0
151
I am looking to buy and install an ssl cert for the main cpanel/whm hostname.domain.com. To set this up I need to accept an email to [email protected] to show I own the domain. However, I cant work out how to setup email addresses on the main cpanel/whm domain. If I go into the account created for domain.com the subdomain hostname is not in there so I cant set up an email address for it. Any help greatly appreciated.
Thanks
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
I am looking to buy and install an ssl cert for the main cpanel/whm hostname.domain.com. To set this up I need to accept an email to [email protected] to show I own the domain. However, I cant work out how to setup email addresses on the main cpanel/whm domain. If I go into the account created for domain.com the subdomain hostname is not in there so I cant set up an email address for it. Any help greatly appreciated.
Thanks
I have never seen that you'd need to accept email to [email protected], instead you can use address like [email protected], or [email protected] etc.

Usually you get a dropdown list where you can choose the address you want to use.
 
Last edited:

buddhist

Registered
Oct 2, 2005
2
0
151
The cert was purchased from 123-reg and to set it up it wants to send the verify email to hostname.domain.com. Am I correct in thinking that for a cert for cpanel/whm/webmail logins it has to be for the actual hostname of the cpanel box rather than just domain.com?
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
Am I correct in thinking that for a cert for cpanel/whm/webmail logins it has to be for the actual hostname of the cpanel box rather than just domain.com?
Yes that is correct.
 

quietFinn

Well-Known Member
Feb 4, 2006
1,222
87
178
Finland
cPanel Access Level
Root Administrator
There might be a very easy solution for this, but I don't know it... so I tried something:

In /etc/valiases I created a file hostname.serverdomain.com
In that I had:
[email protected]: [email protected]

Then I sent an email to [email protected] and I got a "Mail delivery failed" reply, but I ALSO got the email I sent.