Page 1 of 1

strange behaviour

Posted: Tue Dec 22, 2015 1:51 pm
by kaines
hello all :)

i have some strange behaviour on my server... ive added domain for example: b1.domain.com and added SSL support, added all certificates and everything, vesta says it has saved and there is no error, but when i try http://b1.domain.com it works ok it goes to this domain public_html, but if i try https://b1.domain.com it doesnt work.

ive tryed to rebuild the web, but its the same... any idea?

Re: strange behaviour

Posted: Tue Dec 22, 2015 2:48 pm
by tjebbeke
What isn't working? Do you have some errors? Can you check log files?

Re: strange behaviour

Posted: Wed Dec 23, 2015 12:18 am
by kaines
The problem is as i told:

i have: domain.com and enabled SSL

http://domain.com shows the content of > /home/user/web/domain.com/public_html
https://domain.com show the content of > /home/admin/web/defaultdomain/public_html

In apache logs i see that if i want to use https://domain.com/somescript.php it shows 404 error because its not in /home/admin/web/defaultdomain/public_html

I had to fix this issue fast, so i have reload webconfig from backup and now its working OK - but its just a quick fix, i dont what the issue was.