Selecting groups

I have a file with contents like

host1.domain.com:9090,host2.domain.com:9090,host3.domain.com:9090

I am looking for such an operation so that, the output should be

host1.domain.com:9090
host2.domain.com:9090
host3.domain.com:9090

And also, if the number of entries are more, the output should be same like above.

akshay@Aix:~$ echo 'host1.domain.com:9090,host2.domain.com:9090,host3.domain.com:9090' | \
> tr  ',' '\n'
host1.domain.com:9090
host2.domain.com:9090
host3.domain.com:9090
tr  ',' '\n' <inputfile >outputfile
awk NF RS=',' inputfile
sed 's/,/\n/g' inputfile

---------- Post updated at 02:26 AM ---------- Previous update was at 02:19 AM ----------

perl -pe 's/,/\n/g' inputfile