There are two versions of my website.. one is with www and another is without www I dont have .htaccess access and i have tried multiple attempts view ftp for doing redirection but not worked. So is this ok to have both versions? I have assigned prefered domain with www in google search consol .. Is this ok? Your help will really appreciate.
It's ok for you, having www or not is not a matter. However in the end users view, having www is more nice & truth than without www. IMO
If you are using both versions than it will considered as duplicate content and will hurt your site SEO.
It is not OK. Using both www and not-www is seriosly issue and can penalty your site in google becouse its create a duplicating your pages in serp. You must use only one style of your URL-s. About what better www or non-www www is very old url-format, created in 90th. Now using non-www urls is most actually.
these are ok but not in fever of your website please give just one gateway to search engine to crawl your website. by the way why you don't .htaccess?
Search engines will treat both the versions as multiple websites and because of duplicate content, it will be marked duplicate content, which will hurt your rankings. If you don't have access to .htaccess, than you should contact your hosting provider, they will edit it for you!
In general term treated as OK, but need optimization then in terms of SEO it's not good. We resolve canonical issues just because of Google not treated our website in multiple URLs due to www to non www. So resolve for better site health...