Add an entry to Hosts file

Common Scenario
        Its pretty common to host a site in development or test environment and give access to business users to access it for their approval. 

Steps to accomplish this on Windows OS:
1) Open notepad in Administrator mode. The image below shows how to open notepad in administrator mode

    
2) Now open the following file from notepad "C:\Windows\System32\drivers\etc\hosts"
    
    
    

3) In the file which is open, enter the IP address of the server from which you will be accessing the site and <<Give a space>> then enter the site url. Note: you will not put http or https before the URL

   

4) Save the file and you should be able to access your site.



Comments