What is the version of the following sentence with correct punctuation?

If the server has other names list them in the Aliases field separated with commas
If the server has other names, list them in the Aliases field, separated with commas (,).