In order to be live on the internet you need to have a domain and webhosting. Hower, if you just want to practise making websites you can use the tool LocalWP to create a website on your computer. It is not live on the internet, but you can create a complete website with it. Later on you can migrate that website to your live website.