#1 (permalink)  
Old 10-11-2009, 02:22 AM
Registered User
 
Join Date: Jun 2008
Posts: 45
C4talyst is on a distinguished road
Question webmail subdomain doesn't work

Hello,

I have a fresh install of WHM/cPanel with one domain moved to it for testing. All seems well with our implementation, however, when you try to hit webmail.example.com, we get the default cPanel Apache page that says:

Great Success !
Apache is working on your cPanel® and WHM™ Server

Anyone know what could be causing this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 10-11-2009, 10:50 AM
Registered User
 
Join Date: Jun 2008
Posts: 45
C4talyst is on a distinguished road
This is resolved, I just needed to check the following option under "Tweak Settings":

Add proxy VirtualHost to httpd.conf to automatically redirect unconfigured cpanel, webmail, webdisk and whm subdomains to the correct port (requires mod_rewrite and mod_proxy)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 10-12-2009, 01:47 AM
saninfosys.com's Avatar
Registered User
 
Join Date: Oct 2009
Posts: 20
saninfosys.com is on a distinguished road
It should be http://example.com/webmail OR Example Web Page instead of webmail.example.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 10-12-2009, 04:03 PM
cPanelDavidG's Avatar
Technical Product Specialist
 
Join Date: Nov 2006
Location: Houston, TX
Posts: 8,615
cPanelDavidG is on a distinguished road
Quote:
Originally Posted by saninfosys.com View Post
It should be http://example.com/webmail OR Example Web Page instead of webmail.example.com
While not the best method for accessing webmail, webmail.example.com (which only uses port 80) is acceptable as of version 11.23 of cPanel/WHM when the aforementioned tweak setting is enabled.
__________________
- cPanel David G., Lead Forum Administrator & cPanel Technical Product Specialist
Do you want 50% off your cPanel Conference Admission? View Coupon Code
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 10-13-2009, 05:08 AM
Registered User
 
Join Date: Apr 2009
Posts: 228
InstaCarma_Tech is on a distinguished road
1. Create an ‘A’ record for the sub-domain ‘webmail’ in the DNS zone file. It should look like :

domain.com. IN A XX.XX.XXX.XXX
localhost.domain.com. IN A 127.0.0.1
domain.com. IN MX 0 domain.com.
mail IN CNAME domain.com.
www IN CNAME domain.com.
ftp IN A XX.XX.XXX.XXX
cpanel IN XX.XX.XXX.XXX
whm IN A XX.XX.XXX.XXX
webmail IN A XX.XX.XXX.XXX
webdisk IN A XX.XX.XXX.XXX

2. Put the following code inside .htaccess in the sub-domain folder ( virtual sub-domain which doesn’t have an entry in httpd.conf

RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.webmail.domain.com$
RewriteRule ^.*$ “http\:\/\/domain\.com\/webmail” [R=301,L]
__________________
InstaCarma
Outsourced Web Hosting Technical Support and Server Management

To visit out Blog , click here
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Subdomain not work persianwhois cPanel and WHM Discussions 0 06-16-2007 07:50 AM
subdomain won't work Zion Ahead cPanel and WHM Discussions 2 01-04-2007 03:49 AM
webmail subdomain on all new account herbertjoei cPanel Newbies 3 11-29-2006 11:41 AM
Webmail Subdomain jfeap cPanel and WHM Discussions 0 08-20-2006 01:38 AM
deleting subdomain doesn't work Radio_Head cPanel and WHM Discussions 3 05-15-2003 06:23 AM


All times are GMT -5. The time now is 11:18 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc