# dns record

**URL:** <https://forum.virtualmin.com/t/dns-record/34423>\
**Category:** Virtualmin\
**Created:** [September 19, 2009, 12:59am UTC](https://forum.virtualmin.com/t/dns-record/34423 "2009-09-19T00:59:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vividzzz](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/v/8edcca/32.png) [@vividzzz](https://forum.virtualmin.com/u/vividzzz)\
**Post date:** [September 19, 2009, 12:59am UTC](https://forum.virtualmin.com/t/dns-record/34423/1 "2009-09-19T00:59:07Z")

</div>

My question is I have registered a domain through godaddy. I have been creating a new A record for each sub domain and main domain I create in virtualmin. For example I’ll use [example.com](http://example.com). for a new domain called [example.com](http://example.com) I have to make two A records one [www.example.com](http://www.example.com) to get [http://www.example.com](http://www.example.com) to show in browser and another record with just [example.com](http://example.com) to get [http://example.com](http://example.com) to show in browser. I also have to do this for every subdomain that I create. Is this the proper way to do this or am I missing something? If I don’t make any A records at godaddys then none of the webpages will show up. Thanks for your time.

---

<div class="post-metadata">

**Author:** ![ronald](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/r/ea666f/32.png) [@ronald](https://forum.virtualmin.com/u/ronald)\
**Post date:** [September 19, 2009, 11:04pm UTC](https://forum.virtualmin.com/t/dns-record/34423/2 "2009-09-19T23:04:26Z")

</div>

yes this is one way of doing things.

The other way is to use nameserver if you are running them.

By giving the domain at godaddy your ns records instead of A records, then all records will be automatically created by virtualmin on your box(saving you a lot of time)

However you need to be running 2 nameservers for this to work.

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:47am UTC](https://forum.virtualmin.com/t/dns-record/34423/3 "2020-04-30T05:47:11Z")

</div>

Closed on April 30, 2020, 5:47am UTC


