problem with mail CNAME redirect

iLinux85

Well-Known Member
Mar 28, 2010
52
2
58
Hello

i have 4 dedicated ip address on my server

let's say

10.0.0.1 (main ip) site3.com site4.com
10.0.0.2
10.0.0.3
10.0.0.4 site1.com site2.com
10.0.0.5

i have site1.com and site2.com on ip address 10.0.0.4

when i visit the following link

mail.site2.com

it redirect me to main web site page which is site1.com

but when i enter mail.site4.com it redirect me to

/cgi-sys/defaultwebpage.cgi

so how could i make redirect /cgi-sys/defaultwebpage.cgi for non main ip website addresses instead of redirect to main website ?
 
Last edited:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello :)

Could you confirm the DNS zone entries in the DNS zones for these domain names do not differ for the "mail" entry? Also, please try running the following command:

Code:
/scripts/rebuildhttpdconf
Thank you.