Add a CNAME record to the DNS configuration of my domain name?

7 posts / 0 new
Last post
#1 Wed, 12/19/2012 - 22:04
eiger3970

Add a CNAME record to the DNS configuration of my domain name?

Hi Virtualmin, nice software, but still getting used to what Virtualmin, Webmin and Usermin are? Anyways, just trying to add Google analytics and they tell me to add a CNAME record to the DNS configuration of my Domain host. I don't have any DNS services with my DNS host as Google analytics instructs. I can run everything on Virtualmin/Webmin.

So where and how can I add a CNAME record to make this work? I found this post http://www.virtualmin.com/node/16306, but the navigation path isn't right.

My specifications are: (Navigation path...Virtualmin/System Information) Webmin version 1.600. Theme version 8.5. Kernel and CPU Linux 2.6.32-279.14.1.el6.i686 on i686. Operating system CentOS Linux 6.3. Virtualmin version 3.96.gpl GPL.

Wed, 12/19/2012 - 22:52
andreychek

Howdy,

What is the nameserver for the domain you're using? Is that your Virtualmin server, or is that at a third party provider?

If it's your Virtualmin server, you can add a CNAME record by going into Server Configuration -> DNS Records, and in there, you can add a new CNAME record.

That will only work if your Virtualmin server is the nameserver for your domain though.

-Eric

Thu, 12/20/2012 - 04:12
Locutus

Yeah, the information in that post you linked is outdated, since it's over 2 years old. :) Eric named the place where you can configure DNS records now in Virtualmin.

Also, if you want/need to go low-level, you can use Webmin's BIND module too to edit zones, which has more options and will not interfere with Virtualmin's edit function.

Sun, 12/23/2012 - 21:32
eiger3970

Thanks, that navigation path worked. Now just need Google analytics to verify. Posted help to Google as not verifying.

Fri, 12/28/2012 - 02:16 (Reply to #4)
eiger3970

Well, no reply from Google forums on why the TXT or CNAME records won't verify the domain with Google Analytics?

1. I go to Virtualmin > Server Configuration > DNS Records > Create Record of Type: TXT - Text > Record name: Same as domain > Record type: TXT - Text > Cache time: Domain default > Text record: google-site-verification... > Record comment: Google analytics > Create.

2. I also go to Virtualmin > Server Configuration > DNS Records > Create Record of Type: CNAME - Name Alias > Record name: www.xxxxxxxx.xxx.xx > Record type: CNAME - Name Alias > Cache time: Domain default > Target DNS name: (details provided by Google analytics) > Record comment: Google analytics > Create.

The error keeps coming up: We weren't able to verify your domain: xxxxxxxx.xxx.xx. Verification failed for http://xxxxxxxx.xxx.xx/ using the DNS TXT record method (less than a minute ago). The connection to your server timed out.

Fri, 12/28/2012 - 02:25 (Reply to #5)
tpnsolutions
tpnsolutions's picture

eiger3970,

Drop me an email to: pknowles@tpnsolutions.com

Let's get this bad boy put to rest. Should be able to solve the issue in a few moments over a screen sharing session :-)

I'll be up and ready for a few more hours :-)

-Peter

Best Regards,
Peter Knowles | TPN Solutions
Email: pknowles@tpnsolutions.com | Skype: tpnassist
Mon, 09/23/2013 - 07:36
helpbox0

example your server ip is 12.34.56.78 then go to your domain's control panel and register NS1.yourdomain.com & NS2.yourdomain.com with that MAIN ip of your server.

Then set the nameservers of your domain to ns1.yourdomain.com ns2.yourdomain.com, this way gives you private nameservers, and you're not using ISP's.

Then in vitualmin you create the domain. Once created

go to Virtualmin > Server Configuration > DNS Records > Create Record of your choice.

Good luck

Topic locked