Using sharePoint Portal if you need that your hosted portal must be access by another name like
http:\\YourName
Following are steps to do this.
1- Go to run and write c:\WINDOWS\system32\drivers\etc and press enter
2- Open the file by name of hosts in notepad editor
3-Write below next line of localhost you computerIP and your desired name as per following given below image.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-GXXTepr8RqpDxMSwtUMg8p5Sfs89rImDpeVA-G_J-d3GWPr6CpqnSMY5JbvRAZgRGedcUfjQfNuGnR0AshWvZgTy7-WmAnfRu8C5lQ1LExe1GNpBtv1RGO4nIrtz5SxBUg4BmiQ4c1Q/s400/3.JPG)
4- Save file and close it.
5- Now restart your IIS
6- Now write in the browser as i am writing
tariqPortal.com as per given below image
7- Give your administrator password or password which have administrative rights
Finally your Portal will be infront of you.
Cheers.