Problem with Virtual Hosts and A Record


#1

I’ve added an A record with my domain name and ipv4 address which appears to work normally.

If I try to enable CloudFlare DNS then IP address have been masked normally. My problem is CNAME which don’t working…

At the moment, my A record and CNAME works because I haven’t activate the option ‘DNS Only’

If anyone knows about the solution, let me know…

Distro: Debian Stretch 64bit
Webserver: Apache2 with Virtual Hosts installed

Regards,
Dimitris


#2

Whats the domain and whats the CNAME?


#3

chat.acn.gr is the A record domain and CNAME is chat.zougla.gr


#4

Alright, did I understand you correctly, you want a CNAME under acn to point to the zougla host?!


#5

Right now they both works normally. That I want is to activate ‘DNS Only’ for A record chat.acn.gr with current cname chat.zougla.gr without any problem


#6

Well, it should be enough to create under acn a chat CNAME pointing to the zougla address, right?


#8

Can you post a screenshot of your DNS settings and explain what you want to achieve?

What I understand is you simply want to create a CNAME chat.acn which points to chat.zougla, right?

Where does DNS only come in? That only means it is not tunnelled via Cloudflare but goes straight to that address.


#10

I do not want to change something, just want to activate ‘DNS Only’ without any problem


#11

All I’m saying is that if I do not change the ‘DNS Only’ it works normally


#12

Well, the problem is it not a CNAME but an A record. Do you want that A record or not? If not, delete it and create the CNAME. I am sorry, but I am really not sure what the issue is. Should chat be an A record or a CNAME?


#13

To work properly, it must set as you see an A record

In this A record have been set the cname chat.zougla.gr from zougla.gr administration.

I don’t know how to analyze it more this issue.

If activating mask dns or dns only, automatically causes problems with these two pages and that’s is my problem


#14

I dont know what you mean by that.

An A record is not a CNAME.

I am afraid me neither. It is still unclear what you want to achieve. What should be an A record and what a CNAME? Could you maybe try to show a little text diagram of how the DNS workflow should be?

Should chat.acn point to an IP address or to a zougla address?


#15

chat.zougla points to chat.acn. Is that how it should be?

So is the issue with chat.acn? If so, what exactly is the issue? Right now it points to a 78 address. Is your issue that chat.zougla stops working once you activate :orange: for chat.acn?


#16

Yes, exactly that is my problem

Is your issue that chat.zougla stops working once you activate :orange: for chat.acn?


#17

Alright, that was a misunderstanding. I thought you wanted to point acn to zougla, not the other way round.

I am afraid that wont work, as only acn is on Cloudflare, the moment you switch chat.acn to :orange: the address of chat.zougla will immediately change as well, but Cloudflare does not know zougla.


#18

Works normally before transferring it to VPS and setup manually Virtual hosts with apache

Before I have Plesk and Just add domain chat.zougla.gr and activate orange button


#19

Perhaps I will have to wait for other answers, thank you again, however :slight_smile:


#20

So, you are saying before the move chat.acn was :orange: and chat.zougla a CNAME for chat.acn and that setup was working?


#21

It’s my fault because DNS didn’t update when Ι tried with Plesk

You have right, the orange button can’t work on chat.zougla.gr

Ιf it is no trouble, I would like to delete this topic because there is no issue, just my fault

I must mention that you showed courtesy with my issue

Respectfully,
Dimitris


#22

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.