strange behaviour
strange behaviour
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?
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?
-
- Collaborator
- Posts: 783
- Joined: Mon May 11, 2015 8:43 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: strange behaviour
What isn't working? Do you have some errors? Can you check log files?
Re: strange behaviour
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.
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.