www prefix in main domain

There is a thread 148774 which is discussing that it is doabale to have www prefix in the main domain after a subdomain install. I installed the multisite without www prefix per instruction. How do I add hte www prefix to the main domain only?

I tried to change the prefix in the wp-config file, but that itself did not work causing redirect problems.