Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

strange behaviour

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
kaines
Posts: 10
Joined: Tue Dec 01, 2015 9:37 pm

strange behaviour
  • Quote

Post by kaines » Tue Dec 22, 2015 1:51 pm

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?
Top

tjebbeke
Collaborator
Posts: 783
Joined: Mon May 11, 2015 8:43 am
Contact:
Contact tjebbeke
Website

Os: CentOS 6x
Web: apache + nginx
Re: strange behaviour
  • Quote

Post by tjebbeke » Tue Dec 22, 2015 2:48 pm

What isn't working? Do you have some errors? Can you check log files?
Top

kaines
Posts: 10
Joined: Tue Dec 01, 2015 9:37 pm

Re: strange behaviour
  • Quote

Post by kaines » Wed Dec 23, 2015 12:18 am

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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password