Mobile app version of vmapp.org
Login or Join
Turnbaugh106

: Confused with how to set Cname records Here is a screenshot of what cPanel is asking for in Cname records: http://i.imgur.com/CG7QC.png This is what i'm trying to do: point: secure.randomdomain.com

@Turnbaugh106

Posted in: #Dns #Nameserver #Server

Here is a screenshot of what cPanel is asking for in Cname records:
i.imgur.com/CG7QC.png
This is what i'm trying to do:

point: secure.randomdomain.com => secure.mydomain.com

What settings would I put to make that happen?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Turnbaugh106

1 Comments

Sorted by latest first Latest Oldest Best

 

@Berumen354

Under "Add a CNAME Record", enter secure.randomdomain.com. in the "Name" field and secure.mydomain.com. in the "CNAME" field and click "Add CNAME Record".

Don't put anything in the "Add an A Record" fields.

The CNAME record just means that the browser (OS really) will look up the first domain (the one in the "Name" field) and find a second domain name (the one in the "CNAME" field) rather than the IP address it was hoping to find. The browser will then look up that CNAME domain in hopes of finding an IP address.

So, the alternative way to do this is to know the IP address of secure.mydomain.com and use that in secure.randomdomain.com's A record rather than creating a CNAME record. However, CNAME records work just fine, and in my experience, there's no reason not to use them.

UPDATED: note the trailing dots for both the "Name" field and the "CNAME" field.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme