Author Topic: CNAME run into default web page CWP  (Read 2145 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
CNAME run into default web page CWP
« on: August 27, 2020, 10:16:36 AM »
Hi There,

I Try the CNAME let's say

Sub Domain abc.domain.com (IP 12.34.56) into sub domain def.mydomain.com (IP 123.456.789) the CNAME if we check that run into the IP 123.456.789  is correct it can open if you input abc.domain.com it is run into the IP 123.456.789 BUT it not run into the domain def.mydomain.com BUT goes into the centos web panel default page.

Can anyone help me?

Regards
KurJay

Offline
*
Re: CNAME run into default web page CWP
« Reply #1 on: October 26, 2020, 11:57:23 AM »
I have the same problem.
Has anybody solved this? or has anybody an explanation for this :(
Thank you all.

Offline
*
Re: CNAME run into default web page CWP
« Reply #2 on: October 26, 2020, 02:20:06 PM »
CNAME not assign an IP... CNAME assign an address..

BAD:
 # name  -  direction - time(ttl)
abc.mydomain.com - 123.456.789 - 3600

CORRECTLY
# name  -  direction - time(ttl)

 abc - def.mydomain.com - 3600

Offline
*
Re: CNAME run into default web page CWP
« Reply #3 on: October 26, 2020, 03:07:58 PM »
Thank you @KatiaSisHost appreciate your help.
I tested also your variation and the result s the same. My example:

app.domain1.com. - CNAME - domain2.com

I always get the default cwp index.html page.

Any clues why that?

Offline
*
Re: CNAME run into default web page CWP
« Reply #4 on: October 29, 2020, 06:21:13 PM »
u don't need to add all strings...

yes:
Type: CNAME..... Name: (app) .... Destiny : domain2.com TTL 3600

no:
Type: CNAME..... Name: (app.domain1.com) .... Destiny : domain2.com TTL 3600