Quote:
After you do that, you have to restart Zimbra.
Or, even quicker, you could just type (as root):
su - zimbra
zmiptables -u
zmiptables -i |
I did restart zimbra, and it the login screen still loads up when i go to
http://curley.quirkservice.com
i ran the zmiptables commands, and now it says that /zimbra/mail cannot be found...
I then added what you gave me to the httpd.conf file. and now curley.quirkservice.com goes right back to the zimbra log in again.
i looked at /opt/zimbra/bin/zmiptables, and it still looks the same as it was since i commented out the 80 => 7070 line.
should useCanonicalNames be turned on or off?
i uncommented out ServerName and set that value to curley.quirkservice.com
Code:
ServerName curley.quirkservice.com:80
<VirtualHost *:80>
# Servername is the domain name you want users to type into their
# browser in order to connect to Zimbra
ServerName mail.quirkservice.com
# Pass every request off to Zimbra
RewriteEngine On
RewriteRule ^(.*)$ http://127.0.0.1:7070$1 [P]
RewriteRule ^proxy:.* - [F]
# On the way back, rewrite headers containing this domain name and port,
# effectively hiding the port from the user
ProxyPassReverse / http://mail.quirkservice.com:7070/
ProxyPreserveHost On
</VirtualHost>
here is my hosts file, if that helps:
Code:
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
141.154.98.107 curley.quirkservice.com curley
141.154.98.107 mail.quirkservice.com mail
is that how it is supposed to be set up? do i need to have both entries?
my goal is to have people go to
http://mail.quirkservice.com and get to the mail client, which i think is possible once the dns finishes propagating ( i only added mail.quirkservice.com to the dns a few hours ago) given the info you gave me to put in my httpd.conf file.
however, if someone goes to curley.quirkservice.com, or even just type in the IP address, bring up another website hosted on that machine.