To create a WiFi Hotspot in Windows 8 you need to perform some cmd commands in order to activate the hotspot and turn your computer into modem internet sharer. Here are the commands used in step by step:

 this is not my tutorial i found this in someones blog. I would like to thanks him:


  1. Search for CMD then click Run as Administrator to run the command prompt with administrator privileges
  2. Run the following commands one by one:
 netsh wlan set hostednetwork mode=allow ssid=zx3r1 key=password

 Note: Change zx3r1to the SSID (name) of your wifi and password to the key you want to use.


netsh wlan start hostednetwork

netsh wlan show hostednetwork

 
3. The last command with "show" parameter will show you if the network was created successfully or not, here's an example of what it outputs:

4. Done! You just created a WiFi hotspot, now search for it using your iPhone, iPad, Android device or another Computer equipped with a Wireless adapter.
Here you've set up hotspot but if you connect to it you'll see that it is limited.
///////////////////////
here is how to share internet over your hosted hotspot
  1. Goto Network and Sharing Center
  2. goto Change Adapter Setting
  3. now you'll see "Local Area Connection* 4" or may other with your ssid in my case its zx3r1
  4. now rightclick and open properties
  5. On Sharing tab check on "Allow other network users to connect through this computer's Internet connection"
  6. Select Appropriate Home networking connection
  7. From setting select Web Server(HTTP)
in my case I've Local Area Connection 2 Which has current internet connection

share this to your friends too :)
enjoy!