/webmail not working for only 1 domain

aodat2

Verified User
Joined
May 9, 2006
Messages
38
Hi guys,

I have a small issue or more like a strange thing happening.

I've had this server for a long time and all the domains I have created and etc are working totally fine without a problem. All the website could be able to access something like: www.<domain>.com/webmail

But it seems that I've recently created a domain (after updating to the new skin) and it seems that I am unable to access that domain's /webmail or even /roundcube

I don't see a problem anywhere at all. I've tried to rewrite all the configs. It always seems to return an Error 404.

Error 404 - Not found​

Your browser can't find the document corresponding to the URL you typed in.


Not sure what is wrong or what has happened but I'm guessing that his seems to be an Alias problem or something like that. But the funny thing is that all other domains on the server could easily access their own domain's /webmail or /roundcube.

Hope that anyone who knows about this help me out a bit to resolve this issue.

Thank you so much for your help.
 
Have a look in that accounts public_html directory for a .htaccess file and check if there are redirects in there which could prevent it from visiting the /webmail directory.
Could also be an alias thing or custom httpd configuration for that domain.
 
Hi Richard,

Thanks for the reply but there's totally no .htaccess file anywhere.

I'm guessing it is an alias thing but how do I get it done for only 1 domain on the entire server? Any ideas on how to get the Alias thing sorted out? Further to that, I don't have any custom httpd config for the domain at all. It's a totally new domain which was just created.

Not sure what else could be the problem.
 
Any ideas on how to get the Alias thing sorted out?
What I always do in those cases is to login via SSH twice.
In one window I tail the httpd access log so:
tail -f /var/log/httpd/access_log
and in the second window I tail the domains log like:
tail -f /var/log/httpd/domains/domain.com.log

Then I visit via the browser https://www.domain.com/webmail and refresh that page or visit it a couple of times behind each other.

Now there will be entry's in the access_log and the domain.com log with your ip address, something will point to some error in this case.
Also you can check the /var/log/httpd/domains/domain.com.error.log just to be sure afterwards.
 
Back
Top