I do not understand the question.
Please describe in more detail what you mean.
Are you saying that you have made a composition in After Effects and you want it to be watched on the internet? If that is what you mean, add your composition to the render queue in After Effects and render out a lossless file, then import that lossless file into the Adobe Media Encoder and use the YouTube preset for encoding, and then take that resulting file and upload it to YouTube.
If that is not what you meant, please explain further.
If you are just starting to use After Effects, go here: Getting started with After Effects