How to Add Host in your local system?

Some time the website do not run particularly in our  Local System at that time we need to Add the host in our System to Add the host please follow the below steps:


1: In your Local system Run your Notepad++, you can download the Notepad++ from the link


2: Once you installed the Notepad++ Run it as the administrator and from file section open the directory  CDrive:\Windows\System32\Drivers\etc\hosts.

3: Once the host file opens you just need to Add two host in your  Default host file as below:

server IP    domainname

server IP    www.domainname


4: Once its done just click on SAVE. Once its Saved your website will run fine.

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Why my site show "This webpage is not available"?

If your site is showing "This webpage is not available" like above images then the reason is-...

Why i am getting "403 Forbidden" on my website?

If your site is showing Forbidden like above images then the reason is- Either you have not...


WHY MY ACCOUNT IS SUSPENDED : Account Suspended : This means your account has been suspended due...

503 Error

503 error because of bad coding or excessive resource usage. When your website resources (CPU,...

Why i am getting "This site can’t be reached"?

If your site is showing "This site can’t be reached" like above images then the reason is- Your...