Which is the best way to get a domain name and host a website for free ???
Please help me to know more about it. Thanks in advance
https://freedns.afraid.org https://www.noip.com Both of them are free and you can search for tutorial on YouTube.
you can also use github pages
Of course I dont know for how long you would like, but I've had great experiences with ngrok. This of course, doesnt work if you're thinking long term as the it only makes your files in localhost online for 8 hours all the while the server is on your side. For small projects however, I find it highly efficient.