We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on Vesta 2.0 and expect to release it soon. Read more about it: https://vestacp.com/docs/vesta-2-development
Funny Redirects aftp PHP Selector and SSL
-
- Posts: 1
- Joined: Sun Mar 12, 2023 8:13 pm
- Os: CentOS 7x
- Web: apache + nginx
Funny Redirects aftp PHP Selector and SSL
Hello,
I have inherited a Vesta server for a "client" that desperately needed some updates. Seemed easy enough after I was able to gain access. As a background, my experience is mainly with cpanel and SME.
Here's the the issue:
CentoOS 7 with latest Vesta Updates, All sites running Wordpress
I think there is apache and nginx as a proxy
domain1 and domain2 seem to have active Lets Encrypt certs
There are 3 "users" or sites in question, one appears to be an old dev site. There are two domains, domain1.com and domain2.com with the old dev site at dev.domain2.com
Here's what I did, the best I can recall.
-- Changed Name Servers at registrar level
-- Created new NS records on new NS
-- Ran PHP Selector
-- Changed PHP version for both domains in Web config for user
Aftermath
-- phpmyadmin begins to report wrong PHP version (fixed)
-- SSL Dies for both
-- Attempt to activate Lets Encrypt SSL
-- https for domain1 begins to work (but http redirects to http domain2)
-- https for domain2 redirects to https domain1
-- http for domain2 pulls wordpress installation from dev (I think. Which is useless)
-- SSL Checker reports that domain2 cert is for domain1
I have went through the log files, tried lots of things, scoured this forum and Google, but nothing.
Is it a dns issue? Is it a nginx issue? Is it a httpd issue? Combination?
I'm hoping that someone here might have some insight or advice so that I can get these websites working properly. Any help would be appreciated!
I have inherited a Vesta server for a "client" that desperately needed some updates. Seemed easy enough after I was able to gain access. As a background, my experience is mainly with cpanel and SME.
Here's the the issue:
CentoOS 7 with latest Vesta Updates, All sites running Wordpress
I think there is apache and nginx as a proxy
domain1 and domain2 seem to have active Lets Encrypt certs
There are 3 "users" or sites in question, one appears to be an old dev site. There are two domains, domain1.com and domain2.com with the old dev site at dev.domain2.com
Here's what I did, the best I can recall.
-- Changed Name Servers at registrar level
-- Created new NS records on new NS
-- Ran PHP Selector
-- Changed PHP version for both domains in Web config for user
Aftermath
-- phpmyadmin begins to report wrong PHP version (fixed)
-- SSL Dies for both
-- Attempt to activate Lets Encrypt SSL
-- https for domain1 begins to work (but http redirects to http domain2)
-- https for domain2 redirects to https domain1
-- http for domain2 pulls wordpress installation from dev (I think. Which is useless)
-- SSL Checker reports that domain2 cert is for domain1
I have went through the log files, tried lots of things, scoured this forum and Google, but nothing.
Is it a dns issue? Is it a nginx issue? Is it a httpd issue? Combination?
I'm hoping that someone here might have some insight or advice so that I can get these websites working properly. Any help would be appreciated!