I am new to open source.
With virtualmin or webmin is there a way to make sure that both urls:
can be recognized?
Virtualmin attempts to set that up for you.
If you're using your own server as a nameserver (ie, the DNS for your domain points to your server), then it should work out of the box.
If you're using another DNS server, then it's just a matter of setting up DNS records for mysite.com and www.mysite.com, and making sure they both point to your server.
Thank you for the quick reply