Here is a screenshot of what cPanel is asking for in Cname records:
This is what i'm trying to do:
point: secure.randomdomain.com => secure.mydomain.com
What settings would I put to make that happen?
Webmasters Stack Exchange is a question and answer site for pro webmasters. It only takes a minute to sign up.Sign up to join this community
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.