Troubleshooting Apache Web Server

Apache appears to be running and the command line says it's up but InterWorx says it isn't. What's going on?

In all likelihood you changed the default httpd.conf to not listen on 127.0.0.1 which is how iworx-cp checks to see if httpd is up and serving requests. If you make 127.0.0.1:80 active the NodeWorx interface will be happy.

Listen 216.172.167.190:80
Listen 216.172.167.191:80
Listen 216.172.167.192:80
Listen 216.172.167.193:80
Listen 216.172.167.194:80
Listen 216.172.167.195:80
Listen 216.172.167.196:80
Listen 216.172.167.197:80
Listen 216.172.167.198:80
Listen 216.172.167.199:80

#Listen 80

What is the easiest way to redirect a subdomain to a url?

for example: webmail.domain.com ==> redirects to => https://www.domain.com/webmail

Add a DNS entry for webmail.domain.com to point to the same IP as “domain.com” and then add a ServerAlias line to each site’s /etc/httpd/conf.d/domain.com.conf file for the webmail.domain.com. The default subdomain logic already present in the vhost conf file shoudl take over the ultimate redirect to the subdir.

How do I redirect webmail.domain.com ==> to http://www.domain.com/squirrelmail/ ?

add a .htaccess file in the website root directory with the following:

RewriteCond %{HTTP_HOST} ^subdomain.domain.com
RewriteRule ^(.*)$ http://www.domain.com/webmail [R=301,L]
Redirect /email http://www.domain.com/webmail
COPYRIGHT © InterWorx L.L.C. 2004-2008 PRIVACY POLICYEULA