quote: How do I set this up right? My domain only work if there is www. in front of the domain name in the url.
Your domain registrar should either expose this to you or be able to configure it for you - tell them you want xxx.com to point to www.xxx.com in your DNS records (in this case I think you need a CNAME record for xxx.com to www.xxx.com, but it can be complicated)
quote: How do I set this up right? My domain only work if there is www. in front of the domain name in the url.
Your domain registrar should either expose this to you or be able to configure it for you - tell them you want xxx.com to point to www.xxx.com in your DNS records (in this case I think you need a CNAME record for xxx.com to www.xxx.com, but it can be complicated)
I can configure some dns stuff myself:
localname - type - mx priority - target
I now have this setup for www: www - A - 0 - XXX.XXX.XXX.XXX
So if I do it like this: www - C - 0 - XXX.XXX.XXX.XXX