Page 1 of 1

Undesired 301 on whole domain

Posted: Wed Jan 15, 2020 10:23 am
by geintoura
Hi Everybody, i just discovered Vesta and choose to replace cpanel with it because of the api, so first of all thanks for this amazing solution.

According to the subject of this topic, i'v a big problem.
Two of my setuped domain are redirecting to an other.

Here is my config to help:

69 domain configured on the vesta
16 different IP
ubuntu server 18.04

Domain A is redirecting to domain B

Domain A contains nothing except the default index.html file in the public.html directory.
Domain A and domain B are in http (no https)
There is no redirection neither in .htaccess or vhost configuration From A to B
Domaine A and domain B aren't using the same Ip addresse

I tryied to disable nginx in both Domain and domain but when i try on my labtop to do:
I tryed to restart nginx and apache2

Code: Select all

curl -I domainA.com i received this:
============
$ curl -I domainA.com
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Wed, 15 Jan 2020 10:15:18 GMT
Content-Type: text/html; charset=iso-8859-1
Connection: keep-alive
Location: http://www.domainB.com/
==============