Subdomain redirecting defaultwebpage.cgi

dmak

Registered
May 2, 2011
1
0
51
So, I have my website setup, and I couldn't find a clearcut solution in the forums. I am trying to redirect mail.domain.com to google apps, and it keeps redirecting to http://mail.domain.com/cgi-sys/defaultwebpage.cgi

I checked the httpd.conf under /usr/local/apache/conf/ and it was blank. I just want it to work.
 

cPanelMichael

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

Rather than using a pure redirect, you should adjust the CNAME or A record value for "mail" in the DNS Zone of the domain name. You can edit the DNS Zone for the domain name via cPanel or Web Host Manager:

Via Web Host Manager:

"WHM Main >> DNS Functions >> Edit DNS Zone"

Via cPanel:

"cPanel -- Domains -- Advanced DNS Zone Editor"

Using one of the above options, you adjust the entry for "mail" to point to the address specified by Google Apps.

In addition, you wrote:

I checked the httpd.conf under /usr/local/apache/conf/ and it was blank.
The httpd.conf file should not be empty. You may try rebuilding it via:

Code:
/scripts/rebuildhttpdconf
Please feel free to submit a support ticket if you continue to experience problems accessing the URL. We will be happy to login to your server to investigate the issue. Posting the ticket number here will allow me to follow up on the issue for you.

Thank you.