|
|||
|
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? |
|
|||
|
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) |
|
||||
|
It should be http://example.com/webmail OR Example Web Page instead of webmail.example.com
__________________
SanInfosys.com Web Hosting India | Linux Hosting India Windows Hosting India | Domain Name India |
|
||||
|
Quote:
__________________
- cPanel David G., Lead Forum Administrator & cPanel Technical Product Specialist Do you want 50% off your cPanel Conference Admission? View Coupon Code |
|
|||
|
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 |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
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 |