When i upload a new post to my wordpress website i want that post to be published even in another website that is not in wordpress. Can this thing be done and if yes, can you give me any idea?
This will really depend on your other site — how it’s configured and how you can feed publishable content to it. Your WordPress site will make the content portable and formatted in a way that should be easy for just about any other platform to read/parse/publish, though.
Like most things with website development, there are a few ways this could be done successfully, but I think the easiest way would be to leverage the variety of feeds your WordPress site publishes and use one/some of these feeds as a means of adding the new content to your other site. Feeds make your WordPress content easy to parse and read for your other site to read, format and publish.
Here’s also a quick video walkthrough I created for finding the built-in feeds for posts and post categories on a default, sandbox install of WordPress:
Another option that might work for you would be to leverage a service like IFTTT or Zapier, where you use your WordPress site publishing a new post as a trigger, and have that content post somewhere else, again, depending on your other site and how it can accept new content.