Added ability to have multiple alias entries

Just a simple change to look for array in serveraliases.