webmail.domain.tld dont work :(
Hi, I have working domain.tld/webmail. But when I do the step 20.2 Squirrel mail in this tutor. And I want webmail.domain.tld that dont work.
If I remove # from:
<VirtualHost 220.127.116.11:80> <- i put there my IP
ServerName webmail.example.com <-there i put my domain
Then every site on my server goes on http://domain.tld/webmail/src/login.php
If I try webmail.domain.tld -> goes on http://domain.tld/webmail/src/login.php
If I try www.domain.tld -> goes on http://domain.tld/webmail/src/login.php
I doing something wrong:( PLS help.
Thanks for reply.
1) Create subdomain in ispconfig pointing to your webmail
2) Add a dns entry for this subdomain
Thanks, but I create the subdomain. And I set the A DNS for it. And still dont work. The same... every site domain.tld on server goes on the squirrelmail exept the subdomain.domain.tld there is the default web. Any other ideas?
:) meaby I dont understant... What you think with "create subdomain that will pointing to your webmail" I will pointing with CNAME to domain.tld/webmail?
Example (in Subdomain for website Tab):
Redirect type: R,L
Redirect path: http://yourdomain.tld:8080/webmail/
Be careful with the / at the end.
OK, now i have it. But if I open webmail.domain.tld then it redirect me to domain.tld/webmail/src/login.php
It is posible have it like this:
I open webmail.domain.tld and it will stay as this webmail.domain.tld/src/login.php?
It must work like this:)
I dont know why it not work in configuration of squrrelmail:
If i use this way, then every domain on my server pointing to /usr/share/squirrelmail :(
What you mean with "flags"? :) Thanks
I have it like this:
Redirect type: R,L
Redirect path: http://domain.cz/webmail/
It work like this:
I type webmail.domain.cz and in url shows domain.cz/webmail/src/login.php
And I want this:
I type webmail.domain.cz and in url stay as webmail.domain.cz/src/login.php
Thanks a lot for help falko.
With flags I refer to the "Redirect type" field.
I try every option on redirect and nothing. Still the same.
Meaby I must change sometning in .htaccess? It is possible?
From what I gather, you want to create a subdomain, e.g., webmail.example.com, via which your webmail software is accessible.
Further, you want webmail.example.com to remain in the browser's address field, even though the "actual" location of the webmail software may reside elsewhere, whether within Apache's document root or not.
There is an important proviso mentioned in the step of the tutorial to which you refer: "Also make sure that the vhost webmail.example.com does not exist in ISPConfig [emphasis mine] (otherwise both vhosts will interfere with each other!)."
You don't need to create a redirect in ISPConfig, either.
Either you need to follow the tutorial exactly (don't create the subdomain in ISPConfig) or, if you'd rather manage the subdomain in ISPConfig, you need to:
1.) Create the domain (not subdomain, as those are simply aliases) in ISPConfig, e.g., webmail.example.com. Again, do not specify a redirect of any kind for the domain.
2.) Create an A-record for webmail.example.com in your DNS configuration, wherever that might reside, and point it to your server's IP address.
3.) Create an alias for SquirrelMail in your Apache configuration.
Concerning step 3, add the following to the subdomain's Apache configuration in ISPConfig (Sites -> webmail.example.com -> Options -> Apache Directives box):
Be aware that you may receive "Permission denied" errors when you visit webmail.example.com until you configure additional permissions.
But let us know when you get to that point...
|All times are GMT +2. The time now is 14:41.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.