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 General Discussion
  • Search

Undesired 301 on whole domain

General questions about VestaCP
Post Reply
  • Print view
Advanced search
1 post • Page 1 of 1
geintoura
Posts: 7
Joined: Wed Jan 15, 2020 10:07 am
Contact:
Contact geintoura
Website Twitter

Os: Ubuntu 17x
Web: apache
Undesired 301 on whole domain
  • Quote

Post by geintoura » Wed Jan 15, 2020 10:23 am

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/
==============
Top


Post Reply
  • Print view
1 post • Page 1 of 1

Return to “General Discussion”



  • 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