Domain A record and www

scarhand asked:

I have a question about domain A records.

I have a VPS and I want to point my domain to its IP.

Now, do I have to add an entry into the A record for mydomain.com AND www.mydomain.com? Or will simply adding an entry for mydomain.com make the www.mydomain.com work automatically?

My answer:


Each of the two entries you mention is individual and distinct. So if you want both to work, you need to add both.


View the full question and answer on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.