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

Funny Redirects aftp PHP Selector and SSL

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
miracleman12
Posts: 1
Joined: Sun Mar 12, 2023 8:13 pm

Os: CentOS 7x
Web: apache + nginx
Funny Redirects aftp PHP Selector and SSL
  • Quote

Post by miracleman12 » Tue Mar 14, 2023 3:27 pm

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


Post Reply
  • Print view
1 post • 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
 

 

cron

Login  •  Register

I forgot my password