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 RHEL/CentOS
  • Search

new subdomains not resolving and letsencrypt 400

RHEL/CentOS related topics
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
johnking
Posts: 2
Joined: Thu Apr 19, 2018 10:34 pm

Os: Ubuntu 15x
Web: apache + nginx
new subdomains not resolving and letsencrypt 400
  • Quote

Post by johnking » Sun Jan 17, 2021 8:32 pm

I'm on Centos:

CentOS Linux release 7.9.2009

I moved from a Centos 6 Box, everything moved fine, including subdomains, everything works as it should. However when creating new subdomains they do not resolve correctly nor will letsencrypt cooperate (400 or 429 codes returned).

The newly created subdomains either resolve to other subdomains (https) or resolve correctly but serve content from another subdomains directory (http).

https://test.example.com --> https://older.example.com

http://test.example.com --> http://test.example.com but serves files out of another subdomains directory

I did create A records and CNAME records for newly created subdomains.

A new public_html directory is created for the created subdomain as are httpd and nginx conf files.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: new subdomains not resolving and letsencrypt 400
  • Quote

Post by grayfolk » Sun Jan 17, 2021 8:43 pm

johnking wrote: ↑
Sun Jan 17, 2021 8:32 pm
I'm on Centos:

CentOS Linux release 7.9.2009

I moved from a Centos 6 Box, everything moved fine, including subdomains, everything works as it should. However when creating new subdomains they do not resolve correctly nor will letsencrypt cooperate (400 or 429 codes returned).

The newly created subdomains either resolve to other subdomains (https) or resolve correctly but serve content from another subdomains directory (http).

https://test.example.com --> https://older.example.com

http://test.example.com --> http://test.example.com but serves files out of another subdomains directory

I did create A records and CNAME records for newly created subdomains.

A new public_html directory is created for the created subdomain as are httpd and nginx conf files.
Did you create also A or CNAME records for aliases?
Top

johnking
Posts: 2
Joined: Thu Apr 19, 2018 10:34 pm

Os: Ubuntu 15x
Web: apache + nginx
Re: new subdomains not resolving and letsencrypt 400
  • Quote

Post by johnking » Sun Jan 17, 2021 9:18 pm

grayfolk wrote: ↑
Sun Jan 17, 2021 8:43 pm
Did you create also A or CNAME records for aliases?
Yes, in DNS panel

I can't create an alias under the domain as it is already existing domain.
Error: Web domain
test.example.com exist
DNS is working fine but the subdomain is being served from the wrong directory.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “RHEL/CentOS”



  • 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