hosting websites are many methods using a window based webhost server ,vps etc.But before starting hosting part first of all you need a domain name thats means a identiy that store your data files and preivewing on the web server to access other .
1. buy domain name this is not very hard to get doman name simple find your domain on different domain registrar like godaddy,hostgater,namecheap etc. so simple go on thats sites and buy a domain name .
2.buy hosting buying hosting is very simple like a buy domain buy hosting also.if you don’t buy hosting you can make your own hosting server using many software solution in internet.these two tast is very easy then move to the next steps
3.how to add domain and hosting when you complete above two parts then you will adding your domain name into your server name how you can this is some points of hard then buying.simple go to your domain registrar or your domain panel go to dns management you got the word on bellow nameserver
4.open web hosting panel and getting name server on provide your email or your hosting pannel like nameserver.comor ns1.com anything simple copy the name server and paste into the dns management nameserver and save it ,this setting and publish some time fast or some time a day go so please pateients when do thats things
5.previewing after some time type your domain on your browser you can see some kind of window showing like comming soon so easily you can make your code using html or wordpress and paste the code in file public_html.then you can view and your website is live worldwide happy to enjoy .