This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

webmail redirection not working
#1
webmail redirection not working
Hi,

I've tried to setup webmail redirection by editing the vHost for my domain using the following code however the redirection is not working.

Code:
</VirtualHost>

       # Configuration for WebMail - webmail.haywoodvillage.org.uk
   <VirtualHost *:80>
   ServerAdmin admin@haywoodvillage.org.uk
       DocumentRoot "C:/zpanel/panel/etc/apps/webmail/"
       ServerName webmail.haywoodvillage.org.uk
   AddType application/x-httpd-php .php3 .php
       <Directory />
       Options FollowSymLinks Indexes
       AllowOverride All
       Order Allow,Deny
       Allow from all
       </Directory>
   </VirtualHost>

I have an A record of "webmail" pointing to the IP of my server.

When I enter http://webmail.haywoodvillage.org.uk it just takes me to a Sentora login screen rather than the Roundcube login screen.

Any ideas?
Reply
Thanks given by:
#2
RE: webmail redirection not working
I see you're using "C:/zpanel/panel/etc/apps/webmail/" and your profile says you use Ubuntu?
And don't end with the "</VirtualHost>".

try:

Code:
</VirtualHost>

# Configuration for WebMail
<VirtualHost *:80>
   ServerAdmin admin[at]haywoodvillage.org.uk
   DocumentRoot "/etc/sentora/panel/etc/apps/webmail/"
  ServerName webmail.haywoodvillage.org.uk
   AddType application/x-httpd-php .php3 .php
   <Directory />
       Options FollowSymLinks Indexes
       AllowOverride All
       Order Allow,Deny
       Allow from all
   </Directory>
Don't forget to change the [at] to a @!

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#3
RE: webmail redirection not working
Im using CentOS 7.0
Reply
Thanks given by:
#4
RE: webmail redirection not working
Then what i posted should work..
directory paths starting with c:/ are for windows..

My Sentora DemoMy GithubAuxio Github
Zentora themeS-Type themeCstyleX theme
flat-color-iconssmall-n-flat-icons

Sentora's development takes way too long, so i'm transitioning to HestiaCP.
Reply
Thanks given by:
#5
RE: webmail redirection not working
OK, how long till it works after updating the config? Its on a testing123 page right now.

I have the following records setup in my SENTORA DNS manager:

MX Record
Hostname=@ | Priority=10 | Target=mail.haywoodvillage.org.uk

A Record
Hostname=webmail | Target=my server ip

This is also setup the same on CloudFlare which I use for DNS.
Reply
Thanks given by:
#6
RE: webmail redirection not working
If you have DNS setup on cloudflare no need to replicate any dns in sentora as only cloudflare is authorative over the domain!

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#7
RE: webmail redirection not working
removed DNS from sentora - still not working.
Reply
Thanks given by:
#8
RE: webmail redirection not working
what are you getting as error. I just said sentora dns don't help that's it.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#9
RE: webmail redirection not working
http://webmail.haywoodvillage.org.uk/ does not take me to roundcube...

Here's my CloudFlare DNS Setup:
[Image: DNS.jpg]
Reply
Thanks given by:
#10
RE: webmail redirection not working
http://webmail.haywoodvillage.org.uk/ shows apache default error like path wrong.

Check again path you setup.
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
[split] Can Not Log Into PHPMyAdmin or Webmail after upgrading to PHP 7.1.24 ogika 2 4 ,203 09-14-2021, 06:25 AM
Last Post: sparkrack
Add on Domains not working but Main domain works luckyviet 2 5 ,488 03-18-2020, 07:38 PM
Last Post: AanaNahum
subdomains live but not working..!! natimctat 2 7 ,499 01-27-2020, 06:47 PM
Last Post: Shabbirhasan

Forum Jump:


Users browsing this thread: 1 Guest(s)