You need to purchase 2 things to make your website online
- Domain- Find a domain name for your website. This is called website address (www.yourwebsite.com).
- Webhost - This is referred as a server, and it act as a connection between internet and your website.
You can consider this as a space in internet
Both the above things will cost you. If you are creating a trial website, its better to share domain and server (using www.yoursite.com/newfolder) with someone.
Else move with purchasing it for very less amount.
- A domain can be purchased for one year costing around 3$ to 10$ (depends on .com, .org, .co etc)
- Purchasing a domain with an unregistered mail id will provide you with reduction from many of the domain providers.
- A web server will cost you 4$ to 6$ per month. You can purchase 1 year plan also.
- You will get trial servers for one month from many of the webhost providers.