Can repl.it be a hosting for a website ? If yes how ?
I would like to post my website without spending any money. So can I do that on repl.it ? I yes can my website be referencing on google ?
Honestly, I wouldn't recommend that you save money. The lower the price for VPS hosting plan the less set of VPS hosting and technical characteristics you get. In my opinion, the ideal price-to-quality ratio of services is provided by the specialists of this service https://www.namecheap.com/hosting/vps/. You can go to their website and look at the different options and choose what suits you best.
You can use replit for hosting websites on google without spending money. First you can create a "HTML/CSS/JS" repl. After, just add some HTML/CSS/JS code to it and voila! You have created your free website!
You can host a website by simply creating an HTML/CSS/JS repl. You can also create webservers in replit and host those, but you will have to keep traffic there or it will shut down and will have to restart the next time you visit it. But if you are hosting a website that you expect to have lots of traffic, dont use replit for that.
You can host your website on repl.it even if you have a free plan. You can even use a custom url for it. However, the webserver associated with your site is not always spun up or active. This means that when someone visits your site it may take a while for a page to initially load. If you have a hacker plan then the webserver is generally up all the time. That is what I have found anyway.
You could consider using Netlify to host your site. Sign up for a free account then it is a matter of putting your website files (images, html pages, css, js scripts etc) into a folder and dragging and dropping the folder into an upload box on Netlify. It is really easy and you can edit the default site name that Netlify provided to something more suitable. One proviso is that your site folder must have an index.html file in it. Here is a web app that I made that is hosted on Netlify: https://newsfeeds.netlify.com/ and here is a fun little program: https://button-city.netlify.com/
Try this: copy and paste the web address into a new tab and press Enter. You will see the web page (it's an animation) in all its glory. It is as simple as that. Note the files that are part of the website in the file column at left. The site always must have a index.html page. This is your home page.
Let me know if you want anymore help.