How to edit hosts file in Windows? - HotUKDeals
We use cookie files to improve site functionality and personalisation. By continuing to use HotUKDeals, you accept our cookie and privacy policy.
Get the HotUKDeals app free at Google Play

Search Error

An error occurred when searching, please try again!

Login / Sign UpSubmit

How to edit hosts file in Windows?

£0.00 @
We have a group of web developers that need to be able to spoof websites on a regular basis. They need to be able to edit the local hosts file to add/remove/change entries at will. This is part of the… Read More
herbold Avatar
banned9m, 1w agoPosted 9 months, 1 week ago
We have a group of web developers that need to be able to spoof websites on a regular basis. They need to be able to edit the local hosts file to add/remove/change entries at will. This is part of their job.

Our sys-admins have recently grown a new hard-on about not allowing this (removed admin rights). Is there some way to continue to do this? Can some alternate hosts file be specified that they do have rights to edit?
herbold Avatar
banned9m, 1w agoPosted 9 months, 1 week ago
Options

All Responses

(8) Jump to unreadPost an answer
Responses/page:
#1
If they are developers they should be using virtual machines to simulate tests. So they don't break a production machine.
#2
If they are supposed to be doing it then the sysadmins would allow it, as previously said they should really be doing this on a VM.
#3
It would be possible to use an NTFS junction pointed to a host file they could edit, but it would require admin rights to implement the junction point in the first place.
#4
First rule of being a web developer: Know how to google!
#5
I really don't think anyone here is going to help you hack websites your not supposed too.
google: Computer Misuse Act.
#6
This question is all wrong. The web devs should be able to answer this question themselves, and it isn't the sys-admins who get to decide what a company's employees can do. If management says devs need access to Hosts, the admins need to allow it. Kinda makes me wonder what kind of people are being employed here.

Anyway, the alternative is to use a browser plugin like this one - https://addons.mozilla.org/en-Gb/firefox/addon/hostadmin/ . Again though, I'm not sure why the web devs couldn't just get that in the first place.
#7
There is no alternative for the hosts file. You could set up your own internal DNS server to redirect IP addresses - but you would need Admin privs to change network settings to use it and Admin privs to update it ...
#8
use note pad

Post an Answer

You don't need an account to leave a response. Just enter your email address. We'll keep it private.

...OR log in with your social account

...OR comment using your social account

Thanks for your comment! Keep it up!
We just need to have a quick look and it will be live soon.
The community is happy to hear your opinion! Keep contributing!